Notification broken on android?

Hi,
I’ve an automation that send a priority notification to my android device HA companion app when the lights are still on after everybody leaves the house. The problem is that the notification actually arrives only when I check the phone but not when it Is in standby. I checked the app settings and it’s not restricted in any way in battery optimization (location works well in background also for HA) but still this behavior happen. I’ve a pixel 8a phone. Someone has experience with this kind of problem?

Thanks in advance

To get a better/more detailed answer you might want to share the YAML code of the notification action.

Have you tried using critical notifications ?
Here is an example (Android & iOS):

action: "{{ repeat.item }}"
data:
  title: "{{ title }}"
  message: "{{ message }}"
  data:
    importance: high
    priority: high
    push:
      interruption-level: critical