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:
- Disable battery optimization for the app
Settings → Battery → Battery optimization → choose the app → “Don’t optimize”. - Allow background activity Settings → Apps → (app) → Battery → “Allow background activity”.
- Ensure notifications are allowed
Not muted, not restricted. - Lock the app in Recents (if available)
- 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.