Related
Hi all - new to this forum so apologies if the question has been posed already. I couldn't find a similar thread.
I've been having consistent trouble since getting my VZW Droid 2 in September with the phone not delivering important things like emails, text messages, Google chat messages and WhatsApp messages after long periods of screen inactivity (ie. an hour).
I'll turn on the screen and unlock it, then it goes and fetches those important messages like "I'm on fire - please come put me out now!". Suddenly I'll go from zero notifications to 10 of each.
I am using K9 mail, WhatsApp, Handcent SMS, Gmail, Twitter and all seem to be affected by this.
I checked all my settings, and it's not set up to sync only on wifi or anything, and each application is set up so that it should be sync'ing in the background.
I thought 2.3.20 was supposed to fix this issue, so I made sure to update the phone. However, I'm still having issues. I know I did some things to optimize the paltry battery life when I first got the phone, but can't find anything that should be causing this - and can't remember everything I did.
VZW's answer was to do a full factory reset, but I'd like to avoid that if at all possible because I'm too lazy to put everything back the way I have it.
Advice?
Thanks
Try:
Settings > Battery Manager > Battery Settings and making sure its not set to anything other than performance mode as anything else will do exactly as you are describing.
I know custom ROMs may also cause issues.
I've noticed that my S7E Exynos has a similar problem to my S6E (which I returned) with getting notifications delayed when idle for a while and would only appear when device would be picked up and unlocked. I've been using my Nexus 5 MM for the past couple of months (between the S6E and S7E) and never had this issue so I was wondering what might be causing this?
At first I thought it might be Samsungs 'App Optimization' so I've disabled all my apps that push notifications to see if that fixes it. Hopefully this 'App Optimization' doesn't affect MM Doze.
Thanks
ombadboy said:
I've noticed that my S7E Exynos has a similar problem to my S6E (which I returned) with getting notifications delayed/only when device would be picked up and unlocked. I've been using my Nexus 5 MM for the past couple of months (between the S6E and S7E) and never had this issue so I was wondering what might be causing this?
At first I thought it might be Samsungs 'App Optimization' so I've disabled all my apps that push notifications to see if that fixes it. Hopefully this 'App Optimization' doesn't affect MM Doze.
Thanks
Click to expand...
Click to collapse
From the Doze docs:
GCM is optimized to work with Doze and App Standby idle modes by means of high-priority GCM messages. GCM high-priority messages let you reliably wake your app to access the network, even if the user’s device is in Doze or the app is in App Standby mode. In Doze or App Standby mode, the system delivers the message and gives the app temporary access to network services and partial wakelocks, then returns the device or app to idle state
It means unless push-notifications are of high-priority, they will not be delivered until the device wakes up (by user interaction) or during a Doze maintenance window. This applies only when the device is in Doze mode, if it's yet to enter Doze, then that doesn't apply. Also,
An app that is whitelisted can use the network and hold partial wake locks during Doze and App Standby. However, other restrictions still apply to the whitelisted app, just as they do to other apps. For example, the whitelisted app’s jobs and syncs are deferred, and its regular AlarmManager alarms do not fire. An app can check whether it is currently on the exemption whitelist by calling isIgnoringBatteryOptimizations()
Exclude the desired applications from battery optimization. Please note, there are two optimization things, choose the one from Settings->Battery->click Battery Usage button -> More (right top) -> Optimize Battery Usage.
I've disabled stuff from App Optimization, but the problem still persists..
ssrij said:
From the Doze docs:
GCM is optimized to work with Doze and App Standby idle modes by means of high-priority GCM messages. GCM high-priority messages let you reliably wake your app to access the network, even if the user’s device is in Doze or the app is in App Standby mode. In Doze or App Standby mode, the system delivers the message and gives the app temporary access to network services and partial wakelocks, then returns the device or app to idle state
It means unless push-notifications are of high-priority, they will not be delivered until the device wakes up (by user interaction) or during a Doze maintenance window. This applies only when the device is in Doze mode, if it's yet to enter Doze, then that doesn't apply. Also,
An app that is whitelisted can use the network and hold partial wake locks during Doze and App Standby. However, other restrictions still apply to the whitelisted app, just as they do to other apps. For example, the whitelisted app’s jobs and syncs are deferred, and its regular AlarmManager alarms do not fire. An app can check whether it is currently on the exemption whitelist by calling isIgnoringBatteryOptimizations()
Click to expand...
Click to collapse
So, if your phone is in Doze, you won't receive push unless they are 'high priority' ? How does one set what is high priority or not? Kind of defeats the purpose of push notifications if you ask me. If I receive a WhatsApp for example, ideally i'd like to know I have one ASAP, and not wait for user interaction to receive it.
ombadboy said:
So, if your phone is in Doze, you won't receive push unless they are 'high priority' ? How does one set what is high priority or not? Kind of defeats the purpose of push notifications if you ask me. If I receive a WhatsApp for example, ideally i'd like to know I have one ASAP, and not wait for user interaction to receive it.
Click to expand...
Click to collapse
Nothing you can do about it, the developer has to switch to using GCM high-priority notifications. As the docs says,
If your server and client already uses GCM, make sure that your service uses high-priority messages for critical messages, since this will reliably wake apps even when the device is in Doze
If your users must see a notification right away, make sure to use a GCM high priority message
So developers are meant to use high-priority push notifications for such purposes. It's the developer's fault if they don't use GCM high-priority messages, which are optimized for Doze.
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
Cst79 said:
Exclude the desired applications from battery optimization. Please note, there are two optimization things, choose the one from Settings->Battery->click Battery Usage button -> More (right top) -> Optimize Battery Usage.
Click to expand...
Click to collapse
That will not work. From the doze docs,
An app that is whitelisted can use the network and hold partial wake locks during Doze and App Standby. However, other restrictions still apply to the whitelisted app, just as they do to other apps. For example, the whitelisted app’s jobs and syncs are deferred, and its regular AlarmManager alarms do not fire. An app can check whether it is currently on the exemption whitelist by calling isIgnoringBatteryOptimizations().
High-priority GCM messages do not otherwise affect Doze mode, and they don’t affect the state of any other app. This means that your app can use them to communicate efficiently while minimizing battery impacts across the system and device. (meaning only high-priority notifications can wake up the device, other notifications are ignored)
ssrij said:
Nothing you can do about it, the developer has to switch to using GCM high-priority notifications. As the docs says,
If your server and client already uses GCM, make sure that your service uses high-priority messages for critical messages, since this will reliably wake apps even when the device is in Doze
If your users must see a notification right away, make sure to use a GCM high priority message
So developers are meant to use high-priority push notifications for such purposes. It's the developer's fault if they don't use GCM high-priority messages, which are optimized for Doze.
---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------
That will not work. From the doze docs,
An app that is whitelisted can use the network and hold partial wake locks during Doze and App Standby. However, other restrictions still apply to the whitelisted app, just as they do to other apps. For example, the whitelisted app’s jobs and syncs are deferred, and its regular AlarmManager alarms do not fire. An app can check whether it is currently on the exemption whitelist by calling isIgnoringBatteryOptimizations().
High-priority GCM messages do not otherwise affect Doze mode, and they don’t affect the state of any other app. This means that your app can use them to communicate efficiently while minimizing battery impacts across the system and device. (meaning only high-priority notifications can wake up the device, other notifications are ignored)
Click to expand...
Click to collapse
What doesn't make sense though is why did I never have this issue with my Nexus 5 (running MM) and I have this using my S6E and S7E (again, with MM)
ombadboy said:
What doesn't make sense though is why did I never have this issue with my Nexus 5 (running MM) and I have this using my S6E and S7E (again, with MM)
Click to expand...
Click to collapse
Its all about timings. Your device enters Doze after 30 mins of being stationary, if your device moves then the time will be reset and it'll wait another 30 mins. Push notifications will be only delivered if it's high priority, otherwise it'll be delivered during a maintainence window or when you turn on your device. It could be that your Nexus 5 didn't enter Doze mode as often as your S7/S6 does, maybe you move your S6/S7 too much or you let it stay in Doze mode for longer (maintainence windows become less frequent as time passes by)
Try putting both your Nexus 5 and S7 on idle for an hour and then send a test email to your GMail account (should be added to the GMail app on both) and see which one gets it first.
There's a small possibility that Samsung modified certain values regarding Doze.
Sent from my Samsung Galaxy S7 Edge using XDA Labs
What notifications aren't coming through?
Sent from my SM-G935T using Tapatalk
Nearly all. Ive noticed WhatsApp and Inbox, but it seems even Sync for reddit is having this issue (evem worse for the latter as I need to open the app to get the notification which defeats the purpose of having notifications completely).
jrwingate6 said:
What notifications aren't coming through?
Sent from my SM-G935T using Tapatalk
Click to expand...
Click to collapse
Nearly all. Ive noticed WhatsApp and Inbox, but it seems even Sync for reddit is having this issue (evem worse for the latter as I need to open the app to get the notification which defeats the purpose of having notifications completely).
Just tried an experiment. Put my phone down next to my gf's HTC A9 for 45 mins (so they both enter Doze), sent an e-mail to both; HTC received and showed notification fine, S7E nothing.. Had to open the Inbox app to even get the e-mail. Both on the same WiFi network.
edit: Tried my Nexus 5 as well, and also on/off WiFi and 4G, only one that has the issue is the S7E, all devices on MM.
ombadboy said:
Just tried an experiment. Put my phone down next to my gf's HTC A9 for 45 mins (so they both enter Doze), sent an e-mail to both; HTC received and showed notification fine, S7E nothing.. Had to open the Inbox app to even get the e-mail. Both on the same WiFi network.
edit: Tried my Nexus 5 as well, and also on/off WiFi and 4G, only one that has the issue is the S7E, all devices on MM.
Click to expand...
Click to collapse
Same problem happened without touch nothing...
Same here. Have you installed the latest OTA? Few people on Reddit have same issue and all seem to have it after the update. And me. I have to open WhatsApp to receive messages.
Sent from my SM-G935F using Tapatalk
undercover said:
Same here. Have you installed the latest OTA? Few people on Reddit have same issue and all seem to have it after the update. And me. I have to open WhatsApp to receive messages.
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
It is the latest APF2 update from Samsung. My phone was running great before that update. Now, all the messages are delayed and i have to open the apps to receive them. It has nothing to do with Doze or Battery optimization .
I decided to factory reset the phone and now it is working as normal (but i have to admit that I factory reset the S7 edge more than any other phones in my life!!!)
Same issue I'm having as well with my Galaxy S7 (AT&T).
Push notifications are severely delayed after the phone has been idle for awhile.
If I turn on my screen, notifications all come rushing in at once.
same issue as above. when left for awhile no notifications are coming through until the device is picked up and turned on. even text messages are not being notified.
any fixes for this? or anything..
batteriesNI said:
same issue as above. when left for awhile no notifications are coming through until the device is picked up and turned on. even text messages are not being notified.
any fixes for this? or anything..
Click to expand...
Click to collapse
As far as I know, there aren't any fixes yet. I guess we all have to wait till an update is released that fixes the problem.
It seems obvious my wife had the same problem over 1 week and it was because she had enabled power saving mode
?
Sent from my SM-G935W8 using XDA-Developers mobile app
NYC718 said:
As far as I know, there aren't any fixes yet. I guess we all have to wait till an update is released that fixes the problem.
Click to expand...
Click to collapse
Hi,
I think I was having a similar issue, and I believe it's related to the Power Save feature, are you with that feature turned on?
All the best,
~Lord
MY girlfriend bought this phone a month ago.
There were problems from the start - sometimes, but rarely, she didnt receive notifications from both IM's she is using, Viber and Whatsapp. Only when she enters the app, she sees that there are actually new messages - I checked Emotion UI settings for Battery manager and both apps are protected from the start (should work in the background). It wasnt such a big deal until today when she noticed that not a single message (7 viber and 2 whatsapp messages) didnt "go through" and only when the app is opened, she sees the message received. On top of that, problem got even bigger in the evening - in the middle of chat session, she doesnt even receive messages, until certain delay. I checked, it was not mobile data/wifi issue as everything else was working fine, one phone next to another, I send her a message and her's phone doesnt receive, while her phone is pretty much able to run a 1080p video from YT
Any solution to this .. ? she needs Viber very much as her work group from her job uses Viber extensively and she cant afford to miss new messages
tried: restarting, checking for EUI blocking apps, checked data/wifi for always ON on sleep, checked everything there is ..
pls help XDA!
Have u allowed notifications? Go to settings/apps and find whatsapp there.Tap on Notifications and Allow Notifications.
I have this same problem with others apps I tried ever everything, I think it's problem with Huawei optimizations (same says others, maybe this will be fixed in Android N).
i had a similar problem with my other apps...i just made them system apps... you need root for it, but no problems since
I Dont have any such issue.I Have tried sending Whatsapp message on my phone from another phone and it gave me notification instantly.
I'm using Viber, Telegram and whatsapp on this phone and I don't have such issues.... I'm not using any of the battery management or optimization apps by the way.
Sent from my vivo V3 using XDA-Developers mobile app
I have the same problem and still found no solution... In WhatsApp, you can see the when it goes off on your mobile - just open the desktop WhatsApp version on your PC and wait until a message saying something like "your mobile is not connected" appears.
Timura said:
I have the same problem and still found no solution... In WhatsApp, you can see the when it goes off on your mobile - just open the desktop WhatsApp version on your PC and wait until a message saying something like "your mobile is not connected" appears.
Click to expand...
Click to collapse
try to set in phone manager all apps in protected apps section and keep the phone in performance power plan not smart...
snapdesign said:
try to set in phone manager all apps in protected apps section and keep the phone in performance power plan not smart...
Click to expand...
Click to collapse
it worked for me when adding the apps i was having problems with to the phone manager exceptions
pewtel said:
it worked for me when adding the apps i was having problems with to the phone manager exceptions
Click to expand...
Click to collapse
i have the similair problem
i add the apps to protected apps but nothing changes, still no notifications
any new solutions, maybe?
What battery profile are you using? It looks like Smart is affected by this problem, while Performance is not. I guess it somehow breaks the GCM service used to deliver push notifications for those apps.
TheKingOfPain said:
What battery profile are you using? It looks like Smart is affected by this problem, while Performance is not. I guess it somehow breaks the GCM service used to deliver push notifications for those apps.
Click to expand...
Click to collapse
I have checked and power plan is on performance..., still no notifications
Yeah, it happens to be broken on Performance too.
Damn phone.
I have the same problem whith whatsapp from time to time, this is a huge problem, can't believe that huawei hasn't adreessed it yet...
daviderules said:
I have the same problem whith whatsapp from time to time, this is a huge problem, can't believe that huawei hasn't adreessed it yet...
Click to expand...
Click to collapse
Guys found a solution for the problem but need somebody to test to confirm. I connect VPN with opera max or other VPN app and then i get notifications as normal with mobile data. Anybody who can try and see if it works for them too?
I've had the same issue with mine since I got it. In my case I'm not using WhatsApp but Ebay and Amazon Seller apps. So that means that the problem is the phone, not something specific to any app. I often get a backlog of notifications when I unlock it, all at once.
I've tried every bit of advice offered in this thread and elsewhere. I'm now trying the Opera Max app - it could well be a useful work-around. I suppose if something changes the way it communicates by adding a proxy then it may be enough to bypass whatever thing is causing the problem, hopefully just until Huawei get round to actually fixing this widespread problem.
Hello!
Regarding push notifications issue i have some news.
- on P9 Lite, VNS-L21, new stock with B114 firmware, whatsapp, skype, gmail - works fine on both profiles (smart and performance)
- after a few days i make update from B114 to B120, B131 and B151 firmware and that issue appear only at whatsapp (skype and gmail work fine)
- first workaround was to maintain active whatapp application when device enter in sleep, simply start application and notifications appears.
- second workaround is to revert firmware to B114 version on wich my device work fine with whatsapp.
- final workaround is in Huawei yard....
PS: if whatsapp is closed notifications appear when i open application, not when i wake up device...
My firmware is VNS-L31C432B130 which I installed manually, using the procedure on this forum. I did this to enable the second SIM, as for some stupid reason they disable this feature on UK phones, and Carphone Warehouse don't tell you about it when you order one.
It looks like it's pretty widespread though - there seem to be lots of reports on the web, so I don't think I've caused this problem.
I got a notification from the eBay App over 2 hours late this morning, after I installed Opera Max the other day. It's possible that this was an error at ebay's end though - their IT systems can be quite random sometimes anyway, so I wouldn't take this as evidence that Opera Max doesn't fix the problem! There are far too many variables in the chain to conclude anything really.
However, I've just manually updated the firmware from VNS-L31C432B130 to VNS-L31C432B151. I've checked and all my app and performance power settings are still set OK.
If my phone now starts working properly then I won't know whether Opera Max or the firmware update fixed it. If so then I'll try uninstalling Opera Max so I can report back here on it.
Update: after a few reinstall of B122, B131 and B151 firmware, notifications of whatsapp works again properly, but now i have problem of syncing yahoo mail account (sync error)....
Hi to everyone!
I have many friends that have Huawei smartphones and all them find out
the same problem with the notifications of some apks (Whatsapp and Telegram).
I have tried to set them like protected apk and look if others options
can block their notifications.
I have tried to install 3rd party apk to force notifications but it works
sometimes.
This problem came out when the smartphones have been upgraded
from Android 5.x to 6.0...from EMUI 3.x to EMUI 4.x
Someone said that the problem is the EMUI interface....with EMUI 5.x and Android 7
there is the same problem?
Have someone find out a definitive solution?
The Huawei have said something?
Have a nice day!
I had the same trouble with some application, the method that worked for me was this one : http://www.forbes.com/sites/bensin/...uawei-phone-heres-how-to-fix-it/#7c4eb3c78aa7
Also in the battery manafer, set the alim mode to "performance"
I have been same problem with push notifications and i find a way to resolve it. Applications with that issue must be locked in task manager.
If you can tweak that applications (gmail, whatapp, viber, skype, etc) to be "immune" at "close all" command of task manager
(with Lock symbol at upper right corner) that remain active when screen is off, even after restart the device.
With that applications locked, is not important if phone is in Smart/Performance mode or if an application is protected or not...
The trick is to lock a application in task manager. Somebody can try this solution and post result here...
From 2-3 weeks my device work properly regarding push notifications , tested from another phone any time, all notifications appear ok.
The real problem
Hi!
Thanks to everyone!
I have tried various solutions, but finding however an anomaly.
If arriving messages with Whatsapp or Telegram by direct contact all work,
if the message comes from a group the notifications will not come unless arrive a direct message.
Someone has encountered the same thing?
Have a nice day!
If its only group message, it may habe somethinf to do with the group being "Silent", check the group settings !
Basylisk said:
If its only group message, it may habe somethinf to do with the group being "Silent", check the group settings !
Click to expand...
Click to collapse
Thanks for your response.
I deliberately silenced some groups, others have notifications attived but them only comes when I open the application or if comes a message from a direct contact.
Phone battery manager. Put social chat apps that need to have real-time notifications as protected.
In settings, apps, advanced, ignore optimizations.
Whitelist the same apps.
That's all.
Hi!
Thanks for everyone.
The problem seems to be almost gone. On two days of testing only twice notifications groups were arrived late or partially.
I hope it is a definite solution and not an occasional event.
Have a nice day.
I have this problem with Twitter and Gmail;
As Twitter is protected and on the ignore optimization list but gmail is no where to be found in both menus;
Both apps are allowed to use what ever network (Data or WiFi)
I've been reading a lot about this one, but luckily never experienced it myself. Every notification arrives on time.
Sent from HUAWEI P9 lite via Tapatalk
I've tried everything mentioned but the only thing that worked for me was to use a VPN app on mobile data then I get all notifications. Never missed any after using VPN try it. I use Opera Max but there are many others as well.
Hi all
I have searched everywhere and I can't find anybody else with this issue... I surely can't be the only one...?
Since updating my Nexus 6P to Oreo I appear to have some apps not show a notification icon or anything in my notification drop down menu. My phone will vibrate as normal but my screen will not show any notifications...
This happens for Outlook (I will receive a normal notification and email preview on my Huawei watch running 2.0 but nothing at all on phone apart from its vibration), FotMob (a goal alert service if anyone is unfamiliar with it) and even push notifications on Facebook (to name a few). WhatsApp and text messages, for example, are working as normal.
I have reset all my notification and permissions settings TNA and even uninstalled and reinstalled the troublesome apps. Same result
Is this just apps not being fully supported for 8.0 or is this a different issue?
I really don't want to resort to a factory reset...
Thanks in advance
The most important thing i hate about Oreo .. is that Power notification control is missing the is so important for me!!
Flicker20 said:
Hi all
I have searched everywhere and I can't find anybody else with this issue... I surely can't be the only one...?
Since updating my Nexus 6P to Oreo I appear to have some apps not show a notification icon or anything in my notification drop down menu. My phone will vibrate as normal but my screen will not show any notifications...
This happens for Outlook (I will receive a normal notification and email preview on my Huawei watch running 2.0 but nothing at all on phone apart from its vibration), FotMob (a goal alert service if anyone is unfamiliar with it) and even push notifications on Facebook (to name a few). WhatsApp and text messages, for example, are working as normal.
I have reset all my notification and permissions settings TNA and even uninstalled and reinstalled the troublesome apps. Same result
Is this just apps not being fully supported for 8.0 or is this a different issue?
I really don't want to resort to a factory reset...
Thanks in advance
Click to expand...
Click to collapse
How were the apps installed? If you restored them through Titanium Backup, the device id for GCM push notifications will be wrong.
Uninstall, clear cache, then install the app from the play store.
Hi krs360
The apps were installed through play store. I am running fully stock, unrooted Android 8.0
Thanks
I have the same problem. Gmail is set to blink the notification light - but it doesn't! Argh!
FloomFloomBroom said:
I have the same problem. Gmail is set to blink the notification light - but it doesn't! Argh!
Click to expand...
Click to collapse
There is something sketchy about oreo notification. Sometimes the LED simply doesn't blink at all , sometimes it simply blink very very slow.
Aquamail works fine
Gmail also doesn't pop up with a notification when the screen is off. But aqua mail does, and the notification light also works.
I think I found the answer to this. Basically it's a change in the SDK that requires the app author to fix. (I know, I just discovered the same problem in apps I wrote.)
https://stackoverflow.com/questions/43093260/notification-not-showing-in-android-8-oreo
Nothing quite so heartbreaking than to find a singular post/thread on the internet from someone having the same issue as you, only to discover that no solution has been posted and that it's old.
For what it's worth, having the same exact issue. Phone updated OTA a few weeks ago, and at first I was having the battery drain issue but that seemed to get fixed during the patch update, but now I've noticed that Outlook Calendar reminders, as well as Facebook Messenger App Notifications (new messages) no longer make a sound and/or show up as a notification on my phone. This is extremely annoying/difficult especially with Outlook as I have a really terrible time keeping things straight or organized, so I rely pretty heavily on the calendar reminders I set in it for daily/weekly/monthly things.
I could be wrong but I think it's related to notification lights.I wasn't getting anything until I turned it on and suddenly I was.
Hi,
Has anyone come across the solution for this issue? I have had it for over a month now and I really don't understand what the issue could be.
same issue with OREO (ZUK Z2 PRO)
also cannot edit permissions because it doesn't handle a device with plenty apps installed (+800) it hangs and crash / go back to main menu without letting you edit anything in options