Battery optimizations that kill apps
7

Battery optimizations that kill apps

Why notifications get delayed — and how to fix aggressive Android battery killers (DontKillMyApp).

The problem

Some phones — especially with heavy OEM Android skins — apply aggressive “battery optimizations” that kill background apps. This can cause:

  • Missed or delayed athan/prayer notifications.

  • Widgets or daily reminders stopping.

  • Background sync failures.

This does not always mean the app is bad — the OS may be blocking it.

What’s happening

Android has features like Doze and App Standby to save power. Some manufacturers add extra layers that force-stop apps more aggressively, even when apps legitimately need background execution (adhan apps, reminders, etc.).

Practical fixes (Android)

For apps that must notify on time:

  1. Disable battery optimization for the app
    Settings → Battery → Battery optimization → choose the app → “Don’t optimize”.

  2. Allow background activity Settings → Apps → (app) → Battery → “Allow background activity”.

  3. Ensure notifications are allowed
    Not muted, not restricted.

  4. Lock the app in Recents (if available)

  5. Enable Auto-start (if available)
    Common on Xiaomi/Huawei/Oppo/Vivo and others.

Useful reference

DontKillMyApp is a well-known resource that documents device-specific steps to prevent background killing.

iOS note

iOS is usually more consistent for notifications, but Low Power Mode, Focus modes, or notification settings can still block alerts.

阅读更多

评论

0 条评论
搜索
Search for a command to run