What are the methods for measuring the voltage of lithium battery packs