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.

Kara karantawa

Tsokaci

Babu tsokaci

Kundin bayanai na ayyuka da kayan aikin Musulunci. Muna ba da zaɓuɓɓuka iri-iri, rarrabuwa masu yawa, da bitocin al'umma da ke taimaka maka ka zaɓi wanda ya fi dacewa da buƙatunka.

Bincika

Muhimman hanyoyi

Manufofinmu

  • Mayar da na'urori su zama kayan aikin alheri da amfani ga al'ummar Musulmi.
  • Sauƙaƙa gano ayyukan Musulunci masu amfani.
  • Ba wa masu haɓaka Musulmi damar gano sababbin ayyuka da ƙarfafa haɗin gwiwa a tsakaninsu.
An haɓaka ta Nuqayah logo
Da tallafin Ayatt Foundation logo
Nema
Search for a command to run