Calculate the maximum battery charging current