FIXED: discharging/charging time equals to 0:00 + code improvements