I would like to add my personal view on this.

In Spite of all these settings i noticed that the notifications get delayed in Samsung devices with Android 12 or higher. This is because of the Doze feature which kicks in the moment, screen is off trying to optimise the battery consumption in a very aggressive manner.

There is a way to get around this simply, doesn’t need to be rooted.

Simply get in to the USB debugging mode and get adb connect to your device using the ip address on your network and disable the doze feature.

TaDa! the notifications are now live and instant.

I have my battery optimisation “On” and battery power saver “On” but for the specific apps, i turned the battery usage to unrestricted. As the doze is disabled, these app will be able to send the notifications instantly.

Imagine missing the stock price alerts when i am actively trading… or a bank debit notification which can be helpful.. I believe some apps needs to be online always. rest can be managed by battery optimisation.