CALCULATE UPS BATTERY BACKUP TIME TO PREPARE FOR POWER FAILURE