CHARGING OF BATTERY AND DISCHARGING OF BATTERY