05-13-2019 11:03 AM
189 ... 5678
tools
  1. leonatwm's Avatar
    FWIW I contacted google who said they didn't know of any issues with notifications. They recommended clearing cache and didn't mention anything about battery saving options etc.
    It's amazing to me that Google does NOT even know this problem, which has been around and discussed for a long time. My Calendar notification still does not come through even with Doze disabled through ADB. They always give you the same solution for all problems: clear cache. Of course, that does not work for either of my problems.
    12-10-2018 10:56 PM
  2. Will_T's Avatar
    It's amazing to me that Google does NOT even know this problem
    Maybe a specific Google employee may not know about it or may say they don't know about it, but I am pretty sure some at Google do. First, many Google employees would have the same issue on their personal phones. Second, as you say, it so widely discussed and complained about it that Google would have to have a company wide policy to avoid any tech sites or social media to not know.

    That brings up an interesting question. I know the issue has been posted and discussed on Reddit many times. But has anyone seen it on Twitter or Facebook? I don't really use either so don't know myself. It should definitely be all over those two if it is not already. Social media is where most people, (except me I guess), get their information.
    12-12-2018 12:46 PM
  3. pigskins87's Avatar
    I forgot to mention one other significant symptom or issue related to this: I think when my phone is in this state, it will not automatically backup photos to Google photo. I know it seems odd because if I snap a picture then the phone is active and on wifi. But I have other apps that I backup to Google Photos as well. I just recall going into Photos on my laptop and not seeing recent pics, then I had to wake up my phone, go into Photos, and it would then start backing up. Since I've applied this adb command I have not experienced this.
    12-14-2018 07:00 AM
  4. lightrack's Avatar
    I have the same issue with Pixel 3 and Android 9 Pie. By the way, I had this problem on Google Nexus 5x and Android 6,7,8 and it is simply ridiculous that Google has not fix it yet. I suppose Pixel 3 will be the last android phone I own, push notifications work perfectly well on my iPhones 4s (iOS 7-9) and 6 (iOS 8-11).

    Fortunately, a command
    adb shell dumpsys deviceidle disable
    fixed this, but it is not a convenient solution, because it requires a PC to run it.
    Is it possible to run something like this using an android phone only?
    12-15-2018 03:49 AM
  5. Bladet's Avatar
    Fortunately, a command
    adb shell dumpsys deviceidle disable
    fixed this, but it is not a convenient solution, because it requires a PC to run it.
    Is it possible to run something like this using an android phone only?
    No.
    12-15-2018 03:51 AM
  6. RedCarp703's Avatar
    If anyone is having this problem, turn off battery optimization for the offending app. I had to tinker with this for a while.
    12-17-2018 11:57 AM
  7. Will_T's Avatar
    If anyone is having this problem, turn off battery optimization for the offending app. I had to tinker with this for a while.
    No that does not make any difference for this particular problem with Doze.
    pigskins87 likes this.
    12-18-2018 02:21 AM
  8. Scott47's Avatar
    Fortunately, a command
    adb shell dumpsys deviceidle disable
    fixed this, but it is not a convenient solution, because it requires a PC to run it.
    Is it possible to run something like this using an android phone only?
    My LG V30 is rooted and running Magisk and I am able to use the Terminal Emulator application to run this command. Basically once the Terminal Emulator starts you will see and type:

    :/ $ su
    :/ # dumpsys deviceidle disable
    :/ # exit
    :/ $ exit

    After you run the "dumpsys deviceidle disable" command you can run "dumpsys deviceidle" by itself and look about 3/4 of the way down in the results. You are looking for "mLightEnabled=false mDeepEnabled=false" to verify this worked. If you run "dumpsys deviceidle" before you run the disable step you'll see that both (at least on my phone) are set to true.

    The su command is what requires the root level permission.

    If your phone is rooted already this will allow you to disable doze without hooking it up to a PC. It's still really inconvenient but just not quite as inconvenient if you are not near a PC.

    I'm sure there is a way to automate this, but I haven't found it yet. If anyone else has any ideas please let us all know.

    :-)
    12-20-2018 11:57 AM
  9. J Dubbs's Avatar
    I'm sorry you guys are still having so many problems getting notifications...... I would most likely move to another phone if I had to run those commands through a pc on every reboot... I reboot daily. That's one reason I leave my phones on default settings and don't use third party apps...... my phones seem much less problematic that way. My pixel is working great on Pie so far (fingers crossed).

    Overall though I'm not a big fan of updates.....if something's running great, I won't update it unless there's a new feature I know I'll use. And that almost never happens.

    I am getting irritated by all the companies that are now taking away our ability to decide whether we want auto-updating turned on or not. Roku just screwed my box up with a forced update that I can't turn off. Microsoft just screwed my wife's pc up with a forced update I can no longer turn off. And I was surprised Google forces auto updates on us.... making us enable developer options to turn them off. All my previous Android phones asked me whether I wanted to update to a new os or not.

    I'm not liking having my choices taken away at all
    And that is definitely going to have some effect on my purchasing decisions...... I won't be owning any more Roku's or windows powered devices for sure ;-)
    12-26-2018 07:05 AM
  10. sydthe's Avatar

    I'm sure there is a way to automate this, but I haven't found it yet. If anyone else has any ideas please let us all know.

    :-)
    Hi,

    i manage to get this automated with tasker. I created an event on "Device Boot" and a task "Run shell" as root with the command "dumpsys deviceidle disable" (without the "") And after reboot I checked in the console with "dumpsys deviceidle" and both of them where false.

    Thanks for this great thread, I hope this helps others as well. Without it I still would wait for my email notifications.

    Happy New Year to all of you!
    12-30-2018 07:48 AM
  11. abo shama's Avatar
    same problem with nokia phone.and i think it was related to battery optimization option called adaptive battery that limits battery for frequently used apps notifecation may delayed for those apps.
    12-30-2018 11:07 PM
  12. Protke's Avatar
    I just want to thank everyone contributing to the solution, since Dozer definitely appears to be the culprit here.
    I have a 1 week old MI A2 (Android One), upgraded to Pie at the start and I can safely say I am experiencing the same issue.
    I will try this "adb shell dumpsys deviceidle disable" but I would like to do a personal morning/night battery usage statistics to see if the drain is affected in any way - confirmation bias is a helluva thing

    And now one huge rant to all the app developers:
    There is a crystal clear line on the link saying:
    If your users must see a notification right away, make sure to use an FCM high priority message.
    So why are the comm app developers (e.g. Whatsapp), especially GMail, not using FCM high prio?
    /endrant
    01-09-2019 05:36 PM
  13. Bladet's Avatar
    And now one huge rant to all the app developers:
    There is a crystal clear line on the link saying:
    If your users must see a notification right away, make sure to use an FCM high priority message.
    So why are the comm app developers (e.g. Whatsapp), especially GMail, not using FCM high prio?
    /endrant
    Thanks for the link. I will try it with my own app and see how it works with priority high for all notifications.
    01-11-2019 01:41 PM
  14. DustBow's Avatar
    Phone reboot after the January update. Decided to see if the issue was still there.... Yep.
    Had to disable Doze again - real time notifications are back.
    Can't believe this is still an issue.
    01-13-2019 01:18 PM
  15. pigskins87's Avatar
    Since I've started using this fix/workaround I've had 2 instances where my Pixel 2 XL's ambient display or whatever it is called that always displays the current time, date, temp on the idle screen has shut off. A reboot corrects it but then I have to re-apply the adb commands of course.
    01-17-2019 03:27 PM
  16. pino de vogel's Avatar
    Howdy new here but i had to register to get in on this thread and hopefully provide a fix.

    Im not entirely sure if i have the exact same problem but i have bin spending 3 months researching and testing myself and found something that seems to work so far in my situation including after reboots.

    So from the start...
    After updating my redmi note 5 to android oreo 8.1 i stopped getting whatsapp notification sounds. as im a light user i didnt fully realize this intill a while later and people told me in not responded.
    So i went ewn took a closer look and indeed no notification sounds.
    However this is were our situations MIGHT differ. at first i thought i got no notifications at all but shortly after i figured out i needed to give apps permission to post icons in the top bar or apear on the lockscreen.
    To give permissions for my phone its to show notifications on lockscreen : settings > Notifications and Statusbar >enable show on lockscreen.
    To give permisssions to show notifications on status bar : settings > Notifications and Statusbar > App-notifications > select the app you have issue with and tick the show notifications box.

    (names might differ seeing my phone is not in english and this is freely translated by me to what should be the right setting name)

    After doing this i realized that the messages did come in but it simply refused to play any sounds to notify me that i had a message. As when i turned on my screen i saw the whatsapp icon on top telling me there was anitification.

    so after then there was a 2 months long search testing and testing setting after setting resetting the phone testing some more untill i found 1 small guide by someone that actualy helped me realize what the problem was for me and hopefully for you lot aswell or atleast someone else who comes to this topic with the same annoying problem.

    The reason there were no sounds was because for some unknown reason whatsapp in my case despite having high priority messages enabled in settings did not deliver notifications with high priority but with medium priority.

    Short background on low medium and high priority.
    Low : no sound no delivery message will be collected when you turn on the screen.
    Medium : message will be delivered but no sound will be played.
    High : message will be delivered and sound will be played
    there are more settings for for example turning on the screen or showing a popup screen but lets keep it simple.

    So after reading that basics on how doze handled those message priorities a lightstarted to blink and i started looking at more specific solutions and found that others already had these kind of iddies and made a tasker addon for it that can also be used on stand alone.

    so the fix :

    Go to the play store and download the app AutoNotification made by joaomgcd.

    start the app and click on Use for free (adds to unlock the functionality you only have to do this once)

    then scroll down and click on notification interception > check intercept all if not checked > on top click on enable notification intercept > enable autonotification permission.

    Go back to the start screen of the app and click on notification categories.
    From there select the apps you have issues with and set priority to High for the right notification channels (i just did all for whatsapp).

    After this drag the app to a flder with apps you never use and leave it there. Uninstalling undo's this sound fix (tested that).
    This app had zero idle drain if left inactive after 2 weeks of testing so it only costs a few mb of storage so its completely harmless to leave idle there.


    I hope this helps people and is as complete as it should be as my trail of this app ended and can no longer verify the last step.
    Added bonus with this app you can also disable annoying notifications or disable the sound for it if you feel like it.

    The crazy **** we have to do with mobiles in 2019...and we thought rooting to delete bloatware was bad...

    Im not one to stick arround on forums but ill try to open the forum once or twice more to see if there are any questions

    Again hope this helps people as these issues certainly cost me 2 years of my life and gave me half my grey hairs...
    01-29-2019 11:15 AM
  17. lightrack's Avatar
    <...>
    so the fix :

    Go to the play store and download the app AutoNotification made by joaomgcd.

    <...>
    I have been testing this solution for some days. Unfortunately, it has not helped me (Google Pixel 3 with Android 9 Pie and latest updates).
    01-31-2019 11:02 AM
  18. pigskins87's Avatar
    I have been testing this solution for some days. Unfortunately, it has not helped me (Google Pixel 3 with Android 9 Pie and latest updates).
    Same here. That did not help.
    02-01-2019 01:38 PM
  19. Puddings_pies's Avatar
    Not sure if I had the same problem, but very similiar. I was getting very few notifications. Probably those apps that set their notifications to high priority.

    Anyway, uninstalling Clean Master app did the trick for me.

    Now I'm bombarded by notifications due to me switching everything on whilst trying to figure out what was wrong.

    This link relating to slack was very helpful. https://get.slack.help/hc/en-us/arti...-notifications where it highlighted Clean Master
    02-06-2019 06:53 AM
  20. golgodor's Avatar
    Hi, first of all, thank you for all your recommendations.

    My problems I think is very specific. Like most of you here I began experiencing delayed notifications since updating to Oreo. I already turned Doze off. At first, I thought my problem was fixed, but sadly I continued to experience delayed notifications.
    The difference is that I only experience delayed notifications on Wifi. And like most of you when I leave my phone idle for more than 10 minutes.

    When I switch to data, all notifications come normally. Even when left idle for more than 20 minutes.

    So you could say is my WIFI right? The thing is all other devices work well with my wifi and spotify on the same phone works without problem for hours after the screen goes off.
    Also a skype call works fine after the screen goes off even after a long period. So wifi doesn't disconnect.

    Very weird.

    So to put it simple, I experience delayed notifications only on wifi, when on data everything works fine. Anyone else with the same problem?

    Maybe someone have any idea on what could be the problem. I'm lost, the only thing I haven't tried is a factory reset. I was holding up on that one but I'm gonna have to try it.
    sa a likes this.
    02-19-2019 04:09 PM
  21. Ron999's Avatar
    Disabling doze did not work for me. What did work was uninstalling the updates and going back to the original version of the Google app for my ROM (7.2.26.21.arm64) (Setings > Apps > Google > uninstall updates). Sux that Android can now force app updates but at least for now it is working.

    For those that disabling doze solves the problem, IF YOU ARE ROOTED, you can create a boot script to disable doze every boot. Details: .

    One more reason to never buy a phone that can't be rooted IMO.
    02-21-2019 05:08 AM
  22. pierhh's Avatar
    Can't believe still has this annoying problem on my Samsung Note 9 Android Pie.It was there from Oreo. If you don't get on time notification then its is not smart phone..I will go back to the old IOS phones,at least I can get notify..
    03-14-2019 04:04 AM
  23. Fille84's Avatar
    Back to iPhone. This is silly, have had several android-phones lately, and no one manage to give me the notifications in time, or sometimes not at all. I mean WTF Google!
    03-14-2019 02:19 PM
  24. evergreenpsyche's Avatar
    I apologize if this has been covered already, I don't have the patience to read the whole thread especially as I just solved a similar issue after recently upgrading to Oreo on my Nexus 5X.

    I'm posting just to warn people -- did you use Titanium Backup or any other method to restore your apps & data? If you do this with any Google apps, it will cause your phone to use your old (and Wrong) device ID for GCM push notifications and this will mess things up

    I don't know if any non-Google apps might be affected the same way.

    My issue was with Gmail and Hangouts. Once I uninstalled the restored version and re-installed from the store, I started being able to receive notifications instantly again.
    03-19-2019 10:28 AM
  25. Kodak2's Avatar
    I apologize if this has been covered already, I don't have the patience to read the whole thread especially as I just solved a similar issue after recently upgrading to Oreo on my Nexus 5X.

    I'm posting just to warn people -- did you use Titanium Backup or any other method to restore your apps & data? If you do this with any Google apps, it will cause your phone to use your old (and Wrong) device ID for GCM push notifications and this will mess things up

    I don't know if any non-Google apps might be affected the same way.

    My issue was with Gmail and Hangouts. Once I uninstalled the restored version and re-installed from the store, I started being able to receive notifications instantly again.
    I wasn't aware that you could uninstall Gmail unless your phone was rooted. Am I missing something?
    03-19-2019 11:10 AM
189 ... 5678

Similar Threads

  1. Q: Yahoo mail notifications and Pie
    By donaldmd13 in forum Google Pixel & Pixel XL
    Replies: 1
    Last Post: 06-07-2019, 07:20 PM
  2. Why am I not receiving all of my messages?
    By Android Central Question in forum Android Pie
    Replies: 3
    Last Post: 09-10-2018, 05:58 AM
  3. Replies: 1
    Last Post: 08-21-2018, 02:21 PM
  4. Why am I not receiving all of my messages?
    By Android Central Question in forum Ask a Question
    Replies: 0
    Last Post: 08-20-2018, 12:39 PM
  5. Replies: 1
    Last Post: 08-20-2018, 11:19 AM
LINK TO POST COPIED TO CLIPBOARD