Hello everyone, as I am experiencing problems with my notifications, more specifically with GMail, as the notifications don't come up while screen is off and they only pop-up after the screen is lit up, I have tried all methods across the internet to fix this, I also used the Samsung Email app, but the problem persists.
So I have found a way to disable doze totally with the command "adb shell dumpsys deviceidle disable" but I found it very unfortunate to do this after every reboot, so is there a way to make this an automated task with Tasker on a NON-ROOTED device, and if there is a a way, can you please explain me step-by-step what should I do to make it work?
Also if there is another workaround for the Notifications, I'll be glad to hear them.
PS. What is the impact on the battery after completely disable Doze?
Related
I haven't ever recieved a push notification! Neither in whatsapp nor in any other application, except in facebook, though they were late and i deactivated them (in facebook)... settings are ok.. what should I do? I own a lumia 710 with the software up-to-date
Do you normally enable "battery saver" mode on your phone? Doing that blocks push notifications.
Do you run the apps that you're expecting push notifications for? If an app doesn't run for a long time, it *may* lose the ability to receive notifications.
Do you have a ton of notification-enabled apps? There's a limit on the number of notification channels, first-come-first-served, although it should be high enough.
Do you have the apps pinned to your Start screen? Many notifications merely update the app's tile, rather than popping a toast message; you won't see that if they aren't pinned.
What apps have you tried? For example, I use IM+, a chat program, and it receives notifications just fine and within seconds of when the IM is sent.
1) no
2) so.. yes i run them, and sometimes in the first ten minutes after i run them i recieve notifications (for example whats app), but i can't open whats app every ten minutes otherwise notifications would be useless :/
3) nono, two or three
4) yes
5) whatsapp, london 2012 (it should advise me when my country gets a medal or when my country races for a medal), and viber for now
The only other steps that come to mind are to:
First, try disabling push notifications in the app, then reboot the phone, then re-enable push notifications.
Second, remove the apps, reboot the phone, and then re-install them (and of course re-enable push).
Third, hard-reset your phone (I realize this is an extreme step, but if you get this far I don't know of anything else).
I don't use any of those apps myself, but I do use others and have not experienced the kinds of problems that you are describing.
no solution yet?
hello im having the same issue yesterday my whats app & viber were working properly and i was receiving Push notifications like always, but then i noticed that i was not receiving messages and i opened the whatsapp and viber, surprise no push notifications.
Is this OS error? or Whats app error? Viber?
GoodDayToDie said:
The only other steps that come to mind are to:
First, try disabling push notifications in the app, then reboot the phone, then re-enable push notifications.
Second, remove the apps, reboot the phone, and then re-install them (and of course re-enable push).
Third, hard-reset your phone (I realize this is an extreme step, but if you get this far I don't know of anything else).
I don't use any of those apps myself, but I do use others and have not experienced the kinds of problems that you are describing.
Click to expand...
Click to collapse
I followed the second advice (i also resetted my apn) and it seems that notifications are received... I'll let you know in case of problems, for now thanks very much!!!
[Antonio] said:
I followed the second advice (i also resetted my apn) and it seems that notifications are received... I'll let you know in case of problems, for now thanks very much!!!
Click to expand...
Click to collapse
You're welcome; I'm glad that worked for you! You may also need to periodically open the app to keep the notification channel open.
I'm here again, i noticed that since the problem has been solved in "Settings > applications > background tasks > advanced" "WhatsApp" has apperead, before it wasn't there. So if anyone had the same problem i'd suggest to check if Whatsapp is actually running in the background, if not it is probably installed wrong, so reinstall it
Thanks again and sorry for my bad english
After updating to B211 I notice, that push notifications for Gmail is not working in sleep (screen off, 3-5 minutes after lock)! Perfectly work when screen is on or in charge mode!
I've tried a lot of power management options, add Gmail to all-time-worked soft! No result, unlocking phone shows me new Gmail messages! Whatsapp and Viber perfectly function on new Android.
What's up? Will root help to solve the problem?
same problem here!
+1
Gmail sometimes work during the sleep, but most of the time it sounds when I unlock the phone. Viber also has some timeouts during the sleep, but not as frequently as Gmail.
I have tried all combinations of settings in the Phone Manager.
Must say that B211 gets much more responsive and stable one week after installation. Notifications delay and some quirks with network lags are all the issues I have at the moment.
Sent from my HUAWEI P8max using XDA-Developers mobile app
svarognsa said:
+1
Gmail sometimes work during the sleep, but most of the time it sounds when I unlock the phone. Viber also has some timeouts during the sleep, but not as frequently as Gmail.
I have tried all combinations of settings in the Phone Manager.
Must say that B211 gets much more responsive and stable one week after installation. Notifications delay and some quirks with network lags are all the issues I have at the moment.
Click to expand...
Click to collapse
here the same with b211, gmail and hangouts 50/50 notifications in sleep mode, Viber maybe 80% ... but in lollipop much more stable this point.
same in typeapp
no solution for this problem?
Solved by root and terminal command "dumpsys deviceidle disable"!
Eldreamer said:
Solved by root and terminal command "dumpsys deviceidle disable"!
Click to expand...
Click to collapse
Since 2 weeks i use this app and give this app an script with this content and now have 100% working notification and i must not disable the huawei phone-manager.
This solution is okay for me, when anyone have a better idea for this script (when the phone boot up), please post!
Greetings, Peter
This solution is okay for me, when anyone have a better idea for this script (when the phone boot up), please post!
Greetings, Peter[/QUOTE]
I was curious how you rooted your phone in order to run the script with the initd app?
Thank you
The phone stopped getting push notifications until after the app is opened (groupme). Any way to fix that?
No one else had experienced this? It's really bad. No notifications from group messaging apps
yebbey2 said:
The phone stopped getting push notifications until after the app is opened (groupme). Any way to fix that?
Click to expand...
Click to collapse
Go to settings, battery, battery optimization and ensure your concerned app is showing you "don't optimize".
Try this and lemme know
I did that already. I searched and saw that that was supposed to be the solution.....but not working for me
In the same settings there is an advanced optimise (top right ... Button)
Make sure that's not ON
harigavara said:
Go to settings, battery, battery optimization and ensure your concerned app is showing you "don't optimize".
Try this and lemme know
Click to expand...
Click to collapse
Thanks. I have this problem too with some apps. I will try this solution
DaveHTC200 said:
In the same settings there is an advanced optimise (top right ... Button)
Make sure that's not ON
Click to expand...
Click to collapse
Did that too....it's a mystery.
Getting delayed notifications too. Particularly with WhatsApp. Can't work it out.
hallo dare said:
Getting delayed notifications too. Particularly with WhatsApp. Can't work it out.
Click to expand...
Click to collapse
this device faces network drops, often not recognized if an app wouldn't show an alert like FB messenger.
these drops are mostly responsible for missed pus messages because the device is not ready at the moment the push happens and it will not be repeated every few seconds (delay)
even worse if one is using several devices, of which one is i.e. at home and the other on the road. while a the working device will receive the push notification the OP6 would not ( you can check for network drops where it shows the IP number, it happens on wifi as well as data and both wifi frequencies BTW.)
so in the last case the message will never arrive because it's delivered, (to the working device at home) and hence no more push attempt will happen until next message arrives.
i and others posted this in OP support, as mentioned above, open you network settings and watch the IP number, it will disappar and re-appear.
also you can use FB messenger where you will frequently see an orange bar saying "connectin" intermittently with a green bar saying "connected"
of course i dunno if that happens on EVERY device but at least it happens on MANY including mine.
since i'm always having 2 phones on man i'm receiving all mails and messages on at least on of the two which also illustrates quite well how often a push will reach one of my various other devices but miss the OP6.
Go to OP support and report the issue if you face it, that way they get aware of the full scale of the issue.
Yep, notifications are patchy for me. Sometimes they arrive on time, other times they arrive but silently without triggering the alert sound. Other times they only arrive after waking the phone up.
And yes, I've set to not optimise these apps and turned off advanced optimisation. It's a bug I reckon, hopefully fixed in 5.1.6
Well, somehow it's working...for now. I did a few things. I updated the Groupme app. I think I changed the notifications from urgent to high. Something worked
yebbey2 said:
Well, somehow it's working...for now. I did a few things. I updated the Groupme app. I think I changed the notifications from urgent to high. Something worked
Click to expand...
Click to collapse
Yeah I've mine set to urgent also, but no real difference. Simple things at this stage for a company like Oneplus, that should not be an issue
I've been having the same issue. Some apps work fine and some don't give me notifications until I actually open the app and refresh it. One is Power Facebook and the other is my visual voicemail app. It's highly annoying as I use the phone for business too. Disabling then in battery optimizations does nothing.
If you have advanced optimization turned on in Battery settings, it will prevent a lot of apps that need to do things in the background from working. It will definitely affect push notifications. I have it on but I've exempted a bunch of apps I want running.
Oops, n/m, see this was discussed already.
I'm not sure if it was switching the notification from urgent to high that did it but it was the last thing I did before it started working....it did go back to urgent by itself afterwards though...notifications still working now
..guys any other facing this issue? Even after update to pie stable recently.. I get this problem, notifications arrive to every other device except op6. When i unlock the phone only then notification arrives...all battery optimizations are off..
any solutions?
I got the same issue with Threema. None of the mentioned settings worked for me.
Any ideas?
Same problem for me. Super annoying. Is this an oxygen os or android problem? Would installing a custom ROM help?
It's the DOZE feature in android that is causing the delay in receiving notifications. Setting an app to "Don't Optimize" does not help; this used to work on nougat when I was using HTC U11 but this does not work in Oneplus 6 PIE.
Run the command below in ADB to completely disable DOZE.
adb shell dumpsys deviceidle disable
The down side is that it will reset to "enable" after reboot so you will need to run the command, again, after rebooting. To get around this, I use Automagic to execute command "dumpsys deviceidle disable" after reboot. You can use Tasker for this, too.
After disabling DOZE, push notifications are received almost immediately. I often see notification for the same message on both my PC and phone.
ausaras said:
It's the DOZE feature in android that is causing the delay in receiving notifications. Setting an app to "Don't Optimize" does not help; this used to work on nougat when I was using HTC U11 but this does not work in Oneplus 6 PIE.
Run the command below in ADB to completely disable DOZE.
adb shell dumpsys deviceidle disable
The down side is that it will reset to "enable" after reboot so you will need to run the command, again, after rebooting. To get around this, I use Automagic to execute command "dumpsys deviceidle disable" after reboot. You can use Tasker for this, too.
After disabling DOZE, push notifications are received almost immediately. I often see notification for the same message on both my PC and phone.
Click to expand...
Click to collapse
Even using this i still do not get notifications i disabled every battery saving function.. I think it is time for a factory reset
i'm using note9 with android 8.1
i used adb shell appops to ignore WAKE_LOCK of some apps.
it works but I found one of the app can still send me pop notification after so.
I reduced the wake lock counts of one messenger by doing so, but i found it still generate hundreds of wake_lock per day.
how do they do it without wake_lock? any way to totally stop them from being active in the background?
i checked with WLD, the messengers got some "alarm", "PlatformComm", and "MicroMsg.Alarm"
how could I turned them off by adb?
they are not on the list of setting/developer options/services, either.
another game cause me a problem. there is no permission allowed in setting/applications. but the app can keep the screen on.
how can I prohibit it from doing so?
I also found that I cannot ingore GPS or location related operations.
(appops set xxxxxxxx ignore), but if I check (appops get xxxxxxxx), they are still "allowed".
is it prohibited?
sorry for so many questions and thanks for your kindly help.
Good morning. Please, i deactivate all possible energy saving but some other thing must be persistent and the gmail notifications, the bank notifications and many other push notifications don't arrive. I gave all permission but there is not thing to do for me. I think this is impossible and perhaps i am wrong something. can anyone tell me step by step what permissions have i to do for be sure that all permissions are given?
when i unlock from standby and wake the screen the notifications appear all at once!!
i read many problems like this but i didn't find a solution.
can anyone help?
thanks
myabc said:
Good morning. Please, i deactivate all possible energy saving but some other thing must be persistent and the gmail notifications, the bank notifications and many other push notifications don't arrive. I gave all permission but there is not thing to do for me. I think this is impossible and perhaps i am wrong something. can anyone tell me step by step what permissions have i to do for be sure that all permissions are given?
when i unlock from standby and wake the screen the notifications appear all at once!!
i read many problems like this but i didn't find a solution.
can anyone help?
thanks
Click to expand...
Click to collapse
Same. No e-mail, Snapchat, Twitter etc notifications.
But on the other hand, messenger and instagram ones work just fine.
OneUI 1.1, Android 9, September update, Exynos. Xposed, Magisk
Could be the sleeping apps function turned on. If so the phone shuts apps down when they haven't been used in a while.
Data saver can also stop apps using data in the background even if they're still running.
I have both turned off and standby power drain is still minimal. WhatsApp is probably the worst consumer next to Gmail. Need both.
this problem is present in many and many samsung galaxy devices and i wonder why yet didn't solve it.... all the sleeping functions are deactivated and so for data saver and battery saver.... nothing to do, but random, not always