an electronic device that is connected to a battery