an electronic device is plugged in to the charger and charging it with a cord