Android notifications delayed/not received on Ulefone Armor 27 Pro when Home Assistant app is in background

I have a Ulefone Armor 27 Pro running Android.
Home Assistant Companion app is installed and registered correctly.
Notifications work immediately when the app is open.
When the app is closed and the phone screen is locked, notifications stop arriving.
After opening Home Assistant again, the connection works.

Checked:

  • Notifications enabled
  • Background activity allowed
  • Battery optimization disabled
  • App registered correctly in Home Assistant
  • Persistent connection notification enabled

It looks like Android/Ulefone is suspending the Companion connection in the background.
Has anyone solved this on Ulefone Armor devices?

Welcome to the forums!

Have a read at the links here & the post I replied to. You need to set ttl & priority & use the notify.mobile_app action