• Hi Guest, Please subscribe to our YouTube channel for fresh new videos each week.

Delayed Notifications - Android

ardsar

New Member
Messages
19
Points
3
Thread starter #1
Hi,

I have tried using both hik-connect and ivms-4500 on several android devices all running android 9. Notifications work well until the phone has been turned off for 1 minute, and then notifications get delayed due to android doze feature. Setting the apps to not optimize battery does not make a difference. Also keeping the app running in background also does not make any difference. The only way i can get this to work effectively is to disable doze mode completely using adb.

Has anyone been able to get instant notifications on android when the phone has been idle? You have probably noticed these delays also in apps like gmail?

looking further into this, it is definitely caused by android doze and the fact that hikvision are not sending the notifications as high priority. Details for those interested can be found here Optimize for Doze and App Standby | Android Developers

By using high priority notifications, these bypass doze and instantly wake the phone. That is why apps such as messenger, facebook and whatsapp do not suffer from delays....

Does anyone have any workarounds. Can we not request hikvision to look into this?

Thanks

Andy.
 

Phil

Administrator
Staff member
Messages
2,597
Points
63
#2
AFAIK you're the first to raise this issue.
I'm afraid I don't have any solutions right now.
 
Last edited:

fullboogie

Member
Messages
93
Points
8
#3
I had to set my S9 power scheme to "high performance" - e.g. no power optimization - to get Hik Connect to give timely notifications. Honestly, that power scheme has virtually no impact on battery life so I'm fine using it.
 

ardsar

New Member
Messages
19
Points
3
Thread starter #4
Thanks, but the issue is also on the pixel xl2 and oneplus pro7 which do not have those options. I've disabled doze mode via adb and monitoring the change in standby drain with accubattery app.

Really think googles implementation of doze delaying notifications is not good. Hikvision need to change the priority of the notification or use firebase cloud messaging.
 
Top