How to measure lithium-ion battery pack with ammeter