Battery charging current conversion method formula