What is the method to measure the total current of the battery