HOW TO CALCULATE THE TIME OF CHARGING AND DISCHARGING OF BATTERY