Stock Doze & Gmail - G3 Q&A, Help & Troubleshooting

I'm currently on stock MM vs985 and am curious to know a little more about how Doze is supposed to work by default. I get the concept, some apps will spam you with notifications and drain your battery in the process, so those are kind of put on hold while others are "priority" notifications and get delivered immediately. The user also has the option to give specific exclusions from Doze so the notifications will get delivered immediately as they have in the past. At least this is my understanding of things.
The reason I ask is because Gmail notifications aren't quite right. When I'm actively using my phone in the morning, they seem to come in normally and Doze doesn't seem to be active (which is expected). Then when I go to work Doze will kick in and I notice I don't get as many Gmail notifications, which is fine. However on breaks or over lunch, I actively use my phone again. At this point I would expect Doze to no longer be active and I would think the notifications that Doze delayed would start showing up (granted maybe after some delay, but at some point over an hour lunch break). Today after work I didn't have any Gmail notifications so I opened Gmail, it showed the most recent email as one from around 11:00, I swiped down to refresh, and suddenly five more emails showed up (11:38, 12:01, 1:01, 2:59, and 5:40). With that many emails at those different times, I would have thought notifications would have came in at some point without me manually refreshing my emails.
I realize I could exclude Gmail from Doze, but I don't really need the notifications immediately and I would like to get the battery saving benefits of Doze, I just don't get what it's doing or why. I would assume Doze would DELAY notifications until later so they can be processed as one group/batch, not STOP them completely. Is this correct, is there possibly a setting or something I should be looking at?

akksnv said:
I'm currently on stock MM vs985 and am curious to know a little more about how Doze is supposed to work by default. I get the concept, some apps will spam you with notifications and drain your battery in the process, so those are kind of put on hold while others are "priority" notifications and get delivered immediately. The user also has the option to give specific exclusions from Doze so the notifications will get delivered immediately as they have in the past. At least this is my understanding of things.
The reason I ask is because Gmail notifications aren't quite right. When I'm actively using my phone in the morning, they seem to come in normally and Doze doesn't seem to be active (which is expected). Then when I go to work Doze will kick in and I notice I don't get as many Gmail notifications, which is fine. However on breaks or over lunch, I actively use my phone again. At this point I would expect Doze to no longer be active and I would think the notifications that Doze delayed would start showing up (granted maybe after some delay, but at some point over an hour lunch break). Today after work I didn't have any Gmail notifications so I opened Gmail, it showed the most recent email as one from around 11:00, I swiped down to refresh, and suddenly five more emails showed up (11:38, 12:01, 1:01, 2:59, and 5:40). With that many emails at those different times, I would have thought notifications would have came in at some point without me manually refreshing my emails.
I realize I could exclude Gmail from Doze, but I don't really need the notifications immediately and I would like to get the battery saving benefits of Doze, I just don't get what it's doing or why. I would assume Doze would DELAY notifications until later so they can be processed as one group/batch, not STOP them completely. Is this correct, is there possibly a setting or something I should be looking at?
Click to expand...
Click to collapse
don't want to sound stupid but do you have greenify installed? Do you have sync turned on?

No greenify or any other non-stock battery saving apps, and yes sync is on. Lunch break and no notifications but I bet when I manually refresh in gmail later I'll have emails that should be coming in now :/

49 hours estimated time remaining for my battery, so it's definitely saving battery, but I'd kind of like notifications when I am using my phone :/

Break time at work, still no gmail notifications. One thing that I realized was that I did have a notification from Facebook just now. Does this indicate that either the Facebook notification has bypassed Doze (made itself priority) or gmail notifications specifically are being blocked by Doze?
Also, when I woke up this morning I did have gmail notifications waiting for me, so that means the normal sync process is capable of working correctly. I had my phone on the charger overnight, so Doze wouldn't have been active (which explains why the notification came through).

About 45 minutes ago I finally got gmail notifications for 6 new emails I got throughout the day. Not sure if it's relevant but this would have been about 10 minutes after I got home where I would have been back on wifi since this morning. I also noticed I have Facebook notifications, and the time on the notification is about two and a half hours ago, so I don't know why the gmail notifications wouldn't have came through at that time as well.

So with all of the knowledge and skills around here, no one has quite fully figured out the stock Doze functionality?
FWIW I don't seem to have this same issue on custom ROMs, at least not on Resurrection Remix.
Sent from my LG-VS985 using Tapatalk

