CHARGING AND DISCHARGING OF LITHIUM ION BATTERY