Gmail Push Notifications Bug in Deep Sleep on Android 6.0 B211 - Huawei P8max

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

Related

[Q] No push notification on data screen off

Hello everyone,
I have my Huawei Ascend Mate 7 for two months now and I noticed a strange problem : Push notifications of certain apps not working. Only on data while screen is off. Apps like Whatsapp for exemple. If I turn on the screen on or if I press a button (even just "volume up") the notification arrives. Whatsapp is set as "authorized" in the notifications manager. The app is also checked in "protected apps". I use "Normal" mode as Energy profile. Data is set to "always on" in Network menu.
Gmail seems to work correctly on data. Everything works absolutely fine on Wi-Fi.
It seems like certain push notifications "fall aslepp" immediately after the screen has turned off and arrive if I wake the phone up by simply press a button.
Any ideas on what is going on ? It's a very annoying problem. I had an HTC One M8 before and everything worked fine...
Thanks in advance for your help. I precise that I am french, I do my best in English !
microdog said:
Hello everyone,
I have my Huawei Ascend Mate 7 for two months now and I noticed a strange problem : Push notifications of certain apps not working. Only on data while screen is off. Apps like Whatsapp for exemple. If I turn on the screen on or if I press a button (even just "volume up") the notification arrives. Whatsapp is set as "authorized" in the notifications manager. The app is also checked in "protected apps". I use "Normal" mode as Energy profile. Data is set to "always on" in Network menu.
Gmail seems to work correctly on data. Everything works absolutely fine on Wi-Fi.
It seems like certain push notifications "fall aslepp" immediately after the screen has turned off and arrive if I wake the phone up by simply press a button.
Any ideas on what is going on ? It's a very annoying problem. I had an HTC One M8 before and everything worked fine...
Thanks in advance for your help. I precise that I am french, I do my best in English !
Click to expand...
Click to collapse
Can you be specific which apps not coming through ? Check what apps you have and you want to enable..
Do you have apps which will OVERRIDE your phone settings? And you have no idea what those apps enabling and putting in sleep..
microdog said:
Hello everyone,
I have my Huawei Ascend Mate 7 for two months now and I noticed a strange problem : Push notifications of certain apps not working. Only on data while screen is off. Apps like Whatsapp for exemple. If I turn on the screen on or if I press a button (even just "volume up") the notification arrives. Whatsapp is set as "authorized" in the notifications manager. The app is also checked in "protected apps". I use "Normal" mode as Energy profile. Data is set to "always on" in Network menu.
Gmail seems to work correctly on data. Everything works absolutely fine on Wi-Fi.
It seems like certain push notifications "fall aslepp" immediately after the screen has turned off and arrive if I wake the phone up by simply press a button.
Any ideas on what is going on ? It's a very annoying problem. I had an HTC One M8 before and everything worked fine...
Thanks in advance for your help. I precise that I am french, I do my best in English !
Click to expand...
Click to collapse
The same problem happend for my,
Also the gmail app working good when turn screen off.
no push Notifications for certain app's like WhatsApp, Instgram, and others apps.
what is the best way to contect with Huawei?
Could this be because the apps are set to sleep when the screen is off (I.e. protected apps)?
Thus they fire into action as soon as the screen is on?
Guys check in actual app or in settings / manage apps and check individual app if notifications are ticked/on ..
Hello everyone,
Simona Simmy said:
Can you be specific which apps not coming through ? Check what apps you have and you want to enable..
Do you have apps which will OVERRIDE your phone settings? And you have no idea what those apps enabling and putting in sleep..
Click to expand...
Click to collapse
Thank you for your answer Simona Simmy. Apps like WhatsApp, Facebook Messenger or Telegram for exemple. Gmail works fine.
To answer your second question. I tried to factory reset the phone and install those apps in first place to make sure that there are not other apps causing problem.
technogeek said:
Could this be because the apps are set to sleep when the screen is off (I.e. protected apps)?
Thus they fire into action as soon as the screen is on?
Click to expand...
Click to collapse
Thanks for your answer. Apps are set as «*protected apps*» . Indeed, as soon as the screen is on, bam, notifications arrive !
Simona Simmy said:
Guys check in actual app or in settings / manage apps and check individual app if notifications are ticked/on ..
Click to expand...
Click to collapse
They are ticked /on.
I made some screenshots attached to this post to show you the different settings I have.
I precise again that all these apps have completely normal behavior on Wifi. The problem only occurs on data. I didn’t have this problem on my HTC One M8, Nexus 5 and Samsung Galaxy S4.
It’s very annoying because Huawei Ascend Mate 7 is an excellent smartphone !
I don’t know what to do…
Thanks for your help.
microdog said:
Hello everyone,
Thank you for your answer Simona Simmy. Apps like WhatsApp, Facebook Messenger or Telegram for exemple. Gmail works fine.
To answer your second question. I tried to factory reset the phone and install those apps in first place to make sure that there are not other apps causing problem.
Thanks for your answer. Apps are set as «*protected apps*» . Indeed, as soon as the screen is on, bam, notifications arrive !
They are ticked /on.
I made some screenshots attached to this post to show you the different settings I have.
I precise again that all these apps have completely normal behavior on Wifi. The problem only occurs on data. I didn’t have this problem on my HTC One M8, Nexus 5 and Samsung Galaxy S4.
It’s very annoying because Huawei Ascend Mate 7 is an excellent smartphone !
I don’t know what to do…
Thanks for your help.
Click to expand...
Click to collapse
I knew you have one thing wrong ...
You in your 4th picture u have all apps set to notify .. that is WRONG ....
The notify in this case doesn't mean that they will notify you but it will notify pop up if u want allow app push notifications ..
So change desired apps from notify to allow .. ! that is why you not receiving them ..
Check which apps u want 100% allow and the res you trust less select notify ..
In fact, I tried both. "Notify" and "Allow". Beside, the system asked if I wanted to authorize the app to display messages, so I tried that but nothing has changed. I tried to return to "notify" just to see, that's why it's set like that on my screenshots.
Thank you for your help !
microdog said:
In fact, I tried both. "Notify" and "Allow". Beside, the system asked if I wanted to authorize the app to display messages, so I tried that but nothing has changed. I tried to return to "notify" just to see, that's why it's set like that on my screenshots.
Thank you for your help !
Click to expand...
Click to collapse
Leave it to allow and restart phone ..
I set Whatsapp as "Allowed" and restarted the phone. I waited a few seconds till the screen turn off. I send a message to myself with another phone & another account. Nothing happens. The screen stays off. I wait a few minutes, I turn on the screen and bam, the message appears ! This is the behavior on data.
On Wi-fi, when I do the exact same thing, the screen wakes up and I receive the message immediately .
So the problem is still here... Very strange...
microdog said:
I set Whatsapp as "Allowed" and restarted the phone. I waited a few seconds till the screen turn off. I send a message to myself with another phone & another account. Nothing happens. The screen stays off. I wait a few minutes, I turn on the screen and bam, the message appears ! This is the behavior on data.
On Wi-fi, when I do the exact same thing, the screen wakes up and I receive the message immediately .
So the problem is still here... Very strange...
Click to expand...
Click to collapse
which rom u using ?
Yesterday I updated to a more recent ROM that is : MT7-L09V100R001C00B121SP05 via USB (nothing was proposed via OTA)
I just saw that the MT7-L09V100R001C00B127 exists and it appears to be the most recent rom. I could try to install it.
microdog said:
Yesterday I updated to a more recent ROM that is : MT7-L09V100R001C00B121SP05 via USB (nothing was proposed via OTA)
I just saw that the MT7-L09V100R001C00B127 exists and it appears to be the most recent rom. I could try to install it.
Click to expand...
Click to collapse
SP05 is beta dwngr. to B120SP04 try again ..
i am using 127 is beta too and have feeling same behavior as sp05
Applying an update via USB works even when I downgrade ? Is it the way I have to do it ?
Edit : I can't find the option to update via USB anymore.. I have just the local update option...
microdog said:
Applying an update via USB works even when I downgrade ? Is it the way I have to do it ?
Edit : I can't find the option to update via USB anymore.. I have just the local update option...
Click to expand...
Click to collapse
yeah flash it locally
Okay so I'm back to B120SP04 rom as you can see on the screenshot, the flash has factory reseted my phone. So I download and install Whatsapp for a try, I applied the good settings again as you can also see on the screenshots (Protected app, Authorized). The problem is still here : on data, nothing until I put the screen on. On wifi, the notifications arrive each time immediately.
It's very annoying cause I love this phone but I have a lot of foreign contacts who use WhatsApp and I can't be on Wifi all the time...
Your help and your time are very appreciated though !
microdog said:
Okay so I'm back to B120SP04 rom as you can see on the screenshot, the flash has factory reseted my phone. So I download and install Whatsapp for a try, I applied the good settings again as you can also see on the screenshots (Protected app, Authorized). The problem is still here : on data, nothing until I put the screen on. On wifi, the notifications arrive each time immediately.
It's very annoying cause I love this phone but I have a lot of foreign contacts who use WhatsApp and I can't be on Wifi all the time...
Your help and your time are very appreciated though !
Click to expand...
Click to collapse
Going flashing 127 would result same thing.. so u can stay on official 120.. there is no diff. and wait for january update..
last thing you could try to clear cache and clear data on particular app .. but don't think will help..
EDIT ; I can see you have still kernel dirty .. try flash this kernel ..http://en.ui.vmall.com/plugin.php?id=hwdownload&mod=detail&mid=74
EDIT 2 ; just checked that there are problems on whats app in other mobiles .. is the problem only with whats app ?
or some other apps ?
http://forums.androidcentral.com/samsung-galaxy-s5/391426-whatsapp-instant-notification-problem.html
http://forums.androidcentral.com/ge...ini-only-getting-notifications-over-wifi.html
https://www.whatsapp.com/faq/en/wp/21073483
Try this : https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer.noroot&hl=en
I had a similar problem a long time ago on one of my samsung devices. It took me days to solve it, and finally i found one tiny setting was not correct.
I'm using my Note 3 settings and translating from dutch to english so it might be different for you, but nevertheless it could help:
settings> data usage (the one where you can set a limit for mobile data)> menu button > allow data to be synchronized automatically/in background
That's when my push messages started coming in again.
Just hope it helps.
Just stumbled on this thread:
http://forum.xda-developers.com/showthread.php?t=2516849
maybe that could help you to
Simona Simmy said:
Going flashing 127 would result same thing.. so u can stay on official 120.. there is no diff. and wait for january update..
last thing you could try to clear cache and clear data on particular app .. but don't think will help..
EDIT ; I can see you have still kernel dirty .. try flash this kernel ..http://en.ui.vmall.com/plugin.php?id=hwdownload&mod=detail&mid=74
EDIT 2 ; just checked that there are problems on whats app in other mobiles .. is the problem only with whats app ?
or some other apps ?
http://forums.androidcentral.com/samsung-galaxy-s5/391426-whatsapp-instant-notification-problem.html
http://forums.androidcentral.com/ge...ini-only-getting-notifications-over-wifi.html
https://www.whatsapp.com/faq/en/wp/21073483
Try this : https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer.noroot&hl=en
Click to expand...
Click to collapse
What do you mean by "dirty kernel ? And by the way I don't know how to flash one. When I click to "Download" a link error is indicated.
The problem is also on Facebook Messenger or Tapatalk for exemple.
---
Hi Nirak,
Nirak said:
I had a similar problem a long time ago on one of my samsung devices. It took me days to solve it, and finally i found one tiny setting was not correct.
I'm using my Note 3 settings and translating from dutch to english so it might be different for you, but nevertheless it could help:
settings> data usage (the one where you can set a limit for mobile data)> menu button > allow data to be synchronized automatically/in background
That's when my push messages started coming in again.
Just hope it helps.
Just stumbled on this thread:
http://forum.xda-developers.com/showthread.php?t=2516849
maybe that could help you to
Click to expand...
Click to collapse
Thanks for your help.
I don't know if the exact same option exist on Huawei phones, but it could be this : "Enable always-on mobile data" in the Mobile Network Settings menu as shown on the attached screenshot...
I tried Push Notification Fixer (non-root version cause my phone is not rooted) and it doesn't solve the issue. But I don't think it could cause it's not about disconnection after some time like the problem that PNF fixes, it occurs as soon as the screen is off.
I'm not quite sure if it is an Android/Huawei issue or a WhatsApp issue. But this strange behavior occurs with at least 3 other apps so I think it's rather a system issue.
It's a bit confusing. Anyway, thank you all for your contribution !
If you can find this settings page in your phone try the 'menu' button to look if there's something similar i described (always synchronize etc...)

