Yesterday 01:46 PM
152 ... 4567
tools
  1. Lospepes's Avatar
    After reading so many forums and lost so many weeks trying to solve this problem on my note 9 and S9+, I finally found a solution that works for ME, and to be quite frank, it might be the best solution if you don't mind using a third-party app as a fix.

    The solution involves using Tasker and a Tasker plugin called "secure settings" none of which require root.

    I noticed push notifications on some apps would be delayed systematically 5 minutes after my phone's screen would be off.

    As a result, I set a Tasker task to wake the screen up for 1 second, after 4 minutes and 30 seconds of doze time. While this might sound much, it really doesn't bother me.

    The background of my locked screen is black. I even went as far as changing the clock color to black as well, hence the transition from the Always On Display to lock screen is not an annoyance.

    I have also created the Tasker profile in such a way that it prevents the task from running when I go to bed.

    It's sad that I had to resort to this option but until a software update exists I'm content with this solution


    See screenshots below:

    Tasker Profile

    Notifications Delayed or Stopped?-00.jpg

    Tasker Task
    Notifications Delayed or Stopped?-01.jpg
    DrGjerdesmett and voldejour like this.
    11-06-2018 09:29 PM
  2. Safirius's Avatar
    Hi guys, so I'll just put my issue here.

    I am using a Huawei P10 phone, same as my best friend. Version 8.0.0.
    He gets all notifications through normally, even if phone screen is off for X amount of time.
    Where as I have problems with Instagram and Google Hangouts.

    I only get instagram direct messages through, if I go directly to the Instagram app.
    I still get the android notification of a message i already read, over 1 hour later or so, which is weird.
    For google hangouts, i don't get any notification untill i manually enter the app.

    Gmail, SMS, and everything else works perfectly fine..

    Since my friend is in the US now, i cant compare his settings to mine...

    EDIT:
    So what i did, and it instantly helped me, on my Huawei, I went:
    settings>>battery>>Launch>>i checked instagram and hangouts manually, and made them run in the background.

    This fixed my problem, as others said, it was Google's hardcore battery saving option, it kills some apps in the background.
    J Dubbs likes this.
    11-11-2018 03:50 AM
  3. J Dubbs's Avatar
    Do we know for sure that all Android phones running Oreo/Pie (and perhaps Nougat) have this issue? Have any of you come across any recent Android phone that doesn't have the delayed notification issue? (keeping in mind that a specific set of conditions needs to be met for the problem to occur, namely the phone shouldn't be connected to a charger, it should be asleep for at least 3-5 minutes, etc).
    Yes my brand new first gen pixel is running Pie and I've thoroughly checked it under all conditions (unplugged, screen off, not moved or used for hours) and all notifications are working normally. The only difference I probably have from other users is my settings are all stock, I haven't changed anything..... and I don't have any third party apps installed, the phone is bone stock except for the wallpaper.
    11-13-2018 03:36 AM
  4. voldejour's Avatar
    That is very interesting. Do you use the same Google account for the first gen Pixel?
    11-13-2018 04:19 PM
  5. leonatwm's Avatar
    My Gmail and Calendar notifications do not come through for up to many hours, even after background operations are enabled and battery optimization is disabled. Having no choice (and lost a big job, thousands of dollars, due to the delayed notification), I finally took the plunge and disabled Doze. Now all notifications come through instantaneously -- and my battery life is considerably longer (by about 30%) than with Doze, similar to many others reported earlier. I also keep feeling my phone is cooler than before, apparently due to its using less battery than before. (See earlier posts on how to disable Doze.) Doze is a sham. Too bad Google goes out of their way to make sure ordinary users cannot disable it.

    By the way, for those who care, my phone is a Galaxy S8 with Android 8.0.0 and Samsung Experience 9.0.
    11-16-2018 05:36 PM
  6. Bladet's Avatar
    I have disabled doze but I now only receive some notifications when I activate the screen.

    It used to work fine with doze disabled.

    Pixel 2 with Android 9.0 and latest update November 5.

    I maybe should try with Doze enabled again.
    11-17-2018 10:00 AM
  7. leonatwm's Avatar
    I have disabled doze but I now only receive some notifications when I activate the screen.

    It used to work fine with doze disabled.

    Pixel 2 with Android 9.0 and latest update November 5.

    I maybe should try with Doze enabled again.
    Bladet: I suppose you re-disabled Doze after your phone is restarted? Unfortunately, Doze comes back to life every time you restart your phone. If you did re-disable Doze, then it sounds like Google's new update on Nov. 5 disabled the function of disabling Doze. Anyone else can verify that? If so, I really cannot understand why Google goes out of their way to make their users' life miserable.
    11-17-2018 04:45 PM
  8. Bladet's Avatar
    Bladet: I suppose you re-disabled Doze after your phone is restarted? Unfortunately, Doze comes back to life every time you restart your phone. If you did re-disable Doze, then it sounds like Google's new update on Nov. 5 disabled the function of disabling Doze. Anyone else can verify that? If so, I really cannot understand why Google goes out of their way to make their users' life miserable.
    I know that doze will be back at boot and I have checked so it should be disabled.

    It's just a few notifications that are delayed. I can verify this as I receive same notifications on my iPhone and they are sent about the same time. It's my own app. Or else could it be that google firebase cloud message is really slow sometimes.
    11-17-2018 04:58 PM
  9. Will_T's Avatar
    Bladet: it sounds like Google's new update on Nov. 5 disabled the function of disabling Doze. Anyone else can verify that?
    I can say that disabling Doze still works fine on my Pixel 2XL with most recent update. Hopefully Google will leave it alone......... Or add add a button to the OS interface to switch it off.

    I don't agree that Google goes out of their way to cause problems, just that they can be very slow to acknowledge and fix them. This is especially true on things they are greatly invested in like battery saving. I suspect that over the years, battery life is the number one thing they get complaints about. Doze is an attempt to address that complaint and it is understandable that the engineers at Google would be hesitant to implement a button to easily allow users to turn their baby off. Just wish they would fix the bugs faster. Overall I am very happy with my Pixel and Android.
    12-01-2018 12:39 PM
  10. pigskins87's Avatar
    @Lospepes I am trying this now, my first attempt at using Tasker. Thanks for the post, my fingers are crossed!

    It's definitely annoying to pick up the phone after a few minutes or more and have it blow up with notifications that I would have liked to see!
    12-04-2018 05:46 PM
  11. pigskins87's Avatar
    @Lospepes it doesn't appear to have worked for me. I tested to make sure the Tasker event was firing but then set my phone down for 20 mins or so and during that time a hockey game started. I have alerts set when a team scores. After 20 minutes I checked the score on my laptop and it was 3-0. My phone had not alerted me once. I picked it up and boom all of the alerts/notifications appeared at once. There were multiple sports alerts plus other apps.
    12-04-2018 07:53 PM
  12. pigskins87's Avatar
    I ended up using ADB to disable doze or device idle or whatever it is. So far that seems to be working. My main issue was with the Yahoo Sports app (I have a Pixel 2 XL with Android 9). Once the phone went idle it would stop getting push notifications. Once I unlocked the screen they all appeared at once. Tasker was not working because while it would wake up the screen it was not unlocking it completely which for some reason is what I need. I have other apps acting the same way but Yahoo Sports was the one driving me the most crazy.
    12-04-2018 09:39 PM
  13. Brodel's Avatar
    Does anyone know if there is a fix due for this? I recently bought a Pixel 2 in the Black Friday sales and am having constant issues with notifications despite turning off all data and batter restrictions for apps that I need immediate notifications from. I don't want to mess around with adb etc so at this point I'm close to just returning it for a refund.
    12-05-2018 01:45 AM
  14. Bladet's Avatar
    Does anyone know if there is a fix due for this? I recently bought a Pixel 2 in the Black Friday sales and am having constant issues with notifications despite turning off all data and batter restrictions for apps that I need immediate notifications from. I don't want to mess around with adb etc so at this point I'm close to just returning it for a refund.
    I would return it. It has gone 3+ months without any fix or any easy toggle setting to turn off doze without adb.
    Brodel likes this.
    12-05-2018 04:01 AM
  15. Al Borland's Avatar
    Does anyone know if there is a fix due for this?
    In my opinion it won't be fixed. If you follow their issue tracker database cases get opened that seem to mirror this problem then get dismissed or disappear. The issues logged are created by consumers or developers logging a complaint.

    It is going to take an OEM to pressure for a fix. My OEM (Samsung) is well aware of the problem but doesn't show any sign of stepping up to the plate. Their help usually revolves around: defective device needs to be replaced, or user has a setting wrong in the os.

    Disabling doze on my S8 via ADB is the fix that works on my device. It is still running 7.0 nougat. Near instant notifications and much improved battery life with doze disabled.


    Al
    Brodel likes this.
    12-05-2018 12:28 PM
  16. Brodel's Avatar
    Thanks for the replies. I guess I'll return it, go back to my Nexus 5 and cross my fingers for the Pixel 4.
    12-05-2018 01:45 PM
  17. pigskins87's Avatar
    In my opinion it won't be fixed. If you follow their issue tracker database cases get opened that seem to mirror this problem then get dismissed or disappear. The issues logged are created by consumers or developers logging a complaint.

    It is going to take an OEM to pressure for a fix. My OEM (Samsung) is well aware of the problem but doesn't show any sign of stepping up to the plate. Their help usually revolves around: defective device needs to be replaced, or user has a setting wrong in the os.

    Disabling doze on my S8 via ADB is the fix that works on my device. It is still running 7.0 nougat. Near instant notifications and much improved battery life with doze disabled.


    Al
    Al,

    While researching this issue and before finding this thread, I had discovered another site that discussed the possibility that this is caused by the removal of the setting to keep WIFI on during sleep (that option no longer exists in advanced WIFI settings). That discussion included a different ADB command to change the option but I don't recall it saying whether or not the change would survive reboots.

    I am not sure if I am allowed to post links to other sites. The article I want to post was actually about someone saying that they felt like WIFI was *not* turning off during sleep and they wanted it to. But someone discovered a way through ADB to set the mode to be one of 3 options: Keep WiFi on during sleep, Keep WiFi on during sleep only When Plugged In, Don't keep WiFi on during sleep. The ADB command is "adb shell settings put global wifi_sleep_policy x" where x is 2, 1, 0 based on the desired behavior.

    Have you heard about this?
    12-06-2018 12:10 PM
  18. Will_T's Avatar
    Not sure about that command sticking after reboot, but I suspect it will not, just like the Doze fix command.

    Is anyone running the December Pie security update yet? Wondering if it has any impact, positive or negative on the Doze issue. I read that this month the update not only includes security patches, but several interface and system function changes. Don't want to apply the patch until I know for sure it won't hinder the ADB turn off Doze fix.
    12-06-2018 03:37 PM
  19. pigskins87's Avatar
    Not sure about that command sticking after reboot, but I suspect it will not, just like the Doze fix command.

    Is anyone running the December Pie security update yet? Wondering if it has any impact, positive or negative on the Doze issue. I read that this month the update not only includes security patches, but several interface and system function changes. Don't want to apply the patch until I know for sure it won't hinder the ADB turn off Doze fix.
    I have the December update installed. After installing it and rebooting, then verifying that notifications were still delayed, I ran the ADB command to disable Doze. Since then all notifications have come in on time.
    Will_T likes this.
    12-06-2018 07:27 PM
  20. Will_T's Avatar
    I have the December update installed. After installing it and rebooting, then verifying that notifications were still delayed, I ran the ADB command to disable Doze. Since then all notifications have come in on time.
    Thanks!
    12-06-2018 08:54 PM
  21. Bladet's Avatar
    Thanks!
    I can also verify that notifications are still delayed with the december update but fixed with adb doze disabled.
    12-07-2018 02:24 PM
  22. Brodel's Avatar
    Does anyone know if there is a fix due for this? I recently bought a Pixel 2 in the Black Friday sales and am having constant issues with notifications despite turning off all data and batter restrictions for apps that I need immediate notifications from. I don't want to mess around with adb etc so at this point I'm close to just returning it for a refund.
    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. Returning it today, unfortunatey.
    12-08-2018 05:40 AM
  23. Al Borland's Avatar
    Returning it today, unfortunatey.
    Your Nexus 5X could very well end up with this problem. If it gets the update to what ever file they push a "fix" out to that actually causes the problem, you will end up in the same boat.

    With that said, my Nexus 6P that I did a lot of testing on when searching for a fix does not exhibit the problem. It is still on Marshmallow and is not connected to a carrier, so one of those two variables may have kept it from getting the bad piece of code. 6P is back in the drawer collecting dust as the S8 works great with doze disabled.

    Al
    12-08-2018 10:17 AM
  24. Al Borland's Avatar
    I am not sure if I am allowed to post links to other sites. The article I want to post was actually about someone saying that they felt like WIFI was *not* turning off during sleep and they wanted it to. But someone discovered a way through ADB to set the mode to be one of 3 options: Keep WiFi on during sleep, Keep WiFi on during sleep only When Plugged In, Don't keep WiFi on during sleep. The ADB command is "adb shell settings put global wifi_sleep_policy x" where x is 2, 1, 0 based on the desired behavior.

    Have you heard about this?
    I tested WiFi keep alive early in my troubleshooting. Wifi connection was alive and well when not getting notifications.

    This is a problem with doze / device idle because of bad code that was pushed out. With doze disabled, notifications are prompt and battery life is greatly improved.

    Al
    12-08-2018 10:22 AM
  25. Brodel's Avatar
    Your Nexus 5X could very well end up with this problem. If it gets the update to what ever file they push a "fix" out to that actually causes the problem, you will end up in the same boat.
    I'm using a regular Nexus 5 on LineageOS at the moment so fingers crossed. It was nice having a new phone to play with but I think I'll hold out a little longer for something else, that or a fix. I hope it's sorted soon for the sake of everyone else though.
    12-08-2018 12:58 PM
152 ... 4567

Similar Threads

  1. Why am I not receiving all of my messages?
    By Android Central Question in forum Android Pie
    Replies: 3
    Last Post: 09-10-2018, 06:58 AM
  2. Replies: 1
    Last Post: 08-21-2018, 03:21 PM
  3. 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, 01:39 PM
  4. Replies: 1
    Last Post: 08-20-2018, 12:19 PM
  5. Q: Yahoo mail notifications and Pie
    By donaldmd13 in forum Google Pixel & Pixel XL
    Replies: 0
    Last Post: 08-20-2018, 10:50 AM
LINK TO POST COPIED TO CLIPBOARD