Doze issues - OnePlus 3 Questions & Answers

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.

Its a known issue with Oneplus 3 / Oxygen OS. There is a big thread @ https://forums.oneplus.net/threads/push-notification-issues.451149
You can disable Doze with this adb command to get your push notifications working . It won't survive a reboot, hence the command needs to be issued after every reboot.
"adb shell dumpsys deviceidle disable"

thx.
it seems like a big mess out there...

Is there an official response from oneplus regarding this issue? Currently on OP2, thinking about upgrading but this sounds pretty bad.
Sent from my ONE A2003 using XDA-Developers mobile app

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

tnttrx said:
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.
Click to expand...
Click to collapse
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).

judging by this post:
https://forums.oneplus.net/threads/push-notification-issues.451149
whatsapp seems to be the only app which doesn't have issues with doze

tnttrx said:
judging by this post:
https://forums.oneplus.net/threads/push-notification-issues.451149
whatsapp seems to be the only app which doesn't have issues with doze
Click to expand...
Click to collapse
WhatsApp definitely had issues before the update. Some notifications came 10-15 minutes late. Now it seems to be working fine.

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.

when you cleared data for gmail and it started working correctly, did you leave it excluded from "battery optimization", or it worked anyways?

tnttrx said:
when you cleared data for gmail and it started working correctly, did you leave it excluded from "battery optimization", or it worked anyways?
Click to expand...
Click to collapse
It is not excluded from battery optimization, i.e. it work like it should: gmail sleeps in doze, but notifications are not delayed!

ptblad said:
It is not excluded from battery optimization, i.e. it work like it should: gmail sleeps in doze, but notifications are not delayed!
Click to expand...
Click to collapse
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.

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

ptblad said:
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.
Click to expand...
Click to collapse
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

Any update on this issue from oneplus

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.

tnttrx said:
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.
Click to expand...
Click to collapse
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

that's exactly what's not acceptable, as it should use GCM high-priority messages:
https://developer.android.com/training/monitoring-device-state/doze-standby.html#whitelisting-cases
Viber should fix it and use GCM high-priority messages instead of dirty hacks to avoid Doze

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!

No need for this. On 3.2.6 you can turn off doze in the settings.

Related

Push Notifications

Hello
I have massive problems with push Gmail messages or Whatsapp . These come only if I make the display on .
These issues are also discussed in OnePlus forum .
https://forums.oneplus.net/threads/push-notification-issues.451149/
You have this problem or not there solutions ?
Yup, I have the same problem and trust me, thousands of other people seem to have them as well even on other phones. What I found out so far is that it's a feature of Doze in Marshmallow that's supposed to save battery.
People on here and OnePlus forums have recommended to me to either set notification priority of apps you have problems with to TREAT AS PRIORITY in App Notifications in Settings.
Other thing that was recommended was going into battery, select BATTERY OPTIMIZATION from the drop down menu, select ALL APPS and disable battery optimization for apps you want to get notifications from instantly when get pushed to you.
Now, that's all nice and dandy but, for me at least, neither of these options work. And a lot of apps are impacted, not just Gmail/Inbox/WhatsApp/Twitter/Flashscore etc...
Any insights and fixes would be appreciated because it's really annoying. I get emails from work that are sometimes quite urgent and if my phone is in "Doze Mode", I don't get notified which kinda destroys the whole purpose of push notifications in the first place.
Exactly the same problem here as described above by Donjuan89, tried the same solutions, even installed the PNF app but that also does not work.
This is very annoying to say the least, plus other bugs like no ringtone, the memory issue, the fact that Dashcharge is closed source, sources released but no stock recovery, the phone is quite a disappointment.
It shows that they didn't even do basic testing.
Seems not being a OnePlus problem...same issues on my Galaxy S6 edge...
disable dozemode then test greenify https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=de
Try "Push Notification Fixer" root app from PlayStore.
I had the same issue, only with GMail (WhatsApp has been fixed in the meantime I think).
I am on Oxygen 3.2.4, I set Gmail notifications "TREAT AS PRIORITY", it seems working!
Does it work for you on latest OS release?

