Android M Doze and gmail sync. - Nexus 5 Q&A, Help & Troubleshooting

Right This is probably more an android in geenral thing...
When I'm using my computer I tend to use my N5 as a notification device for emails (ever since google disabled support for gmail notifier).
Anyways, that's worked quite well for some time, my phone happily rings away whenever I get emails or I see the notification LED flashing away to let me know there's something there...until I've installed the OTA for Marshmallow.
Because of Doze and leaving the phone alone for quite a while at a time...it doesn't sync my gmail whenever i get a mail...which is kind of annoying as I do like to get my mail notifications as they come in.
Since monday I've been searching around trying to figure out if there's any way to get gmail to sync during doze but so far I havent had any luck at all...I'm starting to feel like it's impossible to keep gmail syncing during doze due to googles decision it shouldn't :| And I'm very much tempted to revert to 5.1.1.
Any ideas? Thanks

Go into battery, click the three dots icon and go to battery optimisation. Then select all apps from the drop down list, find gmail and select don't optimise.
Haven't tried it myself but the help sort of indicates this will stop apps from dozing[emoji4]. Worth a try anyway!
Cheers,
Dave

froggy666uk said:
Go into battery, click the three dots icon and go to battery optimisation. Then select all apps from the drop down list, find gmail and select don't optimise.
Haven't tried it myself but the help sort of indicates this will stop apps from dozing[emoji4]. Worth a try anyway!
Cheers,
Dave
Click to expand...
Click to collapse
Thanks for the reply, that's the first thing i tried.
Left it alone a while, sent myself a test email and...nothing. Left it 10 minutes and as soon as i turned the screen on it sync'd :|

Ah that's annoying. I wonder if setting Android System or some of the other system type apps to not optimised too would ensure the various syncs run?
Cheers,
Dave

froggy666uk said:
Ah that's annoying. I wonder if setting Android System or some of the other system type apps to not optimised too would ensure the various syncs run?
Cheers,
Dave
Click to expand...
Click to collapse
Seems they made doze too powerful, i wonder if calls go through...
*RING RING* sorry this users phone is currently dozing, call back later

froggy666uk said:
Ah that's annoying. I wonder if setting Android System or some of the other system type apps to not optimised too would ensure the various syncs run?
Cheers,
Dave
Click to expand...
Click to collapse
Mmm I'm wary to start changing things since I don't know what will actually do it or if doze will doze whatever you try...
peachpuff said:
Seems they made doze too powerful, i wonder if calls go through...
*RING RING* sorry this users phone is currently dozing, call back later
Click to expand...
Click to collapse
Yep, especially with no way to change certain things...
Apparently high priority notifications from google cloud messaging wake the phone up but that obviously doesnt include gmail! :|

Yeah I've been messing with it since monday now and I still can't get gmails to come through when it's in doze...
I tested it by sending 2 emails to myself but nothing...while hangouts messages came through each and every time...about 10 of them came through instantly as i sent them...
so i guess my only hope might be for google to make gmail notifications high priority like hangouts? Unless anybody else knows how yet?

My ElementalX rooted nexus 5 receives pushed Gmail immediately with sound and display. I didn't try it before rooting though.
Gmail was "Dozed"

Hi
Just to add some information on this. Doze is very aggressive, it stops all notifications from Googles Messaging Cloud Service, except those sent with high priority. It is a ping from Googles Messaging service that wakes up Gmail to alert you of a new message, but in Doze these are all stopped with the exception of those pings that are sent with High priority. Hangouts get sent with high priority, so these do ping through, but Gmail pings are sent with normal priority.
Calls and text messages are received by the modem part of the phone which runs outside of Android, this chip raises an event by signalling on a wire which Android will respond to, so calls and texts still arrive even when in Doze.
Putting Gmail as an exception to battery optimisation doesn't change this behaviour regarding pings from Google, not sure if that has changed on 6.0.1.
Why Google hasn't made Gmail messaging pings high priority I do not know, perhaps Gmail is a particular battery drain if receiving these pings constantly, or maybe their back end systems can't cope with all the extra Gmail alerts in their system as high priority.
Regards
Phil

It started happening to me on lollipop and even in ios

For me this started even on Lollipop a few weeks ago, too. Has been working flawlessly for years before that. But now sometimes Gmail notifications would get through, sometimes not. So it's not necessarily because of MM's Doze but a problem with Gmail itself. I've been looking around, there was opened an issue at AOSP issue tracker >here<. It has been fixed apparently, but not yet released.

