Battery charging and discharging current relationship