Android notifications queued while phone off play one after another

I have a series of notifications that I find useful, however one problem i’ve run into is the high importance notifications I need to receive even if the phone screen has been off, queue up when the battery has died.

This is a problem, because if my phone dies at night for example, When I turn it on an hour after my alarm routine I have to hear “It’s time to wake up” over an over again.

Ho exactly does the values “importance: high” and “ttl: 0” tell firebase to push the notification to the phone while it’s been in deep sleep but not dead? can I set “importance: high” and “ttl: 600” so that it will deliver to a sleeping phone, but if the message hasn’t been received for 600 seconds it will expire?

this page will help answer the question when using Google for notifications.

https://firebase.google.com/docs/cloud-messaging/concept-options#lifetime