Is there a push email service that works with this phone?

i use gmail only. otherwise adore this phone but there are no email apps that work with getting instant notifications for email.
How is this possible? are there any apps that work? Theres no way Huawei would put this phone out with this issue...
I receive both gmail and exchange push notifications all the time, using the native gmail app and the email app for exchange.
loudog3114 said:
I receive both gmail and exchange push notifications all the time, using the native gmail app and the email app for exchange.
Click to expand...
Click to collapse
the gmail app updates randomly. every time i unlock the screen, the gmail icon shows up and all of a sudden I have unread emails in the inbox.
if i use the native mail app, will this issue be corrected?
Do you have them whitelisted in the power usage firewall?
This is a real issue, I set every single setting possible to try and rectify this problem but I can't. It doesn't appear to affect everyone but I can confirm if affects me.
Never had any issues with Hangout or Whatsapp though like other have had.
I'm not sure if it's hardware revision, software version or what makes it not work for some, very frustrating. I've tried most roms, root, no root, using gmail, using built in mail, using other mail programs but the same results.
loudog3114 said:
Do you have them whitelisted in the power usage firewall?
Click to expand...
Click to collapse
where is this option?
mail is also not an option to protect
Phone manager app, battery manager, protected apps.
loudog3114 said:
Phone manager app, battery manager, protected apps.
Click to expand...
Click to collapse
In this setting, neither Gmail or the native mail app are present. Outlook was present when I had it, but the same issues that gmail had.
The "E-Mail" app works great here (Gmail too)
EGOiST1991 said:
The "E-Mail" app works great here (Gmail too)
Click to expand...
Click to collapse
native, gmail, outlook, bluemail...none of them work. How is this happening? How does everyone not have this issue?
Such an amazing device, such a stupid way to completely ruin it...
Is there any way to get email notifications that I haven't brought up?
TheNamelessMan said:
native, gmail, outlook, bluemail...none of them work. How is this happening? How does everyone not have this issue?
Such an amazing device, such a stupid way to completely ruin it...
Is there any way to get email notifications that I haven't brought up?
Click to expand...
Click to collapse
Root and update rom after my guide?
I have already root and update rom but I am experiencing the same issue as the OP. I have tried EVERYTHING.
Move to app-sys, change doze settings, protect apps, clear dalvik cache and everything I can think of.
Telegram works, whatsapp works but NO email works.
I have tried typeapp/bluemail/gmail/normal mail. None works.
As soon as I lid up the screen all notifications come. When my phone is on the charger all notification comes.
So clearly this has something to do with power management. I am thinking of selling my phone because of this. In my work I MUST HAVE PUSH WORKING. Otherwise the phone is of no use.
Such a great device otherwise, one of the best if not the best I've ever had. Switched from galaxy s6 to this. But WHY HUAWEI ARENT YOU SOLVING THIS ISSUES.
A google search shows the issue has been there since mate 7 and even longer time ago.
I'm not stating this will work for everyone but I'm currently no longer experiencing the gmail issue that I've had since day one and on every rom I've tried.
If you are bootloader unlocked and have some time then give this a go and feedback on your results please.
I've installed rayglobe rom from here: http://forum.xda-developers.com/mate-8/development/rom-rayglobe-rom-t3315682
I then installed Doze from here: http://forum.xda-developers.com/mate-8/general/howto-solving-notification-issues-root-t3294178
As detailed in the Doze instructions I applied tuhinxp04's profile and just change idle timeout and max idle timeout to 60 sec and 600 sec respectively.
gmail and Blackberry hub are working as expected for this first time since getting the phone 3 weeks ago. You may not have the same success but please give it a go
UPDATE: 8 minutes is the longest I've so far had to wait for an email to arrive. Not push but something I can live with. Whatsapp and Hangouts seems fine btw.
The solution of notification problems for all apps of huawei phones (emui) is this brilliance application
Memory Locker on Google play
Lock all of your apps that are having problem with this software and also Lock your app in recent app and see if it is fixed.
Cheers!
Gnasher666 the issue is that push is critical for me. I turn on my screen every 10mins anyway but email push is very critical. Every second 15 second counts and I need to be alerted directly.
I thought i solved it. It worked perfectly for 8 hours and then suddenly died after I recharged my battery. Was even going to write a guide on how I solved it haha but then it died again so no solution here.
I really dont know why its so difficult to make it work because some apps do work like telegram.
So what is so special about that app that works but not others....
I get your frustration, I don't need that timely a notification for emails - 10 - 15 minutes works. Prior to all the playing around I've done I could go from one unlock to the next without receiving a mail notification, so for me this is a great step forward. Obviously, this is a hack, we shouldn't have to do it in the first place and Huawei needs to resolve it. If they fix this issue I'd be able to say without any doubt this is the best phone I've had (and I've had a lot, including top end Androids, iPhone 6S plus etc).
Samiii2 said:
Gnasher666 the issue is that push is critical for me. I turn on my screen every 10mins anyway but email push is very critical. Every second 15 second counts and I need to be alerted directly.
I thought i solved it. It worked perfectly for 8 hours and then suddenly died after I recharged my battery. Was even going to write a guide on how I solved it haha but then it died again so no solution here.
I really dont know why its so difficult to make it work because some apps do work like telegram.
So what is so special about that app that works but not others....
Click to expand...
Click to collapse
read this (doze - android 6.0):
http://www.androidcentral.com/inside-marshmallow-what-doze-how-do-i-use-it-and-what-does-it-do
You'll still get notified when "high-priority" apps need your attention. That means things like phone calls or SMS messages can get through (and thus waking up your dozing phone) as well as any app that declares itself as high-priority. Other things, like email notifications or Clash of Clans telling you your gold mine has leveled up aren't going to come in and wake your phone up.
This doesn't mean you never get any notifications while your phone is idle. Google uses what they call an "Idle maintenance window" where they pick up any notifications that may be available in one big batch. Then your phone can quickly go back to sleep.
When you wake your phone by side button, notiffication will arive immediatly (sorry 4 bad english)
not confirming anything - but memory locker may work. i set -17 to outlook after disabling gmail and I am getting instant emails. more testing until confirmation.
after powering off and on again, had to do all the settings again. so strange, like it sometimes works.
p_noch said:
The solution of notification problems for all apps of huawei phones (emui) is this brilliance application
Memory Locker on Google play
Lock all of your apps that are having problem with this software and also Lock your app in recent app and see if it is fixed.
Cheers!
Click to expand...
Click to collapse
Is it best to set the things you want to always stay active -17?

