HOW BATTERY CHARGING AND DISCHARGING WORKS