HOW IS THE BATTERY DISCHARGE RATE CALCULATED