how to calculate watt hours of lithium battery