From 33aae3167d944e96beb6d4df5246438d9ecb74b1 Mon Sep 17 00:00:00 2001 From: Adarsh Fernando Date: Tue, 26 Jul 2016 12:27:37 -0700 Subject: [PATCH] Docs: Clarified certain restrictions to whitelisted apps Bug:30133512 Change-Id: I4494f85090b384831bc2534cbc813f28a62a29cf --- .../monitoring-device-state/doze-standby.jd | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/docs/html/training/monitoring-device-state/doze-standby.jd b/docs/html/training/monitoring-device-state/doze-standby.jd index 9250288a7dd4f..7caef402e431a 100644 --- a/docs/html/training/monitoring-device-state/doze-standby.jd +++ b/docs/html/training/monitoring-device-state/doze-standby.jd @@ -306,25 +306,22 @@ Standby

- An app that is whitelisted can use the network and hold - - - partial wake locks during Doze and - App Standby. However, other restrictions still apply to the - whitelisted app, just as they do to other apps. For example, the whitelisted - app’s jobs and syncs are deferred, and its regular {@link android.app.AlarmManager} alarms do not - fire. An app can check whether it is currently on the exemption whitelist by - calling {@link + An app that is whitelisted can use the network and hold partial + wake locks during Doze and App Standby. However, other + restrictions still apply to the whitelisted app, just as they do to + other apps. For example, the whitelisted app’s jobs and syncs are deferred + (on API level 23 and below), and its regular {@link android.app.AlarmManager} + alarms do not fire. An app can check whether it is currently on the exemption + whitelist by calling {@link android.os.PowerManager#isIgnoringBatteryOptimizations(java.lang.String) isIgnoringBatteryOptimizations()}. -

Users can manually configure the whitelist in Settings > Battery > Battery Optimization. Alternatively, the system provides ways for apps to ask users to whitelist them. -