Doze issues

tnttrx

Senior Member
Nov 23, 2012
161
62
28
well, first of all, I must admit that owning OP3 is one great experience. hardware is great and software feels so complete, that I have almost no need to root and/or install custom ROM. that being said, I'm still running stock OOS 3.1.2, as I can wait for better RAM handling and changing color balance slider to right-most position worked good enough for me regarding color balance.

but, I have a little issue with Doze:
I regularly have missed notifications, and some of them should really be high-priority and go through even in Doze.

basic example would be Viber call coming in. I could understand that Viber message is not reported immediately, but call should wake up device for sure.
I have used couple of other devices with Marshmallow before (Samsung with CM13 and Moto G3 with stock ROM), and neither of them had any issues with missed Viber calls nor messages.

now I put my phone on a table once I enter the office, or I just leave it once I'm at home, and I can be sure I'll have couple of missed Viber calls when I pick it up couple of hours later. that's not meant to be like that!

I know that I can exclude Viber from "Battery optimization", but I would not like to let Viber be completely and always active - I need just high-prio notifications.
also, I did not have to make any manual exceptions on CM13 and Motorola.

so, anyone else experiencing similar missed important notifications?
how did you handle this issue?
will some of upcoming OOS updates (3.1.3 or 3.1.4) address this issue?

thx. ;)
 

dasacom

Senior Member
Jul 29, 2007
155
23
0
Hello together,
I have problems with this issue and would like to know if this problem is also in the cynogenMod roms (or other) "included"?
I am new to android after 6 years ios and so sorry for my question. I could not find the answer and the thread mentiond above is 33 pages....
so I have not read everything. but they know that there is an issue. But Samsung an other devices seem also to be affected

Thanks again.

Kind regards, Drazen
 

blassphemy

Member
Dec 11, 2013
40
5
28
well, first of all, I must admit that owning OP3 is one great experience. hardware is great and software feels so complete, that I have almost no need to root and/or install custom ROM. that being said, I'm still running stock OOS 3.1.2, as I can wait for better RAM handling and changing color balance slider to right-most position worked good enough for me regarding color balance.

but, I have a little issue with Doze:
I regularly have missed notifications, and some of them should really be high-priority and go through even in Doze.

basic example would be Viber call coming in. I could understand that Viber message is not reported immediately, but call should wake up device for sure.
I have used couple of other devices with Marshmallow before (Samsung with CM13 and Moto G3 with stock ROM), and neither of them had any issues with missed Viber calls nor messages.

now I put my phone on a table once I enter the office, or I just leave it once I'm at home, and I can be sure I'll have couple of missed Viber calls when I pick it up couple of hours later. that's not meant to be like that!

I know that I can exclude Viber from "Battery optimization", but I would not like to let Viber be completely and always active - I need just high-prio notifications.
also, I did not have to make any manual exceptions on CM13 and Motorola.

so, anyone else experiencing similar missed important notifications?
how did you handle this issue?
will some of upcoming OOS updates (3.1.3 or 3.1.4) address this issue?

thx. ;)
I just installed OxygenOS 3.2.0.
It says in the description "Fixes some notification issues" and it seems to work now properly (at least for WhatsApp).
 

ptblad

Senior Member
Feb 11, 2014
85
50
38
On OOS 3.1.3 I was experiencing delayed gmail notifications. Tried to change battery settings to exclude gmail from dozing without any success.

But then I cleared data for gmail (settings > apps > gmail > storage > clear data), forcing it to setup from scratch. And voilá, since then I am always getting my gmail notifications on time!

Just upgraded to OOS 3.2.0 and my gmail notifications still work as expected. I don't use Viber or WhatsApp, so I can't tell if clearing data would do the trick for them too.
 

tnttrx

Senior Member
Nov 23, 2012
161
62
28
when you cleared data for gmail and it started working correctly, did you leave it excluded from "battery optimization", or it worked anyways?
 

ptblad

Senior Member
Feb 11, 2014
85
50
38
when you cleared data for gmail and it started working correctly, did you leave it excluded from "battery optimization", or it worked anyways?
It is not excluded from battery optimization, i.e. it work like it should: gmail sleeps in doze, but notifications are not delayed!
 

ptblad

Senior Member
Feb 11, 2014
85
50
38
It is not excluded from battery optimization, i.e. it work like it should: gmail sleeps in doze, but notifications are not delayed!
Unfortunately my gmail notifs stopped. Let the phone lay still and flat on desk for a while and sent a mail from my desktop. No notification on phone until I turn on the screen. :crying:

Tried to clear data again, but this didn't help.
 

nispen

Senior Member
Dec 9, 2005
212
7
0
Amsterdam
Go to settings - battery. Tap the hamburger menu. Select battery optimization. Check if WhatsApp is mentioned in the list of NOT optimized apps. If it is not, add it together with any other app you wish to continue running during doze.



Sent from my Nexus 7 using XDA Premium HD app
 

vdundgren

New member
Jun 19, 2016
3
0
0
Unfortunately my gmail notifs stopped. Let the phone lay still and flat on desk for a while and sent a mail from my desktop. No notification on phone until I turn on the screen. :crying:

Tried to clear data again, but this didn't help.
well, the test needs to be done just as you said. maybe some people are testing without giving the phone enough screen-off time. I will try and see what happens, since I am facing this issue both pre and after last update
EDIT cant find the option to clear data in Settings / Apps / Gmail
 
Last edited:

lummujaj

Senior Member
Jun 21, 2011
686
184
0
It seems that Viber has some issues with Doze and GCM:
https://developer.android.com/training/monitoring-device-state/doze-standby.html#using_gcm

I am communicating with Viber about this issue via Service Ticket right now.
Unfortunately, they are still asking me to try this or that setting on my phone, and none of those settings are Doze-related.
I don't have issue with viber. Go to battery optimisation and remove viber from the list .

Sent from my ONEPLUS A3003 using XDA-Developers mobile app
 

Metrex

New member
Nov 9, 2007
2
0
0
Disable Doze

You can try to disable doze with the app called "Disable Doze" :good: in the Play Store, which prevents doze completely without root. I had problems with mail notifications which could not be solved by disabling battery optimizations. With the app it is solved now!