How to calculate the charging current of batteries in series