Measured charging current of lithium battery