HOW TO CALCULATE THE BATTERY CAPACITY FOR AN OFF