Push notifications

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

Galaxy s10e doesn't notify very often

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

Mate 30 pro messenger push notifications?

Hi, just bought a mate 30 pro a few days ago without google services. I side loaded all the apps I needed and everything was working great until I realised I wasn't getting my facebook messenger notifications. If the app is open they come through but when I close the app it's like it goes to sleep after about 5 mins. I made messenger my default sms app to see if that would help and all my texts worked fine but my facebook messages just won't work.
I have all my notifications on, app launch set to manual to allow auto-launch, secondary launch and run in background. I even allowed all permissions but didn't make a difference. I have performance mode on and have selected stay connected when device sleeps.
Has anyone else had any problems like this or know how to fix it? I've done a factory reset and been through every option I could think of. I love the mate 30 pro but probably going to have to get rid of it if i can't fix this problem.
Dan
Dan2700 said:
Hi, just bought a mate 30 pro a few days ago without google services. I side loaded all the apps I needed and everything was working great until I realised I wasn't getting my facebook messenger notifications. If the app is open they come through but when I close the app it's like it goes to sleep after about 5 mins. I made messenger my default sms app to see if that would help and all my texts worked fine but my facebook messages just won't work.
I have all my notifications on, app launch set to manual to allow auto-launch, secondary launch and run in background. I even allowed all permissions but didn't make a difference. I have performance mode on and have selected stay connected when device sleeps.
Has anyone else had any problems like this or know how to fix it? I've done a factory reset and been through every option I could think of. I love the mate 30 pro but probably going to have to get rid of it if i can't fix this problem.
Dan
Click to expand...
Click to collapse
Have you removed the app from the battery optimisations list
lawtq said:
Have you removed the app from the battery optimisations list
Click to expand...
Click to collapse
Can't believe I missed that, just removed it and it's still works after being idle for 5 mins which it didn't before so hopefully it's fixed. Thanks so much for you help really appreciate it.
Dan2700 said:
Can't believe I missed that, just removed it and it's still works after being idle for 5 mins which it didn't before so hopefully it's fixed. Thanks so much for you help really appreciate it.
Click to expand...
Click to collapse
That's what we're here for
lawtq said:
That's what we're here for
Click to expand...
Click to collapse
I have none of my "power apps" (apps i use on the daily) in the optimization list. Still no notifications.
I have the apps set manually managed to run in background etc. STILL NO PUSH NOTIFICATIONS.
All things side loaded etc.
Please help.
strigif0rm3s said:
I have none of my "power apps" (apps i use on the daily) in the optimization list. Still no notifications.
I have the apps set manually managed to run in background etc. STILL NO PUSH NOTIFICATIONS.
All things side loaded etc.
Please help.
Click to expand...
Click to collapse
Go to notification settings and turn on sounds and "on top" option. All notifications works well for me - asian version of mate 30 pro.
Same thing happened to me. What i did was reset phone update to the firmware and after that it went back to normal. For some reason it stopped working after i used the app phone clone tranffering old apps from my old mate 10. Hope it helps...
Same with me on my Mate 30 Pro 5G chuna version
Manage launch already set manuall and auto launch,secondary launch and keep running background all is ON..but same no notif
Yes..same in here too..mate 30 pro 5G china
All launch manually,it means run background,auto start always on..but still no luck..after 5 mins idle..no notif.
But my fren have it with global rom,and it work normally
No lock apps
I wonder if the reasons behind this problem are also the reason behind 'alarms' not going off sometimes. For example, I have an app called 'Alarm Clock Radio', and it seems like it needs to be the 'front' app for the alarm to remain set overnight? It seems to work just fine if I 'test' it by setting alarms in the near future, but it rarely lasts overnight. This app adds a notification when it has an alarm set, but that is sometimes not there and that seems to be coincident with the alarm not working...
oh, and also Accubattery, that is supposed to alert you when the charge gets to a certain level, but sometimes doesn't....
davidmaxwaterman said:
I wonder if the reasons behind this problem are also the reason behind 'alarms' not going off sometimes. For example, I have an app called 'Alarm Clock Radio', and it seems like it needs to be the 'front' app for the alarm to remain set overnight? It seems to work just fine if I 'test' it by setting alarms in the near future, but it rarely lasts overnight. This app adds a notification when it has an alarm set, but that is sometimes not there and that seems to be coincident with the alarm not working...
oh, and also Accubattery, that is supposed to alert you when the charge gets to a certain level, but sometimes doesn't....
Click to expand...
Click to collapse
I made the changes to the 'Battery optimisation', so that the apps that I want to run long term, for whatever reason, aren't 'killed'...ie set to "Don't allow - May drain your battery more quickly"; but they still don't last until the next morning. I would have thought that apps like 'Alarm clock radio' would set some kind of system alarm that would launch the radio app, rather than have to have the app running continuously.
I ran the app Push Notification Tester and it comes back with error after 4 tests. Not registered for push notifications. It doesn’t matter if you change settings or not you don’t receive push notifications. Weird because I get normal SMS and WhatsApp just fine!
Acidburnsn0w said:
I ran the app Push Notification Tester and it comes back with error after 4 tests. Not registered for push notifications. It doesn’t matter if you change settings or not you don’t receive push notifications. Weird because I get normal SMS and WhatsApp just fine!
Click to expand...
Click to collapse
me too!!
wetfloor77 said:
me too!!
Click to expand...
Click to collapse
I think it has to do with the Mate 30 Pro not being registered with google and because so many apps as made for the google services, you can’t get Push Notifications to work 100%
All apps that reply on play service to send push notifications wont work you cant pass all the test.
nerds said:
All apps that reply on play service to send push notifications wont work you cant pass all the test.
Click to expand...
Click to collapse
Indeed. My question is do all apps on Google Android require GMS to send Push Notifications?
I ask because I know that not only Google run the notification services, but do they all use the GMSes on Google Android phones, or can phones have multiple on-device services to consolidate communications with cloud-based push notification services?
Can, eg, a Pixel phone, also install Huawei Managed Services?
davidmaxwaterman said:
Indeed. My question is if do all apps on Google Android require GMS to send Push Notifications?
I ask because I know that not only Google run the notification services, but do they all use the GMSes on Google Android phones, or can phones have multiple on-device services to consolidate communications with cloud-based push notification services?
Can, eg, a Pixel phone, also install Huawei Managed Services?
Click to expand...
Click to collapse
Very good question. I have been looking into it but so far I thinks that’s why Huawei is trying to get all the apps on there system! (HMS)
davidmaxwaterman said:
Indeed. My question is do all apps on Google Android require GMS to send Push Notifications?
I ask because I know that not only Google run the notification services, but do they all use the GMSes on Google Android phones, or can phones have multiple on-device services to consolidate communications with cloud-based push notification services?
Can, eg, a Pixel phone, also install Huawei Managed Services?
Click to expand...
Click to collapse
Apps like the whatsapp, messenger, viber etc still work. Apps that work perfectly before you install the GMS will receive push notifications. Because they dont rely on the play service.
nerds said:
Apps like the whatsapp, messenger, viber etc still work. Apps that work perfectly before you install the GMS will receive push notifications. Because they dont rely on the play service.
Click to expand...
Click to collapse
Exactly, I realised after installing GMS on Mate 30 Pro that push notification on Gmail, Outlook and most apps are not working. Instant messaging, social media and messenger are working just okay with or without GMS.
I just installed GMS on my mate30 pro, everything works well, just push notification is not working.
I ran the tester and there is a error of registration error of push notification.
How to fix this?

Categories

Resources