Hello, I’d like to describe an issue I’ve been experiencing in detail.
For quite some time now, I’ve had the exact same problem on two different devices:
Xiaomi Redmi Note 13 Pro
Google Pixel 10 Pro
So I’m confident this is not vendor-specific.
I’m using Home Assistant Cloud (Nabu Casa) for notifications, with a stable connection and unlimited mobile data, so there are no network or connectivity constraints involved.
- Notification setup
I’m using dedicated notification channels (currently 3), all configured with maximum priority and importance. Under normal conditions, everything works perfectly.
Example configuration:
channel: alarma_seguridad_2
importance: max
priority: high
ttl: 0
category: msg
visibility: public
push:
interruption-level: critical
tag: alarma_activada
alert_once: true
vibrationPattern:
- 0
- 700
- 300
- 700
actions: - action: DESARMAR_ALARMA
title: Disarm
destructive: true - action: TODO_SEGURO
title: All secure
- Initial behavior (works correctly)
Notifications are delivered instantly, even with the phone locked (e.g., when leaving home). Everything behaves as expected.
- The problem (appears over time)
After approximately one month, the issue starts:
Notifications are no longer delivered in real time
They are only received when unlocking the phone
Same exact behavior on both Xiaomi and Pixel devices
At this point, I’ve ruled out:
Network issues
Home Assistant configuration problems
Everything strongly points to Android Doze / aggressive battery management.
- Troubleshooting steps already tried
I’ve tested extensively:
Battery set to unrestricted
Background activity fully allowed
App added to battery optimization whitelist
Ignoring Do Not Disturb restrictions
Adaptive battery disabled
Constant mobile data connection (unlimited data)
None of these solved the issue.
The only thing that actually works is:
adb shell dumpsys deviceidle disable
However:
It must be reapplied after every reboot
It significantly increases battery consumption
- Limitations / constraints
I would prefer not to switch to Telegram or similar solutions because:
I lose actionable notifications (one-tap actions)
I lose tight integration with Home Assistant
Overall UX becomes worse
- Observation / question
It seems messaging apps (like WhatsApp) are treated differently by the system and maintain reliable delivery.
Is there any plan or possibility for Home Assistant notifications to gain similar priority at the OS level?
For example:
Android allows marking conversations as priority
But this does not apply to apps like Home Assistant
- Google support
I already contacted Google support, but unfortunately the response was not helpful and did not lead to any solution.
- Current situation
Right now I’m stuck between:
Keeping Doze → losing reliable notifications
Disabling Doze → significantly worse battery life
Neither is acceptable for a security-related setup.
- Final question
Has anyone else experienced this issue?
Is there any known workaround, or any future improvement planned (either on Android or Home Assistant side) to address this?