Not receiving notifications unless I wake screen in OnePlus 3 running Marshmallow

Hi there, I was wondering if anyone might have any suggestions on how I could disable the Android Marshmallow doze/deep sleep mode that is default on new devices to save battery. I have a OnePlus 3 and have made every effort to check that all my notifications for calendar, whatsapp, emailing, etc. are set to both vibrate and make a sound, disabled all battery optimization features for apps, tried using screenlock wake apps to avoid missing notifications, and more. However, I am still unable to get notifications for whatsapp, emails, calendar reminders and events once my screen goes to sleep or I lock then phone and it's idle (so after about 15-30 minutes of it sleeping), but calls and texts seem to come through fine (or at least I haven't noticed these being an issue as much). This is a HUGE inconvenience, as my main reason to have a smartphone is so I can check emails, calendar events and such right as I receive them, and not only when I wake up my screen (which then bombards me with all my previous missed notifications from hours before). I have a feeling this is an android 6.0 issue and not due to the OnePlus 3, because it's been reported in other sites and by people with phones also using either this OS or lollipop. My older Samsung galaxy S4 running kitkat never had these problems, and at this point I'm very keen on going back if I can't get my new phone (or this OS, as I predict) to notify me right away even when my screen is locked and phone asleep (I can't always remember to check it especially if I'm busy at work). I am willing to root the phone and change settings if that's an option, but I would please like to see if you guys have any other suggestions for allowing my phone to receive notifications right away even when in sleep mode/idle/dozing. Thank you for your time in advance. Oh last thing, I also posted this question in other forums because I am honestly quite desperate to find out what I can do to resolve this issue, so I'm sorry if that's an inconvenience...
mblancoc said:
Hi there, I was wondering if anyone might have any suggestions on how I could disable the Android Marshmallow doze/deep sleep mode that is default on new devices to save battery. I have a OnePlus 3 and have made every effort to check that all my notifications for calendar, whatsapp, emailing, etc. are set to both vibrate and make a sound, disabled all battery optimization features for apps, tried using screenlock wake apps to avoid missing notifications, and more. However, I am still unable to get notifications for whatsapp, emails, calendar reminders and events once my screen goes to sleep or I lock then phone and it's idle (so after about 15-30 minutes of it sleeping), but calls and texts seem to come through fine (or at least I haven't noticed these being an issue as much). This is a HUGE inconvenience, as my main reason to have a smartphone is so I can check emails, calendar events and such right as I receive them, and not only when I wake up my screen (which then bombards me with all my previous missed notifications from hours before). I have a feeling this is an android 6.0 issue and not due to the OnePlus 3, because it's been reported in other sites and by people with phones also using either this OS or lollipop. My older Samsung galaxy S4 running kitkat never had these problems, and at this point I'm very keen on going back if I can't get my new phone (or this OS, as I predict) to notify me right away even when my screen is locked and phone asleep (I can't always remember to check it especially if I'm busy at work). I am willing to root the phone and change settings if that's an option, but I would please like to see if you guys have any other suggestions for allowing my phone to receive notifications right away even when in sleep mode/idle/dozing. Thank you for your time in advance. Oh last thing, I also posted this question in other forums because I am honestly quite desperate to find out what I can do to resolve this issue, so I'm sorry if that's an inconvenience...
Click to expand...
Click to collapse
Here is over 900 posts on this issue for your reading pleasure.
https://forums.oneplus.net/threads/push-notification-issues.451149/
Problem solved
Oneplus just released a new oxygen OS update which takes care of the notification issues. But to resolve this before this OTA came out I rooted and disabled the doze mode with dumpsys deviceidle. So all is good now!
mblancoc said:
Oneplus just released a new oxygen OS update which takes care of the notification issues. But to resolve this before this OTA came out I rooted and disabled the doze mode with dumpsys deviceidle. So all is good now!
Click to expand...
Click to collapse
Problem was NOT SOLVED with 3.2.1 OTA you still need to disable Doze in order to fix it.
Sent from my SM-T810 using XDA-Developers mobile app

