QuietHours cleanup.  Remove duplicate code

See original code here: https://github.com/RasSaber/platform_frameworks_base/blob/71fd93f91b709c82d569492ef0b6778ae7d158aa/services/java/com/android/server/BatteryService.java#L693