Software for measuring the charging current of energy storage batteries