Related

Issues with notifications, late or don't recieve

I have been using the phone for about a week, running the latest version. I have noticed a lot of times I am not receiving notifications properly or consistently. My phone is pretty notification busy, so I notice when I'm missing things.
I came from a Nexus 5 phone running Lollipop, so this is my first experience with Marshmallow. I have a feeling these notification issues are due to the new power saving / deep sleep features in 6.0.
Here are the issues I've noticed so far.
- Hangounts : received notification for hangout message (not sms), opened app and it said "received 10 minutes ago". Phone was in my pocket, hadn't looked at it for a few hours.
- Ebay : no outbid notification, was outbid overnight when my phone was not plugged in and left on my desk.
- Life360 : Was not showing up on the map for location tracking when checking from another device. I opened the app on my phone and it reconnected. This happens consistently.
- Sleep Cycle: Alarm does not go off if the phone is not plugged in to a power source. When I unlock the phone in the morning, the alarm starts ringing (even though it's late).
- BaconReader : No message notifications until I open the app, or late notifications (delayed over an hour).
- CSipSimple : SMS messages are not received when phone is left overnight (this is a IP phone with SMS messaging through an SIP provider, all data related).
Email seems consistently good, which is nice. Social media apps I haven't noticed an issue yet, but I'm not really busy using those.
I tried re-installing some apps. I've also tried setting the app notification settings under app settings such as "Treat as priority", "Allow peeking", and "Wake".
Any one else? Any recommendations?
I searched and found:
Email notifications and touch screen problems after Dec update.
Missing SMS Notifications
have you restored some of those apps from a backup of your old phone? if yes, consider a fresh install of those.
else, try turning off doze for those troublemakers, maybe restart your phone, and see what happens during an appropriate amount of time. do this by going to settings -> battery -> top right corner menu -> optimisation.
I did restore the apps from backup. Some that were causing issue I did uninstall and reinstall, configure form scratch, no help.
I'll try turning off battery optimization for some of the apps and see if that helps. Thanks for the tip.
Those are all side effects of Doze - in some cases (Sleep Cycle) it sounds like the it hasn't been updated to use the API23 AlarmManager calls that should work with Doze. Hangouts should have worked - I'd be surprised if its not using Google Cloud Messaging which is Doze exempt.
Exempting apps from battery optimisation doesn't fully exempt them from all Doze restrictions but it's worth a try as it might help. It does allow apps to keep network connectivity which is likely key for Life360, Ebay and CSipSimple.
I would contact the Devs of all the apps to alert them their app isn't working properly on Marshmallow
Exempting Sleep Cycle in the battery saver allowed the alarm to work when I didn't have it plugged into a charger. I'll email the developer.
I've added exemptions to the battery saver for all apps that I use where I would never want them to decide to go to sleep. Everything seems better now, I haven't noticed any missed notifications since.
I hope hangouts was a fluke, I would also agree it should work properly...

No notifications while on standby. Bluetooth constantly turns off. What gives?

I got my Pixel XL (unbranded) earlier this month, and as much as I wanted to love the phone, two consistent issues keep happening which are making me despise it.
The first issue is my phone refuses to retrieve Push notifications while it's on standby. I will get no notifications from any app until I physically wake my phone. As soon as I pick the phone up and turn on the screen, BAM, a billion notifications. This is true even for Google apps like gmail and hangouts. I have seen lots of threads on this subject dating back years for various devices, and none of the 'solutions' fixes my situation. Battery Optimization isn't on, and even when I toggle it on and exempt all my apps, it still does it. IPv6 is disabled at my home network level. I disabled the Connectivity service. I enabled notification importances and set all apps to high. I turned off WiFi while on standby. I begrudgingly did a full reset. Nothing has worked.
The second issue is related to bluetooth. I cannot get it to stay on. It turns itself off whenever it feels like, so whenever I get into my truck and expect my GPM to start playing, all I get is "The bluetooth stereo device is not connected." I take pride in my attentive driving, which means if I forget to reconnect everything while still in my driveway, I now have to pull over just to get some tunes playing. Getting infuriating...
So, I'm at my last nerve. I turn to the Gods of XDA for your advice before I return this thing. Is there any fix to all this? I'm not opposed to rooting or using custom images. I just want my phone to work.
Thanks in advance for any info you can provide.
Google is aware if the Bluetooth issue, the Feb update caused it. They are working on a fix.
I got nothing on the notifications. Gmail doing that is quite common and goes beyond the Pixel. Never heard of anyone having issues with other apps.
You running any doze programs or task killers?
TonikJDK said:
Google is aware if the Bluetooth issue, the Feb update caused it. They are working on a fix.
I got nothing on the notifications. Gmail doing that is quite common and goes beyond the Pixel. Never heard of anyone having issues with other apps.
You running any doze programs or task killers?
Click to expand...
Click to collapse
It wasn't the Feb update. Bluetooth got bugged in the 7.1.1 update for me personally.
TonikJDK said:
Google is aware if the Bluetooth issue, the Feb update caused it. They are working on a fix.
I got nothing on the notifications. Gmail doing that is quite common and goes beyond the Pixel. Never heard of anyone having issues with other apps.
You running any doze programs or task killers?
Click to expand...
Click to collapse
No, the phone is pretty much stock. I have Skype and a couple games on it, but nothing that would interfere with network connectivity while on standby. Just to be sure, Doze is Battery Optimization in the settings, right? It's default to off, but after experiencing issues, I turned it on and exempted all apps. Didn't work, so I turned it off again.
I've never had this issue with GMail. The latest I have ever been notified of a new email from gmail is about 5 mins. Now, I go hours without them up until I wake my phone. And again, this is for all apps that have actual push notifications. I'll pick up my phone, then get a slew of new emails, skype messages, hangouts, etc...

delayed notifications on Pixel 3 XL

Got my pixel a few days ago. Not receiving notifications in time drives me nuts. So usually gmail notifications appear on screen as soon as I unlock and wait or after about 15-30 minutes after I received an email. Sometimes longer for whatsapp No battery saver, no adaptive battery, optimizations are off for gmail. Also tried all permutations of those settings. Tried factory reset and Q up and downgrade. Nothing seems to work. Happens on wifi and cellular. Devices isn't rooted.
ryzion said:
Got my pixel a few days ago. Not receiving notifications in time drives me nuts. So usually gmail notifications appear on screen as soon as I unlock and wait or after about 15-30 minutes after I received an email. Sometimes longer for whatsapp No battery saver, no adaptive battery, optimizations are off for gmail. Also tried all permutations of those settings. Tried factory reset and Q up and downgrade. Nothing seems to work. Happens on wifi and cellular. Devices isn't rooted.
Click to expand...
Click to collapse
Since you are fairly new here in terms of posts, why not update your profile with at least your location and carrier. We don't need your exact GPS coordinates, but knowing what city/country you live in and which carrier you are using can be very helpful in diagnosing your problem. Others in your area may also chime in with their experiences if they see you are close by. If you are on an MVNO, then state exactly which one. To start with, how many APN's do you have for your carrier and have you tested any other than the default? Verify your APN settings with your carrier's web site, and fill in any that are blank or wrong. Was your SIM from your last phone, or did you get a new SIM from your carrier provisioned for your Pixel? You should not have to tweak your phone at all for the issues you are describing. Just some thoughts. Cheers.
ryzion said:
Got my pixel a few days ago. Not receiving notifications in time drives me nuts. So usually gmail notifications appear on screen as soon as I unlock and wait or after about 15-30 minutes after I received an email. Sometimes longer for whatsapp No battery saver, no adaptive battery, optimizations are off for gmail. Also tried all permutations of those settings. Tried factory reset and Q up and downgrade. Nothing seems to work. Happens on wifi and cellular. Devices isn't rooted.
Click to expand...
Click to collapse
I have the same issues. I just ordered mine from Google, unlocked.
Sim from Sprint, updated PRL. Doesn't matter.
Sometimes I don't get notifications from my "battery charged" app.
It is frustrating. I don't know the fix, and I haven't mentioned it here either.
What seems to work so far is disabling deep/light idle via adb:
$ adb shell dumpsys deviceidle disable
Deep idle mode disabled
Light idle mode disabled
Click to expand...
Click to collapse
This will be lost on reboot
scrap that, it's not working either way. Don't know what to do, it's unusable that way. Kinda need fast notifications for business
I have the same problem, but, only with certain apps. I'm on Verizon in St Louis, USA. I'm currently on Q beta, but, this happened on Pie at least since the start of this year.
Messages does this the worst. I'll get the message on the web app sometimes a couple minutes before it pops up on my phone. A REALLY funny one, when connected to my SUV via Bluetooth, a message will popup on its screen several seconds, sometimes more before it does on my phone. So, to me it seems like the phone is getting them right away, but doesn't send the notification immediately?
Now, Outlook on my phone I get them before they show on my work computer. So, thankfully I'm not getting delayed work emails, that could be bad considering I'm a sys admin.
I've noticed with some others, like Facebook or whatever, that if I wake up my phone, unlock it, or another notification comes in, all of a sudden I'll get some for those if there are any. In checking FB it's definitely a late notification.
I just turned off adaptive battery yesterday for other reasons, that hasn't helped. I wonder if it's one of the battery settings though that are somehow affecting it. Like the optimization for example. I don't know. It's REALLY annoying though. This plus the Bluetooth problems that Google can't seem to fix (but no other phone that I know about has these problems), I'm really starting to get pushed away here. If it weren't for day one updates, the camera, and things like that, I'd consider jumping ship...
If anyone figures this out, let me know! I'll keep digging too.
disable adaptive battery + exempt apps from battery optimization
virtyx said:
disable adaptive battery + exempt apps from battery optimization
Click to expand...
Click to collapse
Yeah... that was the first thing I've tried. Haven't found any solution still. Basically gmail notifications don't work. Old mails will stay as unread for half-an hour and vice versa. Pretty useless
ryzion said:
Yeah... that was the first thing I've tried. Haven't found any solution still. Basically gmail notifications don't work. Old mails will stay as unread for half-an hour and vice versa. Pretty useless
Click to expand...
Click to collapse
I noticed this for the first week after a clean flash then went back to normal
Might have something to do with the new battery management
So, I've been paying more attention to this, and, I've noticed something. Every time a notification doesn't come through, even though it pops up on my watch or my car, the tap to wake doesn't work. I wonder if the screen just isn't waking up for some reason? I'm not sure how that's controlled, so I don't know how one would fix it though.
Just wondering if anyone has figured this out. It is beyond ridiculous to have to wake up my phone in order for for a notification to come though. I am noticing this mostly with Gvoice and Gmail. My most frequently used and important apps. Connected to wifi 99% of the time as coverage is terrible in my area. All battery optimization is turned off. Also, it is intermittent. Most times things come through fine. For example. I woke up in the middle of the night and looked at my phone and I Gvoice message went off as soon as I woke it up. In this case the message was coincidentally sent right then, but that is the same behavior I have been experiencing when a message is delayed. Phone and watch are quiet, wake phone, suddenly my watch and phone go off with one or more notifications from one or more apps.
The one thing I have noticed is that push notifications get effed up for certain apps and I have to turn off app notifications, fully close app/clear cache, re-enable notifications and turn the app back on/reboot.

Apps not updating when phone not in use...

Has anyone else noticed this? I've noticed it with the Gmail and Youtube apps specifically but it could be happening on other things and I've just not noticed. If I have emails and delete read them on my desktop then the notification doesn't clear on my phone and notifications for YouTube subscriptions appear when I unlock my phone. I don't think it's happening 100% of the time, I have watched email notifications clearing when I clear the emails on my desktop but it's happening enough for me to notice and make this thread. Power mode is on high performance, pretty sure it's all set the same as my Note 9 was, so is this another niggle that an update is going to sort?
Battery optimization settings?
That was my initial thought but it's configured the same as my Note 9 was and I didn't have any issues with that.
Something not quite right here. I woke up to no notifications for Gmail so I've disabled adaptive battery for it and it's still hit and miss with notifications.
No one else at all getting these issues?
SteveyJack said:
Something not quite right here. I woke up to no notifications for Gmail so I've disabled adaptive battery for it and it's still hit and miss with notifications.
No one else at all getting these issues?
Click to expand...
Click to collapse
Mine was doing something similar and the battery optimisation setting was turned off so I delved into gmail settings and found that all of the labels that I need notifications for had been set to No Notification [emoji15][emoji848] so I turned the notifications back on for the labels and it works just fine now [emoji6]
Sent from my SM-T820 using Tapatalk
SteveyJack said:
Something not quite right here. I woke up to no notifications for Gmail so I've disabled adaptive battery for it and it's still hit and miss with notifications.
No one else at all getting these issues?
Click to expand...
Click to collapse
Yes, I do experience the same issues. I've checked the notification settings and battery optimizing settings multiple times. It is exactly the same as my Note 8. My Note 8 displays the notifications directly while my Note 10 doesn't.
At least it looks like it's a Note 10 issue then.
Yes I seem to be experiencing the same issue. Thought it was odd I didn't have any gmail notifications and went into the app and all the emails came in.
I can feel my sanity returning. I even did a full wipe yesterday and set it up fresh instead of the smart switch I did originally and it's still doing it.
I swear it's getting worse which makes absolutely no sense at all. Before it just occasional times but now I'm having to go into the app every time to find emails.
Talking to myself now but...
I had the Samsung Galaxy Tab S6 arrive today, they're sat on my desk side by side, the Tab is getting Gmail alerts and my Note 10+ isn't.
Have y'all looked at Don"t kill my app - Samsung?
I tried turning battery optimisation off for it and it didn't seem to make a difference.
Same issue here with Gmail notifications. Checked all the options. It was working before the security update though I'm not sure if there's correlation.
Same here with Gmail.
Same issue.
I don't get push notifications with gmail app as well.
Seems like the culprit is the Note 10 in this situation.
However try another email app and see if the problem exists.
Randomly started working yesterday perfectly and then stopped again.
Same issue. No Gmail notifications. App only refreshes when I open it.
Same issue. Turning off battery optimization does not help. Only seems to be happening with gmail for some reason.

Notifications Issues

I know this will be almost impossible to solve with suggestions, but some of my notifications don't come through until I unlock my phone. Most notably WhatsApp. I've turned off all battery optimisation options, removed it from the sleeping apps list, allowed background data and turned off data saver. Still have the same issue.
I have naptime installed so turned that off as well.
What's strange is that a few days ago all my notifications started coming through as normal for a few hours, and then stopped again.
I know the only way to solve this is probably a factory reset, but with loads of tweaks I've gotten it so my battery life is amazing. Leaving it overnight it drains around 3% and depending on how I use it I get around 8h of SOT with 50% battery left so I don't really want to factory reset.
What launcher are you using?
I feel your pain with factory resets.
There needs to be a backup settings to cloud so you can easily restore them after a reset or even a change of phone.
I understand your frustration with this issue, I experimented it as well when I started using my device, back then I did not fully knew about all the battery optimization settings, but, when trying to get all the notifications right, I stumbled upon an app named PNF-no root, which is meant to fix the push notifications from sms, email, whatsapp, etc, I tried so many things, that I honestly can not say if this PNF solved the issue, but in the end my notifications became normal, so, I kept using it, you can give it a try, that is, before you reset your phone, it might help
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
winol said:
I understand your frustration with this issue, I experimented it as well when I started using my device, back then I did not fully knew about all the battery optimization settings, but, when trying to get all the notifications right, I stumbled upon an app named PNF-no root, which is meant to fix the push notifications from sms, email, whatsapp, etc, I tried so many things, that I honestly can not say if this PNF solved the issue, but in the end my notifications became normal, so, I kept using it, you can give it a try, that is, before you reset your phone, it might help
Click to expand...
Click to collapse
Thanks I have installed it and will see if that works.
Nastrahl said:
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
Click to expand...
Click to collapse
Yes I've got it on me all day. It's never left anywhere for extended periods of time.
Nastrahl said:
Do you at least move your phone? Because a lot of apps, to bypass the system's optimisation that put apps to sleep, is that their wake up workaround is gyroscopic based.
That's why WhatsApp and such use a lot the sensor while it has nothing to do about in the first place.
If a battery monitor works for you, you can check that for WhatsApp.
Click to expand...
Click to collapse
Yes I've got it on me all day. It's never left anywhere for extended periods of time.
I've just installed a push notification tester app and my phone goes into doze immediately once I lock my phone and the screen turns off it seems.
If I request a notification, it comes through with the phone unlocked but if I set a delay of a few seconds and lock the phone before it comes through, nothing will happen until I wake my screen up.
Any ideas on how to solve this?
I worked out what the problem was!
I have a VPN that is set to disconnect when my screen turns off to save battery. At the same time I enabled the Android setting that blocks all connections without VPN. Of course when the screen turns off and the VPN disconnects, my phone was blocking all outside connections, hence me not getting any notifications.
Well, I am glad you figured it out

Categories

Resources