electricity
The charger ideally would stop charging if it finds infinite resistance between its + and - outlet voltage ( as it is when plugged in the outlet but not the mobile),but it will waste some energy heating the battery because the battery will not have infinite resistance, and it will waste some energy in the transformer circuit heating the charger