Charging current of batteries of various capacities