Update README.md

This commit is contained in:
Max Bassett 2016-08-09 11:20:32 -04:00 committed by GitHub
parent 2790ab3478
commit afe43155f4

View File

@ -61,7 +61,7 @@ By default, the plugin will automatically release a wakelock when your app is pa
### [Android Only, API >= 23] window.powerManagement.isDeviceIdleMode(successCallback, failureCallback) ### [Android Only, API >= 23] window.powerManagement.isDeviceIdleMode(successCallback, failureCallback)
As of Android 6.0.0+, Android now has an extra power management feature called 'Doze'. This feature disables most device As of Android 6.0.0+, Android now has an extra power management feature called 'Doze'. This feature disables most device
components when it is asleep for too long, and is then placed in an 'idle' state. To check to see if the device is in this components when it is asleep for an extended period of time and is then placed in an 'idle' state. To check to see if the device is in this
state, you can use the following function: state, you can use the following function:
// 'state' is either 1 (in idle) or 0 (not in idle) // 'state' is either 1 (in idle) or 0 (not in idle)