an electronic device connected to a charger