How to Whitelist Apps from Battery Optimization on Android (No Root)

10 min read Step‑by‑step guide to exempt apps from Android's battery‑optimization so they stay alive in the background without rooting your device. October 12, 2026 19:30 How to Whitelist Apps from Battery Optimization on Android (No Root)

Many Android users notice that a favorite messaging, fitness, or automation app suddenly stops sending notifications or performing background tasks. The usual culprit is Battery Optimization – Android’s power‑saving service that puts idle apps into a deep‑sleep state. While the feature is great for extending battery life, it can also be over‑zealous, especially on devices with aggressive OEM customisations.

Before you start

Make sure your phone is at least 50 % charged, or keep it plugged in during the procedure. The steps involve navigating system menus; a stable Wi‑Fi connection isn’t required but helps if you need to look up a specific app’s package name.

Why whitelisting matters

Android’s Doze and App Standby mechanisms restrict background network access, CPU wake‑locks, and alarm triggers for apps that haven’t been used recently. When an app is whitelisted (or exempted) from this optimisation, the system treats it as a foreground‑priority service, allowing it to:

  • Receive push notifications instantly.
  • Run periodic syncs (e.g., weather updates, email fetch).
  • Maintain a persistent Bluetooth or Wi‑Fi connection.

Whitelisting is safe as long as you understand that the exempted app will consume more power. Use it only for apps that truly need background execution.

General steps for stock Android (Pixel, Android One, etc.)

  1. Open Settings → Apps & notifications → Advanced → Special app access.
  2. Select Battery optimization. You’ll see a list that defaults to “Optimized apps”.
  3. Tap the drop‑down menu at the top (usually says “Not optimized”) and choose All apps so the full list appears.
  4. Scroll to the app you want to exempt, tap it, and choose Don’t optimize.
  5. Confirm the change if a dialog appears.

After these steps the app will no longer be subject to Doze or App Standby. You can verify by opening the app and checking that background sync works immediately.

Manufacturer‑specific variations

Many OEM skins hide the “Battery optimization” screen behind different menus. Below are the most common paths for popular brands. If you can’t find the exact wording, look for “Battery”, “Power management”, or “App launch” sections.

Samsung (One UI)

  1. Settings → Apps → tap the three‑dot menu → Special access.
  2. Choose Battery optimization → All apps from the drop‑down.
  3. Select the target app and set it to Don’t optimize.

Xiaomi (MIUI)

  1. Settings → Battery & performance → App battery saver.
  2. Find the app, tap it, and toggle Restrict app background activity off. This effectively whitelists the app.

MIUI also offers a separate “Battery saver” toggle in the quick‑settings panel; make sure it’s disabled for the app you’re testing.

OnePlus (OxygenOS)

  1. Settings → Battery → Battery optimisation.
  2. Switch the view to All apps, then choose Don’t optimise for the desired app.

Huawei / Honor (EMUI)

  1. Settings → Battery → App launch.
  2. Find the app and turn off the Manage automatically switch.
  3. Enable Auto‑start and Run in background for that app.

EMUI splits the optimisation into three separate toggles – enabling all three gives the same effect as “Don’t optimise”.

Using ADB for a quick, temporary whitelist (no UI navigation)

If you have a computer nearby, you can use the Android Debug Bridge (ADB) to add an app to the whitelist without opening any menus. This method works on any device that accepts ADB commands (most Android 6+ phones). The exemption lasts until the device is rebooted or the user manually changes the setting again.

  1. Enable Developer options (Settings → About phone → tap Build number seven times).
  2. In Developer options, turn on USB debugging.
  3. Connect the phone to your PC via USB and open a terminal/command prompt.
  4. Run adb devices to verify the connection.
  5. Find the package name of the app (e.g., com.whatsapp). You can list all packages with adb shell pm list packages or look it up online.
  6. Execute the whitelist command:
    adb shell dumpsys deviceidle whitelist +com.example.app
  7. To confirm, run:
    adb shell dumpsys deviceidle whitelist
    The app’s package name should appear in the list.

This method is handy for developers testing background services, but remember the exemption disappears after a reboot.

Common pitfalls and how to troubleshoot them

  • App still not receiving notifications: Verify that the app’s own notification settings are enabled (Settings → Apps → App → Notifications). Some apps have an internal “Battery” toggle that must also be turned on.
  • Battery optimisation re‑enables after a system update: OEMs sometimes reset special‑access lists when a major OS update is applied. Re‑apply the whitelist after updating, or use the ADB method for a quick fix.
  • Device still enters Doze mode and kills the app: On Android 9+ there is an additional “Battery saver” toggle that can override individual exemptions. Disable the global Battery saver (Settings → Battery → Battery saver) while testing.
  • App uses too much power after whitelisting: Open the battery usage screen (Settings → Battery → Battery usage) and check the app’s consumption. If it’s excessive, consider disabling the whitelist and using alternative solutions like push notifications via Firebase Cloud Messaging.

When NOT to whitelist

Whitelisting every app defeats the purpose of Android’s power‑management. Reserve exemptions for apps that truly need background execution, such as:

  • Messaging or VoIP apps (WhatsApp, Signal, Telegram).
  • Fitness trackers that sync data continuously.
  • Home‑automation controllers that listen for local network events.

For occasional background tasks, use Android’s WorkManager API or schedule exact alarms instead of a permanent exemption.

Summary checklist

  1. Identify the app that needs background access.
  2. Choose the method that matches your device:
    • Stock Android – Settings → Apps → Special app access → Battery optimization.
    • Samsung – Settings → Apps → Special access → Battery optimization.
    • Xiaomi – Settings → Battery & performance → App battery saver.
    • OnePlus – Settings → Battery → Battery optimisation.
    • Huawei – Settings → Battery → App launch → disable auto‑manage.
  3. If you prefer a quick, temporary change, use the ADB whitelist command.
  4. Test the app’s background behaviour (e.g., send a test message, wait for a sync).
  5. Monitor battery impact and revert the exemption if the app becomes a drain.

By following these steps you’ll keep the apps you rely on running smoothly while still preserving the overall battery health of your Android device.

User Comments (0)

Add Comment
We'll never share your email with anyone else.