Configure Battery Optimization for Each Android App
9 min read
Learn step‑by‑step how to manage Android’s battery optimization settings for each app, improve performance, and extend battery life.
September 25, 2026 01:30
Why Battery Optimization Matters
Android’s built‑in battery‑optimization feature (also known as Doze mode) puts apps into a low‑power state when they are not actively in use. This helps extend overall device runtime, but it can also interfere with apps that need to run in the background—such as messaging, fitness trackers, or music players. Understanding when to let Android manage power and when to make an exception is key to balancing battery life with functionality.
When to Adjust Optimization Settings
- Missed notifications: If you notice delayed or missing push notifications, the app may be sleeping.
- Background sync failures: Apps that sync data (e.g., email, cloud backup) may not update if they’re restricted.
- Fitness or health trackers: Continuous sensor access often requires the app to stay awake.
- Music or podcast playback: Some players stop playback when the screen turns off.
Conversely, keeping every app exempt from optimization can drain the battery quickly. Use the whitelist sparingly.
Finding the Battery Optimization Menu
The exact navigation differs slightly between Android versions, but the core steps remain the same. Below are the paths for Android 10, 11, 12, and 13.
Android 10 (Q) and Android 11 (R)
- Open Settings.
- Tap Battery.
- Select Battery optimization (you may need to tap the three‑dot menu ► Advanced battery settings first).
- By default, you’ll see a list of apps that are “Not optimized.” Tap the drop‑down at the top and choose All apps to view every installed program.
Android 12 (S) and Android 13 (T)
- Open Settings.
- Tap Battery & device care (or simply Battery on some skins).
- Choose Battery usage → Battery optimization.
- Switch the filter to All apps to see the full list.
Step‑by‑Step: Whitelisting an App
Once you have the full list, follow these steps to exempt a specific app from Doze mode.
- Locate the app you want to modify.
- Tap the app name; a dialog will appear with two options:
- Optimize battery usage – the default, which lets Android manage power.
- Don’t optimize – disables Doze for that app.
- Select Don’t optimize and confirm.
- Close Settings. The app will now run without the background restrictions.
Repeat the process for any additional apps that need unrestricted background activity.
Re‑enabling Optimization (If You Change Your Mind)
If you start noticing a faster battery drain, you can easily revert the change:
- Return to the same Battery optimization screen.
- Find the app you previously exempted.
- Select Optimize battery usage.
The app will again be subject to Doze, helping preserve battery life.
Advanced Options: Using ADB for Bulk Changes
Power users sometimes need to modify optimization settings for many apps at once. Android Debug Bridge (ADB) provides a command‑line way to do this without tapping through each entry.
# List all packages with their current optimization status
adb shell dumpsys deviceidle whitelist
# Add an app to the whitelist (replace com.example.app with the package name)
adb shell cmd deviceidle whitelist +com.example.app
# Remove an app from the whitelist
adb shell cmd deviceidle whitelist -com.example.app
**Caution**: Using ADB requires developer options and USB debugging to be enabled. Incorrect commands can affect system behavior, so only use this method if you are comfortable with command‑line tools.
Potential Risks and Compatibility Issues
- Increased battery consumption: Each exempted app can keep the CPU, radio, or sensors active, reducing overall battery life.
- Heat generation: Background activity may cause the device to run hotter, especially on older hardware.
- Security considerations: Some security‑focused apps rely on Doze to limit data exposure when the device is idle. Whitelisting them could marginally increase attack surface.
- OEM customizations: Manufacturers sometimes add their own power‑saving layers (e.g., Samsung’s “Battery manager”). The steps above work for stock Android, but the menu names may vary on customized skins.
Tips for Efficient Battery Management
- Start with a clean slate: Only whitelist apps that you have verified truly need background access.
- Use adaptive battery: Android’s Adaptive Battery (found under Settings ► Battery ► Adaptive Battery) learns usage patterns and automatically limits rarely used apps.
- Check battery usage stats: Settings ► Battery ► Battery usage shows which apps consume the most power. If an app is a top consumer, consider whether it should stay whitelisted.
- Combine with Do Not Disturb: If you whitelist a messaging app for instant notifications, you can still silence sound alerts during night hours using Do Not Disturb.
- Review periodically: Every few weeks, revisit the whitelist to remove apps you no longer need to run constantly.
Common Troubleshooting Scenarios
| Problem | Possible Cause | Solution |
| Notifications still delayed after whitelisting |
App’s own internal battery‑saving mode |
Open the app’s internal settings and disable any “battery saver” toggle. |
| Battery drains rapidly after whitelisting multiple apps |
Too many background processes |
Remove non‑essential apps from the whitelist; enable Adaptive Battery. |
| Whitelist option greyed out or missing |
Device policy manager (e.g., corporate profile) restricts changes |
Contact your IT admin or remove the work profile if you have full control. |
Summary
Android’s battery‑optimization feature is a powerful tool for extending device runtime, but it isn’t a one‑size‑fits‑all solution. By selectively disabling Doze for apps that truly need uninterrupted background activity, you can enjoy reliable notifications, continuous sensor data, and smoother media playback without sacrificing the majority of your battery life. Remember to review your whitelist regularly, combine the changes with Adaptive Battery, and be mindful of the trade‑offs—especially on devices with limited battery capacity.
With the steps outlined above, you now have a clear, repeatable process for configuring battery optimization on Android 10 through 13, whether you prefer the graphical interface or the ADB command line. Happy optimizing!