How to check the internal resistance of lithium battery