Delayed Notifications In Android P

First off, I disabled adaptive battery in Android P. Ever since the upgrade from 8 to 9, I noticed that notifications are right around 5 minutes late. I have a couple time-sensitive apps that I need notifications right away. Gmail and another app for my home automation. In Android 8, the were flawless. However, ever since going to 9, not so much.
I also noticed that when I delete messages in the gmail app for gmail and an IMAP email server I have it does nothing with the messages on the server. I login to webmail from a computer and the messages are still in the Inbox.
Anyone have any ideas? I am going to try a wipe again to see if it resolves the issues, but I am out of ideas. I had the above issues in Android 9 beta as well. I would downgrade and it fixed them.
I have the same thing and it turns out it is a common issue with Pie. I have not found a solution yet. I have read all kinds of things people have tried and nothing seems to help. Sorry that I can't be more positive. Hopefully Google will figure something out and fix in an update.
Here is a two page post I started about the issue but there are also many others online describing the same thing:
https://forums.androidcentral.com/android-pie/904647-notifications-delayed-stopped.html
My thought is that the delayed notifications are due to Android Pies implementation of adaptive battery. Maybe try excluding the apps you want to receive notifications from in a timely manner?
Sent from my Pixel 2 XL using XDA Labs
You don't happen to have data saver in the quick tiles turned on by accident do you? That does prevent notifications from getting pushed. Both my parents had this on and a bunch of notifications came through after turning it off. I made sure to remove it from even being an available option.
Sent from my Pixel 2 XL using Tapatalk
been fighting with this issue as well, but it only seems to be gmail, and a couple other apps, my sms notifications seem to come through fine, at least as far as I can tell. I've turned off adaptive battery etc, nothing seems to make a difference. sometimes i can turn my screen on and all the notifications will come flooding in, other times they come through 10ish min later.
yes i have also these issue
and i opened thread on these https://forum.xda-developers.com/pixel-2-xl/help/gmail-sync-problems-pie-t3839357
also i tried many apps, but instead of gmail but yet i didn't find any solution
Triscuit said:
My thought is that the delayed notifications are due to Android Pies implementation of adaptive battery. Maybe try excluding the apps you want to receive notifications from in a timely manner?
Sent from my Pixel 2 XL using XDA Labs
Click to expand...
Click to collapse
Thanks for the suggestion but that is one of the first things I tried. No difference.
EeZeEpEe said:
You don't happen to have data saver in the quick tiles turned on by accident do you? That does prevent notifications from getting pushed.
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Made sure it was off early on. No change.
The best way to describe my issue is that once the screen times out and has been off for at least about 5 minutes, notification sounds are delayed. It is sort of like the phone goes into a deeper sleep or something and then the problem arises. As soon as I use my fingerprint to wake the phone, all notifications blast through.
The delay can vary. Sometimes it is only 15 minutes or so, but often it is much longer. It is almost like once in a while an app wants to call home or something and to do so wakes up the phone just enough to allow some notifications through.
There also seem to be some issues with individual apps and notifications that may be fixed when a developer updates their app for Pie. For example, most apps notify immediately when the screen is on or within that first 5 minutes or so after the screen goes off. But since installing Pie, Kuna always has a delay of 5 to 10 minutes before notifying. Kuna does this 100% of the time. In fact if I have the phone awake, looking at the screen when walking out the front door, when the motion sensor is triggered, immediately there is a notification icon. But the sound notification is always delayed. This seems like an issue with Kuna and they are well know for being very slow with updates and fixes but eventually they do fix things. But the notification sound delays described in this thread do indeed seem like a system issue with Pie. Hopefully enough people will have the issue that Google will figure it out and fix.
I am having same issues after updating to Android P. At first, notifications came late about 5 min, but then they started to vary some coming in 15-30 minutes later. Can't figure out what is causing the time difference but either way I can't find a fix. I spoke with Google support and they had no fix as well.
sammys8 said:
I spoke with Google support and they had no fix as well.
Click to expand...
Click to collapse
Did Google give you any indication they were aware of the issue and trying to fix?
Will_T said:
Did Google give you any indication they were aware of the issue and trying to fix?
Click to expand...
Click to collapse
Nope, they didn't mention anything about existing issues or being aware of the issue.
Any one found any solutions or fixes? I feel like my notifications are becoming even more delayed now and have also realized I'm not getting a lot of various notifications at all (through many different apps).
I am guessing you all are aware of this, and have tried, however I just found this recently and thought I would share for anyone that doesn't know.... Settings > Apps and Notifications > Advanced > Special App Access ..... Lots of options here with one of them being battery optimization for individual apps. After I upgraded to P, hardly any of my frequently used apps were given full battery use. Haven't played with all the other options there, however just granting apps full battery seemed to help me out.
3yoders said:
I am guessing you all are aware of this, and have tried, however I just found this recently and thought I would share for anyone that doesn't know.... Settings > Apps and Notifications > Advanced > Special App Access ..... Lots of options here with one of them being battery optimization for individual apps. After I upgraded to P, hardly any of my frequently used apps were given full battery use. Haven't played with all the other options there, however just granting apps full battery seemed to help me out.
Click to expand...
Click to collapse
Just updated some settings, now we wait and see if these buried settings fix my delays.. here's to hoping! :good:
3yoders said:
I am guessing you all are aware of this, and have tried, however I just found this recently and thought I would share for anyone that doesn't know.... Settings > Apps and Notifications > Advanced > Special App Access ..... Lots of options here with one of them being battery optimization for individual apps. After I upgraded to P, hardly any of my frequently used apps were given full battery use. Haven't played with all the other options there, however just granting apps full battery seemed to help me out.
Click to expand...
Click to collapse
One of the first things I tried was giving full useage, (no battery optimization) for all apps that I want notifications from. Did not help. Many other apps are still being optimized. I thought I had previously found a way to turn off all battery optimization but because I do have many apps in that list that are being optimized, I obviously did not. Right now I can't find a global setting to turn off battery optimization even though I thought I did before?
So I noticed this morning, that the main app/notification that's super delayed (5-10min after the event should have triggered) it doesn't happen when my phone is plugged in or i have the screen on in my hand. Even after going through all the battery save features and making sure this app is exempt from them, it still happens if the screen is off, or my phone is off the charger. super annoying. wish there was a fix for this already!
pvtjoker42 said:
So I noticed this morning, that the main app/notification that's super delayed (5-10min after the event should have triggered) it doesn't happen when my phone is plugged in or i have the screen on in my hand. Even after going through all the battery save features and making sure this app is exempt from them, it still happens if the screen is off, or my phone is off the charger. super annoying. wish there was a fix for this already!
Click to expand...
Click to collapse
Verizon sent me a replacement because of this problem. I was apprehensive, but got a very nice re-furb. Still have the same problem, but I got a phone that is indicated as Verizon on the LG site. In developer mode, the bootloader unlock button works. I guess everything isn't bad. I sure hope Google straightens this out soon.
pvtjoker42 said:
So I noticed this morning, that the main app/notification that's super delayed (5-10min after the event should have triggered) it doesn't happen when my phone is plugged in or i have the screen on in my hand.
Click to expand...
Click to collapse
This happens only with Gmail on my phone - WhatsApp and Messages send instant notifications. Messages isn't optimized, the other apps are.
I can live with that, no big deal. Perhaps disabling battery optimization for Gmail would fix this, though.
Interesting note: I was talking to YouMail support today about something else but I asked about an issue where I get an email and transcript of a new voicemail but when I go to the YouMail app that voicemail is not shown until I drag down from the top of the screen to refresh the list. Support told me they are aware of this but can not do anything because it is a problem with the "latest Android version causing delay". So it is becoming a more widely known issue and hopefully Google will fix soon.
Thanks for all the feedback. Speaking of delay, I think I have tried just about every fix here and then some and still no luck. Wiping the phone did nothing as well. At this point, I would almost like to revert back to v8 to get this fixed.
I tried this supposed fix, (reply #51). https://forums.androidcentral.com/a...ifications-delayed-stopped-3.html#post6355714
No idea if it worked for me as when you restart the phone you need to do it again and less than 30 minutes after I went through the steps, my Pixel2 got the October update for Pie and required a restart!

Question Some notifications not showing + Google Assistant issue

Hi There,
I'm running the latest available version of Color OS11 on my OP9Pro in China. So it is the stock OS that came with the device - updated for the latest patch etc.
I have a couple of issues that I'm hoping to get some help with or thoughts on how to fix it.
1. Some apps just don't show any notifications. All notifications are allowed and the apps themselves work fine, but I don't get any notifications at all.
2. Google assistant works, but I can't get 'Hey Google' to work, and in the settings for voice match, it 'not available for this language'. I've looked at other forums and posts on this and followed the instructions and changed the language as suggested but it still doesn't work.
3. The phone automatically switches off 'high performance mode'. After manually turning on this setting, it switches this off automatically at some point. Do you know why that would happen? Is it something that happens when the battery dips under 20%?
Thanks, and apologies if some of this has been covered already, but I wasn't able to find a fix to this.
Cheers,
A
achalgurnani said:
Hi There,
I'm running the latest available version of Color OS11 on my OP9Pro in China. So it is the stock OS that came with the device - updated for the latest patch etc.
I have a couple of issues that I'm hoping to get some help with or thoughts on how to fix it.
1. Some apps just don't show any notifications. All notifications are allowed and the apps themselves work fine, but I don't get any notifications at all.
2. Google assistant works, but I can't get 'Hey Google' to work, and in the settings for voice match, it 'not available for this language'. I've looked at other forums and posts on this and followed the instructions and changed the language as suggested but it still doesn't work.
3. The phone automatically switches off 'high performance mode'. After manually turning on this setting, it switches this off automatically at some point. Do you know why that would happen? Is it something that happens when the battery dips under 20%?
Thanks, and apologies if some of this has been covered already, but I wasn't able to find a fix to this.
Cheers,
A
Click to expand...
Click to collapse
I don't have a ton of great answers, but I can commiserate. I've noticed with the latest OTA though that the notifications have been much better. Used to be that Gmail would never tell me when I have a message until I go into the app which defeats the purpose. Now, it gives me notifications in a timely manner.
Something important is to make sure you minimize battery savings in the settings as I think OxygenOS is too overzealous in killing apps. So, I turned off battery optimization to any app I needed notifications from that were acting up: Gmail and calendar were the main ones. Some apps like Facebook gave notifications anyway, so it's really strange as to what apps weren't working and which were.
I'm not sure about the language thing. As for high performance mode, it's likely a battery saving issue. Oneplus really seems to like to throttle things back to save battery (or hide their abysmal battery performance relative to competitors). But I'm not sure on that one.
Thanks! The high performance toggle is indeed linked with battery levels.
I'm using coloros, not oxygen os as I'm in China. So not sure if coloros is doing the same as OoS, but I have disabled battery optimization for the apps that I want notifications for but don't get it.
Even some notifications in Gmail, outlook are delayed which sometimes defeat the purpose. For example, it game me a reminder at 12:45 for my 12:30 meeting... Haha
A missing update could be the culprit if your Reminder notifications aren't coming through. Make sure the app is up to date, and then try Google Reminders again. Clear the app cache data. Clear the cache data for Google Reminders, and then try using the app again.
Thanks, all those apps are up to date, and I'm running the latest version of coloros available for now. hoping that switching to coloros 12 will fix it.
Stupid question - where do I find google reminders.. didn't seem to see it anywhere

Question Disable doze?

One of my biggest gripes about Android is the fact that notifications are often delayed. This is because Google has implemented doze - a feature which saves battery life. That's great 'n all, but I absolutely need my notifications ASAP as they're paramount to my business.
I've used the following adb command for a while now to disable doze: adb shell dumpsys deviceidle disable. I know this only works until you restart your phone, but I don't mind doing the command line once a week.
However, it looks like this command does not work for the Pixel 6 Pro. I'm not sure why, but it just doesn't. At first, I thought it may have been an Android 12 issue, but that turned out to be completely incorrect as my new S22 Ultra that's on Android 12 suffered the same delayed notifications ailment, but was remedied by the aforementioned adb command. Now my S22 Ultra gets Gmail/push notifications immediately and on time. So it might be the SoC that's to blame for some reason.
I like the Pixel 6 Pro, I really do. I enjoy Google's UI, the physical look of the phone, etc. but I cannot keep a phone that does not receive notifications on time. Is there a different adb command or a way to disable doze to get notifications on time on the Pixel 6 Pro?
And before anyone recommends it - yes I've tried not optimising Gmail, different email apps, and all the app workarounds - nothing works. Same applies for the S22 Ultra and all my previous Android phones. Only disabling doze allows for push notifications to come through on time.
Any help would be greatly appreciated as I'm not keen on keeping this S22 Ultra, but will if there's no genuine workaround for disabling Doze on the Pixel 6 Pro.
Cheers!
Disabling battery optimization (long press app icon - app info - battery) essentially turns off doze for that particular app. If it's just emails/Gmail you're worried about, do that for the Gmail app. You'll theoretically get your emails on time, and the rest of your phone can zzzzzzzz in peace.
Also of note, Samsung changes a **** ton of the aosp code before using it for their OneUI ROM. It very well may be an Android 12 change than Samsung either reverted or did something else with.
asj0422 said:
Disabling battery optimization (long press app icon - app info - battery) essentially turns off doze for that particular app. If it's just emails/Gmail you're worried about, do that for the Gmail app. You'll theoretically get your emails on time, and the rest of your phone can zzzzzzzz in peace.
Also of note, Samsung changes a **** ton of the aosp code before using it for their OneUI ROM. It very well may be an Android 12 change than Samsung either reverted or did something else with.
Click to expand...
Click to collapse
You won't have to hook it up to your command prompt every time you reboot, either.
Why don't you simply disable optimisation for the apps you need instant notifications for? (Settings > Apps > [AppName] > Battery Usage > Unrestricted)
Again, I've tried that and it simply doesn't work.
I just sent myself an email after leaving 3 of my phones down, idling for 8 minutes. The S22 Ultra and iPhone 13 Pro received the email within 5 seconds of each other, and the Pixel didn't receive anything until I turned it on and unlocked it. Battery optimisation removal is the first thing I tried and it didn't work.
It's not doze then.
If the notion actions are driven through gservices, then that is another aspect of the problem that needs to be "not optimized".
Easiest and best way to solve this kind of problem is to use better software. Fairemail will deliver instant notifications and uses a direct IMAP connection rather than routing everything through gooble.
96carboard said:
If the notion actions are driven through gservices, then that is another aspect of the problem that needs to be "not optimized".
Easiest and best way to solve this kind of problem is to use better software. Fairemail will deliver instant notifications and uses a direct IMAP connection rather than routing everything through gooble.
Click to expand...
Click to collapse
I get what you're saying, but you shouldn't have to use a different app to get notifications. Gmail should work within a reasonable amount of time. It's a problem if you have to turn on your phone for a notification to appear, especially from a Google app.
Op should do a factory reset. And during Android set-up, uncheck device settings (and apps for good measure). Turn off app optimization, and test it again.
But I've seen this issue on Android phones (and iPhones), and no one has ever actually resolved the issue. It seems like it's random when the issue occurs (or doesn't).
I have seen one user report that the adb command to disable doze does work on the Pixel 6 Pro. Not sure how accurate that report was though.
Maybe also try adb shell dumpsys deviceidle disable whitelist + <app package name>
You may want to check what app bucket the apps you want instant notifications for are in (Developer Options>Standby Apps). If they are in either Active or Working Set you "should" be getting notifications on time. If they aren't set to one of those categories you can try changing it to Active or Working Set, although the app may just change it back.
@AhsanU
Hi
I assumed just like you that the problem is with doze .
But , after using the adb command everything works fine except Gmail.
So I replaced Gmail with other email client and now everything just fine.
asj0422 said:
It's not doze then.
Click to expand...
Click to collapse
It absolutely is, as disabling doze literally fixes the issue. This is not even a point of discussion.
Lughnasadh said:
I have seen one user report that the adb command to disable doze does work on the Pixel 6 Pro. Not sure how accurate that report was though.
Maybe also try adb shell dumpsys deviceidle disable whitelist + <app package name>
You may want to check what app bucket the apps you want instant notifications for are in (Developer Options>Standby Apps). If they are in either Active or Working Set you "should" be getting notifications on time. If they aren't set to one of those categories you can try changing it to Active or Working Set, although the app may just change it back.
@AhsanU
Click to expand...
Click to collapse
Looks like Gmail is set as active, as is every single app I've downloaded - odd
AhsanU said:
It absolutely is, as disabling doze literally fixes the issue. This is not even a point of discussion.
Click to expand...
Click to collapse
If this was the case then wouldn't we all be seeing the same thing? When i order something off Amazon on my PC my Pixel 6 Pro goes off at the same time the email arrives on the PC even if i have not picked my phone up for some time.
There has been odd behaviour for some people with Gmail not doing notifications in push mode. Had this with my OnePlus device, but seen it reported for Google, Samsung and other devices for Android 11 and 12.
For some uninstalling the app and re-installing solved it, for others factory reset. Some could not get it to be resolved at all.
Some needed to sort the Google services app as well as Gmail.
It wasn't Doze that was causing the issue though.
AhsanU said:
Looks like Gmail is set as active, as is every single app I've downloaded - odd
Click to expand...
Click to collapse
Can you try this: Go to Settings, System, Users. Create a new user (just a brand-new google account with Fake Information (you can delete it later)). While logged into that profile, lock the phone. wait 10 mins. Then go to a different device and send an email to that new account. How long does it take for the email to come in? Turn off wifi and try it on mobile. Any difference?
AhsanU said:
Looks like Gmail is set as active, as is every single app I've downloaded - odd
Click to expand...
Click to collapse
Did you see this thread on Reddit? Sounds familiar.
https://www.reddit.com/r/GooglePixel/comments/t2cuuu
Im on lineageos pixel 3xl. Have always used the dumpsys deviceidle disable command on previous phones with success. It was the only thing that worked. Battery optimization settings were never enough. Anyway, running the command also solved the problem on my pixel 3xl running lineages. Until about 2 weeks ago. I did recently install super freezze. Uninstalling it now. Will report back if it fixes my issue.
bobby janow said:
Did you see this thread on Reddit? Sounds familiar.
https://www.reddit.com/r/GooglePixel/comments/t2cuuu
Click to expand...
Click to collapse
What was the solution they said worked in the comments?
but i really like android system
This is an issue with the introduction of doze. I can confirm that on every single Android phone I've used since doze was introduced "think it was marshmallow, could be wrong". I have experienced this issue with all my pixel phones up to 4xl, Galaxy s21 Ultra, and OnePlus 7 Pro and 8 Pro. Executing "dumpsys deviceidle disable" via rooted device in terminal or the adb command via computer fixes the issue 100% every time. I also experience no extra battery drain. Google simply needs to get rid of doze it's no longer needed. I carry an iPhone along with my android of choice and only when device idle is disabled do I get my notifications instantly just like I do without fail on my iphone. It's very depressing to have to jump through hoops to get important instant notifications on an Android phone.

Categories

Resources