Battery voltage and current when charging and discharging