Devices containing lithium metal or lithium ion batteries should be carried in carry-on baggage. Most other consumer devices containing batteries are allowed in carry-on and checked baggage.
For more information to portable electronic devices, see the FAA regulations.