From 33aae3167d944e96beb6d4df5246438d9ecb74b1 Mon Sep 17 00:00:00 2001
From: Adarsh Fernando
- 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. -