It's 2018, and i am using LG Nexus 5 with Marshmallow (v6.0.1) and this problem STILL occurs for me. And its precisely how @pillipL described it in page 1. It's only specific to GMail...Hangouts gets thru fine eveyr time. So its like a high priority issue. And the battery optimization (turn off optimize) doesnt help.

Related

General 'gripes' with my Captivate

OK, so the GPS issue aside, I've encountered some random other problems with my Captivate. I'm JH2 with the SuperRooter tool installed. Some of these are actual problems, some are just gripes.
1 - Sometimes for no apparent reason the brightness will change. It will drop all the way down to the lowest setting and I have to go in and manually raise it up again.
2 - Google Voice has been problematic, to the point where I'm not using it any longer. Even though I've set my phone to send voicemail to my Google Voice number it only works about half the time. The other half it goes to my AT&T Voicemail. I MISS the voicemail on the iPhone!!!!
3 - Most of the time when I unplug the USB cable the icon still shows in the status bar, and when I click to turn off USB it still stays there, and only a reboot of the phone fixes it.
4 - I hate how the ring starts off soft then increases in volume, it's dumb that we can't change that.
5 - The email interface is less than desirable. Actually uit's not the interface itself, but rather a couple limitations. One, you can't move messages to another folder - so I have messages in my inbox that I want to move to another folder in my gmail account, and I don't see the option anywhere to do this, I ahve to log in to the computer to do this. Two, on my hotmail account, the other folders I've created don't even shows up, so I have no access to those messages at all.
6 - I have other random wierdness from time to time, like tonight internet connectivity over wifi just stopped working, then started working again an hour later for no reason.
7 - The only apps I miss are my GuitarToolkit, the DrumKit app, and the i.TV app which was an all in one tv guide and let me schedule my Tivo recordings...
8 - ...and of course we all know the GPS sucks!
I have about 3 days left to decide if I want to keep this device or just fork over what's left of my sould and buy the iPhone 4 (I've been a 3GS user for about a year and have been generally happy once I got it jailbroken). Most of this stuff individually isn't too bad, but put it all together and throw in the GPS debacle and, well I shouldn't have to justify to myself WHY I want to keep a phone...
AsSiMiLaTeD_77 said:
5 - The email interface is less than desirable. Actually uit's not the interface itself, but rather a couple limitations. One, you can't move messages to another folder - so I have messages in my inbox that I want to move to another folder in my gmail account, and I don't see the option anywhere to do this, I ahve to log in to the computer to do this. Two, on my hotmail account, the other folders I've created don't even shows up, so I have no access to those messages at all.
Click to expand...
Click to collapse
You should look into K9 mail. It's an awesome app and let's you have multiple identities ala Thunderbird so that you can send from your other email addresses w/o having to set up separate accounts on your phone. Very slick program, can move between folders, has archive, junk, etc.
I don't know about the others. I took my Captivate and returned it, but passed on buying a 32GB iPhone 4 because I know one of two things:
1) If the GPS and lag are fixed and/or GPS is fixed and we get Froyo I'm back to a Captivate or,
2) There will be another upcoming phone that is more open than Uncle Stevie's vision of what he wants us to do with a phone.
Having been an iPhone 3G and then 3GS user (yep, went back to my 3GS but only for 6 weeks or so) I can say that having remembered what real multitasking is, real choice is and real options with software - I ain't goin' back. YMMV.
I'll be willing to bet that number 1 is due to your finger on the notification bar. If you slide your finger across it, the brightness will change.
2. Bug with Google Voice, not a hardware problem.
4. Ringtone starts quietly so you have a chance to catch it before it gets obnoxious. It only stays quiet for half a second, and if your phone is ringing, half a second isn't going to make or break the call.
I had a similar problem with Google Voice. I just deactivated the service for my phone number then reactivated a few minutes later, haven't had any problems since.
I'm not sure if that'll fix it for you, but you might want to give it a try--just go to your voicemail settings on the Google Voice website.
benclayton said:
4. Ringtone starts quietly so you have a chance to catch it before it gets obnoxious. It only stays quiet for half a second, and if your phone is ringing, half a second isn't going to make or break the call.
Click to expand...
Click to collapse
Maybe, but I would agree that the option to turn it off should be available.
I bet the brightness problem is because you can change the brightness by sliding your finger across the notification bar. It's actually a very nice feature when you get used to it.
If I were you,i would go through the google voice mail set up again. I haven't had any problems with it at all.
Also, my ringtone does not start out quiet and then gradually increase in volume. Is it possible that the ringed you have tried are just recorded that way?
Thanks for the tip ob the brightness setting.
As far as I know the ringtone thing applies to every captivate so either yours is going it and you just don't notice it or you've got a special firmware or something
Sent from my SAMSUNG-SGH-I897 using XDA App
AsSiMiLaTeD_77 said:
2 - Google Voice has been problematic, to the point where I'm not using it any longer. Even though I've set my phone to send voicemail to my Google Voice number it only works about half the time. The other half it goes to my AT&T Voicemail. I MISS the voicemail on the iPhone!!!!
Click to expand...
Click to collapse
I also missed my visual voicemail. I've found that YouMail is an effective if not perfect replacement (my only real gripe is it is a separate app not integrated into the phone app).
That's too bad. I literally have none of those problems.
By far my biggest problem has been GPS, like others. However, with JH2, left all at stock settings I actually have good accuracy - even after 3 days - google nav has been right on. I used cardiotrainer and went for a walk and it was again completely on - better than my old Nokia N79, better than 5m accuracy.
Initial lock times were slow a bit over a minute (default has skyhook off). I put skyhook on yesterday, so I am interested to see if my improved accuracy after initial lock continues. What I have found is that all the suggested chances in the GPS fix might help initial locks, but went to crap after a day or so - and never really had the accuracy while moving. JH2 at all stock has lower initial lock speed, but must have a gps fw algorithm change leading to much better navigation / moving accuracy.
Bottom line - I will be shocked if Samsung doesn't have a 100% GPS fix next month (or with Froyo).
AsSiMiLaTeD_77 said:
5 - The email interface is less than desirable. Actually uit's not the interface itself, but rather a couple limitations. One, you can't move messages to another folder - so I have messages in my inbox that I want to move to another folder in my gmail account, and I don't see the option anywhere to do this, I ahve to log in to the computer to do this. Two, on my hotmail account, the other folders I've created don't even shows up, so I have no access to those messages at all.
Click to expand...
Click to collapse
I dont think you know what you're talking about in reference to Hotmail. I have a hotmail account and when you go to the browser and login to your hotmail account, all the options are there. Right in the middle of the screen is a "More" button, just click that and a list flies out and scroll down and "Move to" and the list of custom folders is right there. It has full functionality of the desktop site.
If you're trying to use the built-in email app to work with hotmail, dont. It wont work. You have to use hotmail through the web browser. Hotmail has a great mobile website.
deuX` said:
I had a similar problem with Google Voice. I just deactivated the service for my phone number then reactivated a few minutes later, haven't had any problems since.
I'm not sure if that'll fix it for you, but you might want to give it a try--just go to your voicemail settings on the Google Voice website.
Click to expand...
Click to collapse
Yes, to activate google voice for your phone you have to go to the google voice website and follow the instructions there. You have to enter your phone number and what mobile carrier you are using and then it gives you a string of numbers and characters that you must dial from your mobile phone to tell AT&T to forward your missed calls to a google voice server/phone number.
Do that and it should work fine. I did and have had zero problems from google voicemail.
If you have brightness on automatic it will change screen brightness based on light in room. If you go outside it will turn brightness up. If your in dark room it will turn brightness all the way down. You can test by covering sensor on fron with your finger and see if brightness drops. If you dont like it turn off in settings.
Sent from my SAMSUNG-SGH-I897 using XDA App
AsSiMiLaTeD_77 said:
1 - Sometimes for no apparent reason the brightness will change. It will drop all the way down to the lowest setting and I have to go in and manually raise it up again.
Click to expand...
Click to collapse
Make sure auto-brightness is turned off...also, like someone else mentioned, the notification bar lets you adjust the brightness by sliding across it horizontally while the gray bar is showing. Neat feature once you get used to it, but it also confused the hell out of me when I accidentally slid it. Best thing I've found is to just flick the notification bar up and down quickly (vs dragging it all the way up or down).
AsSiMiLaTeD_77 said:
2 - Google Voice has been problematic, to the point where I'm not using it any longer. Even though I've set my phone to send voicemail to my Google Voice number it only works about half the time. The other half it goes to my AT&T Voicemail. I MISS the voicemail on the iPhone!!!!
Click to expand...
Click to collapse
Assuming you've set it up correctly (which it sounds like you have, since it does go to GV voicemail sometimes), the problem does lie on GV's end. They make it wait 25 seconds before GV will actually pick it up, so your carrier voicemail will intercept it if it's set to pick up sooner than 25 seconds. Until GV lets us decide how long it takes for it to pick up, you can sort of fix this with the following workaround:
1. On your phone, dial *#61# and click Send.
2. Some information should be displayed: number that the calls are being forwarded to and the delay before the forwarding engages (should be your gv #)
3. Dial **61*+1xxxyyyzzzz*11*30# and hit Send. +1xxxyyyzzzz is your GV #, 30 is the delay in seconds. The delay can be set in 5 second increments, 30 is maximum
4. Dial *#61# to verify that the new settings are active.
Unfortunately this means that it will take >25 seconds for it to send to GVoicemail, but it does reliably work.
As for the GPS, I'm optimistic that the firmware fix that Samsung has leaked will solve that and our lag issues, but I can see how that would be frustrating to some who want it to work now (as well they should). Sorry to hear that you're having gripes with the phone, but hopefully these solutions will alleviate some of your issues.
AsSiMiLaTeD_77 said:
OK, so the GPS issue aside, I've encountered some random other problems with my Captivate. I'm JH2 with the SuperRooter tool installed. Some of these are actual problems, some are just gripes.
1 - Sometimes for no apparent reason the brightness will change. It will drop all the way down to the lowest setting and I have to go in and manually raise it up again.
Click to expand...
Click to collapse
This is a feature. They built in a brightness slider when you draw the notification tray down a tiny bit and slide your finger from left (dim) to right (brightest)
ah sorry, didn't see the answer already. my bad
derek4484 said:
I dont think you know what you're talking about in reference to Hotmail. I have a hotmail account and when you go to the browser and login to your hotmail account, all the options are there. Right in the middle of the screen is a "More" button, just click that and a list flies out and scroll down and "Move to" and the list of custom folders is right there. It has full functionality of the desktop site.
If you're trying to use the built-in email app to work with hotmail, dont. It wont work. You have to use hotmail through the web browser. Hotmail has a great mobile website.
Click to expand...
Click to collapse
No offense, but your assumption that I don't know what I'm talking about is way off...
Clearly, I'm aware that you can manage folders using the web interface in Hotmail, otherwise I wouldn't have known how to create the folder initially that isn't showing up in the standard mail application. I thought it was obvious I was walking about the capabilities of the phone, as in the built in email application...
If I have to use the web interface to manage my email then what's the point of even having an email application?
The email application gives me almost the exact same functionality with Hotmail as it does with Gmail, I think you're mistaken that Hotmail won't work in the default email app. The only thing I get with Gmail that I don't with Hotmail is access to view what's in my extra folders, which really doesn't help because I can't do anything with items in those folders like move them around.
AsSiMiLaTeD_77 said:
No offense, but your assumption that I don't know what I'm talking about is way off...
Clearly, I'm aware that you can manage folders using the web interface in Hotmail, otherwise I wouldn't have known how to create the folder initially that isn't showing up in the standard mail application. I thought it was obvious I was walking about the capabilities of the phone, as in the built in email application...
If I have to use the web interface to manage my email then what's the point of even having an email application?
The email application gives me almost the exact same functionality with Hotmail as it does with Gmail, I think you're mistaken that Hotmail won't work in the default email app. The only thing I get with Gmail that I don't with Hotmail is access to view what's in my extra folders, which really doesn't help because I can't do anything with items in those folders like move them around.
Click to expand...
Click to collapse
I 100% agree with you about moving email. That is one of my biggest gripes too. Also HTC DOES have this integrated into their mail program, and also folder hierarchy. I think it is just poor that Google didn't integrate these right into the stock mail app, and also that Samsung didn't in theirs.
I think not being able to take MMS photos vertically is annoying. I was used to it on the iPhone; I think vertical or "tall" images look better for Facebook mobile uploads, and I can't find a way to take them so they don't end up sideways in the MMS or mobile upload. Any ideas?
Whats reassuring is that almost all of your complaints can be address through a software update.
Its rumored that the GPS fix + Froyo update will be launched simultaneously or very close together.

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?

email notifications issues

I switched off the stock email APP because it was showing the wrong number of mails on the icon.
I went back to Bluemail which I had used on my Moto Z without issue, took that off and now have Typeapp but same problem - no incoming email notification sound on either?
Any thoughts?
stewarta13wsb said:
I switched off the stock email APP because it was showing the wrong number of mails on the icon.
I went back to Bluemail which I had used on my Moto Z without issue, took that off and now have Typeapp but same problem - no incoming email notification sound on either?
Any thoughts?
Click to expand...
Click to collapse
OK if you have done all the necessary settings (all permissions, notifications settings, ignoring Android optimization) then....
You have the same problem either if you leave the app open in resent apps?
This is a more general problem than just with BlueMail.
If you look back a few weeks you'll find a thread about MailDroid, that doesn't give a proper notification tone. I've had to change to Blue Mail, and it does notify properly for me. However when I first used it the app didn't always pick up a mail until I brought it out of lock. It seems to be OK now.
I think this is down to the Mate's aggressive battery-saving that is supposed to learn about app use.
And yes, I have checked the app settings and the phone settings over and over to make sure they are right.
Thanks for the replies. I tried another 3 APPS and all failed to play the notification when I sent a test mail from my PC.
I ended up back with an oldie I haven't used for years - K9 - and all is working as it should.
Not the most up to date look but if it works I'll settle for that. Four APPS with all the settings to key in and then delete it took me to midnight last night... enough was enough
Glad to hear you have found a substitute that works.
With so many different apps being affected, I'm sure there is a system problem with notifications. Hopefully this will be sorted with a future update.
Outlook works fine. Gmail is worse.
Sent from my MHA-L29 using Tapatalk

GMAIL: Any way to remove the delay in checking/alerting of new emails?

Several years ago Gmail alerted me on my phone immediately when an email came in - these days it can take as much as 10 minutes using the Gmail app to alert me of a new mail because of power saving functions. Those minutes can end up costing me money - a lot of it!
BTW, it doesn't matter if I am on wifi or my carrier's network.
I've tried googling this but am finding nothing but old articles from years ago that no longer apply.
Does anyone know a definite 100% sure-fire way to get the immediate notifications back?
JWhipple said:
Several years ago Gmail alerted me on my phone immediately when an email came in - these days it can take as much as 10 minutes using the Gmail app to alert me of a new mail because of power saving functions. Those minutes can end up costing me money - a lot of it!
BTW, it doesn't matter if I am on wifi or my carrier's network.
I've tried googling this but am finding nothing but old articles from years ago that no longer apply.
Does anyone know a definite 100% sure-fire way to get the immediate notifications back?
Click to expand...
Click to collapse
Have you turned off battery optimisation for gmail? Something i find works well is pinning the apk in the recently opened apk menu.
Also try going into battery, battery optimisation, advanced optimisation and making sure the sleep standby is off
hallo dare said:
Have you turned off battery optimisation for gmail? Something i find works well is pinning the apk in the recently opened apk menu.
Also try going into battery, battery optimisation, advanced optimisation and making sure the sleep standby is off
Click to expand...
Click to collapse
I don't even see Gmail in the list of apps for battery optimization - simply isn't there!
Sleep standby IS off.
JWhipple said:
I don't even see Gmail in the list of apps for battery optimization - simply isn't there!
Sleep standby IS off.
Click to expand...
Click to collapse
You're right, it's not there. Have you tried pinning it?
See - no Gmail to be found...
hallo dare said:
You're right, it's not there. Have you tried pinning it?
Click to expand...
Click to collapse
I'm using a different launcher, but will switch back to default and try that now.
hallo dare said:
You're right, it's not there. Have you tried pinning it?
Click to expand...
Click to collapse
Ok I'm not even seeing where that can be done.
JWhipple said:
Ok I'm not even seeing where that can be done.
Click to expand...
Click to collapse
I have the same Problem with my OnePlus 7 T Pro, I tried the same but without any result.
For whatever reason OnePlus decided to load Gmail as a System App. I was able to uninstall it, and reinstall it from the Play Store and it STILL installs as a system app...thus...no way to adjust battery optimization.
To lock it in memory you need to open the app, then act like you want to go back an app...you know drag it up to the middle of the screen where you can scroll left and right through recent apps. When Gmail is on the screen tap the three dots in the upper right and choose "lock". This is supposed to keep it in memory so that the OS doesn't remove it from RAM and "maybe" your notifications will come in as soon as a new email arrives. YMMV
There is a Magisk package that disabled any kind of optimization for Gmail. However, while it made Gmail display "Disabled" if I checked the app, now I cannot even see that setting anymore.
But yes even previous OxygenOS versions have suffered from the very same issue. People been asking for a fix for years. Only permanent fix is to reinstall Gmail as user app or use a custom rom.
Ps.: Look for "OxygenOS" within magisk to find the module. Back then you coulf also use an app like Nova to go into the Battery Optimization list, and disable the optimization. That also worked, needed no root. But it was reset after each reboot. So one time you forgot? Boom.
I bought my Oneplus 7t Pro yesterday and had this push problem with Gmail. But I also had problems with microsoft authenticator and Google Duo. Yesterday evening I did a full wipe (Hard Reset) and now gmail works properly and also the other apps.

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