Battery optimizations that kill apps
412

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.

Soma zaidi

Maoni

Hakuna maoni

Mwongozo wa mradi na zana za Kiislamu. Tunatoa chaguo mbalimbali, makundi mbalimbali, na hakiki za jamii zinazokusaidia kuchagua kinachofaa zaidi na bora zaidi kwa mahitaji yako.

Chunguza

Viungo muhimu

Malengo yetu

  • Kufanya vifaa kuwa zana za kheri zenye manufaa kwa umma
  • Kurahisisha ugunduzi wa miradi ya Kiislamu yenye manufaa
  • Kuwawezesha wasanidi Waislamu kugundua miradi mipya na kuimarisha ushirikiano wao
Imetengenezwa na Nuqayah logo
Inaungwa mkono na Ayatt Foundation logo
Tafuta
Search for a command to run