Portable electronics on a plane
For flights departing the United States, identify whether the battery is installed, removable or absent. Then read its watt-hour (Wh) rating. A wall charger and a power bank may both charge a phone, but they belong to different baggage categories.
Battery installed in the device
An ordinary phone, computer or camera with a lithium-ion battery up to 100 Wh can travel in carry-on or checked baggage under FAA rules. FAA recommends carrying electronics in the cabin. If you check one, power it completely off and protect it from damage and accidental activation. Batteries above 100 through 160 Wh need airline approval; devices above 160 Wh are prohibited in passenger baggage. FAA: airline passengers and batteries.
Spare batteries and portable chargers
Keep spare lithium batteries, power banks and battery-powered charging cases in carry-on, with terminals protected from short circuit. An ordinary phone charger that plugs into the wall and has no battery can travel in either bag. If a carry-on bag is checked at the gate, remove the power bank and spare cells first. See batteries and portable power for the Wh limits and packing details.
Cords, consoles and projectors
An extension cord without a battery can travel in either bag. Check the power source of a portable projector, drone or game console rather than assuming the main unit and its accessories follow one rule. A separate battery base may need airline approval and must remain in the cabin as a spare battery. Measure larger devices against the airline's packed-size allowance.
Check an electronic mosquito racket for both its power source and its physical construction. The advice for an ordinary phone charger does not cover the whole item.
Active baggage trackers
IATA describes an exception for a low-energy Bluetooth baggage tracker to remain active in checked baggage when its lithium-metal cell has at most 0.3 g of lithium or its lithium-ion battery at most 2.7 Wh. A loose spare lithium battery still belongs in carry-on. Check the actual cell and the airline's policy for your tracker. IATA: lithium batteries and tracking devices.