kiruthikar
Thank you. You are right. But my question is "what will happen to the current flowing from the wall socket?"
Dear kiruthikar,
When the switch is turned off, where will the current flow? First, please understand the difference between current and voltage. When the switch is in off position, there will be no current, but there will be a voltage applied across the terminals of the switch. As you were speaking about energy,
Electrical energy=power *time=voltage*current*time. So, you need both voltage and current. When a switch is open(off), then there is no current flowing. This is the case when you are using a charger which is connected to a DC supply.
But in an AC supply, what we do is we step down the voltage to some 12V or 6V(as per requirements). So, we need a transformer. I hope you know the basics of the transformer. Now, there is a current flowing through the primary of the transformer which is due to the core losses of the transformer. That causes a small power wastage. As I know this, I remove the charger from my mobile whenever I hear the beep when it is fully charged.
Hope I have answered to your expectations.