How to calculate the power of the total potential of the battery