http://tomhorsley.com/rants/doze-mode.html
I'm definitely reverting back to 5.1.1 when I get the time and energy to fool with it .
sounds like that was written by someone who hasn't even tried marshmallow yet. I have yet to experience any missed notifications, alarms or any issues relating to time in any way. If some apps are being affected by this then its a sign to the developer to fix their ****ty code because all of my apps relating to time at all have been working just fine and alot of them are still the same version they were on lollipop. Doze has improved my batter significantly. It sounds like this article was probably written by a developer who cant code properly and instead of improving his skills he'd rather complain and convince everyone to stay away from updates because he is unwilling to evolve. Even the article looks like it was written in paint...
I had indeed a wrong time bug some days ago...really strange and worrying, a reboot fixed it. First time ever since Android Froyo that I experienced something like that.
That author seems to think that Marshmallow's Doze is a horrible thing that breaks all apps that rely on background services, namely alarms and notifications, and couldn't possibly be fixed in 10 years (rather than a few months) due to Google's horrible mistake (rather than devs not fixing their code).
Frankly, it sounds like a bunch of hyperbole.
Sent from my ALCATEL ONE TOUCH Fierce using Tapatalk
He's wrong about how doze works. And if he's in the camp that doesn't understand it nor wants to rewrite his app. Then yeh he's the idiot group that Google is targeting and was writing garbage code anyway.
lol complete nonsense, my alarm has worked everyday since i flashed M, even on dev previews...the only issues i have with M are really the "slow to connect wifi when using toggles" and the weird wifi consumption on battery stats
Another annoying issue on M is that if your leave your phone longer in standby mode (display off), wifi turns off and you stop recieving notifications until you turn your phone on again. This is with wifi set to "never turn off", etc.
Kustaa said:
I had indeed a wrong time bug some days ago...really strange and worrying, a reboot fixed it. First time ever since Android Froyo that I experienced something like that.
Click to expand...
Click to collapse
This actually happened with me a couple of days back, I was travelling, so I put my phone connected to a power bank and went for a nap, woke up to see phone switched off, switching it on throws me a 2nd September date set on my device. Had to manually set the date as no network was available to automatically set the date from servers.
Ubichinon said:
Another annoying issue on M is that if your leave your phone longer in standby mode (display off), wifi turns off and you stop recieving notifications until you turn your phone on again. This is with wifi set to "never turn off", etc.
Click to expand...
Click to collapse
This I had been noticing these days just because of WhatsApp Web. When in standby, WhatsApp Web shows phone not connected error. Just waking the phone reconnects to the WiFi, but happens every 30-40mins.
I have a feeling that folks who never see these problems have their phones charging at night and doze mode doesn't happen when you are charging. I have no convenient way to charge my phone near my bed, so it is not charging and totally idle all night. Email and messaging completely stops. Only the stock alarm clock works. My medication reminder stops working. It might as well be turned off completely. Plus when you do wake up and turn on the phone, all the pent up alerts come through and scare the hell out of you. I hate doze mode.
Settings -> Battery -> ... (menu)-> Battery Optimization --> All apps --> Select whatsapp, etc... and select not optimized.
Test again.
You're welcome.
I already disabled optimization in the battery settings for all the apps that weren't working. They still don't work after sitting overnight. It looks as if that setting has absolutely no effect.
Claghorn said:
I already disabled optimization in the battery settings for all the apps that weren't working. They still don't work after sitting overnight. It looks as if that setting has absolutely no effect.
Click to expand...
Click to collapse
This is a real problem. I tested this on a Nexus 5. The device seems to enter Doze after about 1 hour and this is what happens.
What does work in Doze mode:
- Telephone: call can be heard.
- Alarm: alarm can be heard
What does NOT work in Doze mode:
- Receiving mail notifications directly: it seems to wait for the maintenance window. There is no "ping" from my GMail. No lock screen notification until I picked it up. I turned off battery optimalization as suggested. Like Claghorn says, it doesn't make a difference. When I was sleeping, the time difference between sending the mail and getting a notification can be hours. That is not acceptable: I want to determine whether or not I get a message. I got no control over Doze, except plugging it in. Also, when it sits on the desk at work I need to pick it up or turn the screen on every so often, because I don't know if it "dozed" off again.
Works partially:
- Notification light: It works once mail passes through the maintenance window. It does NOT work before the maintenance window.
I tested all of this with a unrooted, updated Nexus 5. Topic Starter and Claghorn have good points. Why can't I turn this off? I don't want this. I want notification on time, with ping, right now. If I don't I will turn the volume off or set priorities. They could have told me this behavior in a mail or during the update. Important mail from work, family comes in hours late. Not happy with this at all.
Tried all sorts of things, nothing seems to help. And no, battery optimalization is either not enough or has nothing to do with it. I love the Nexus 5. Marshmallow seems to be much smoother than Lollipop. I was happy with the update until I discovered this. Now, I am fustrated. I expect the phone to inform me when I need to be informed. Most days I don't need to save 10% of power anyway. For the first time I want to either root the phone and go back to Lollipop or even Kitkat. I don't know what else can be done. Fustrated.
Dennis de Swart said:
This is a real problem. I tested this on a Nexus 5. The device seems to enter Doze after about 1 hour and this is what happens.
What does work in Doze mode:
- Telephone: call can be heard.
- Alarm: alarm can be heard
What does NOT work in Doze mode:
- Receiving mail notifications directly: it seems to wait for the maintenance window. There is no "ping" from my GMail. No lock screen notification until I picked it up. I turned off battery optimalization as suggested. Like Claghorn says, it doesn't make a difference. When I was sleeping, the time difference between sending the mail and getting a notification can be hours. That is not acceptable: I want to determine whether or not I get a message. I got no control over Doze, except plugging it in. Also, when it sits on the desk at work I need to pick it up or turn the screen on every so often, because I don't know if it "dozed" off again.
Works partially:
- Notification light: It works once mail passes through the maintenance window. It does NOT work before the maintenance window.
I tested all of this with a unrooted, updated Nexus 5. Topic Starter and Claghorn have good points. Why can't I turn this off? I don't want this. I want notification on time, with ping, right now. If I don't I will turn the volume off or set priorities. They could have told me this behavior in a mail or during the update. Important mail from work, family comes in hours late. Not happy with this at all.
Tried all sorts of things, nothing seems to help. And no, battery optimalization is either not enough or has nothing to do with it. I love the Nexus 5. Marshmallow seems to be much smoother than Lollipop. I was happy with the update until I discovered this. Now, I am fustrated. I expect the phone to inform me when I need to be informed. Most days I don't need to save 10% of power anyway. For the first time I want to either root the phone and go back to Lollipop or even Kitkat. I don't know what else can be done. Fustrated.
Click to expand...
Click to collapse
A quick suggestion -
You may use Doze Mode Editor and edit the script so that your phone never enters Doze mode.
That way you can enjoy Marshmallow without Doze.
Sent from my Nexus 5
Achilles. said:
A quick suggestion -
You may use Doze Mode Editor and edit the script so that your phone never enters Doze mode.
That way you can enjoy Marshmallow without Doze.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks, I will look into that. I'd like to keep Mashmallow as a whole if possible. I think it is a good update in general.
OK, I've looked at the doze mode editor thread and I find that the descriptions of the parameters I can set to be totally confusing, however, the flowchart pointed at in that thread seems to indicate that if I set the "inactive_to" value to something like 24 hours, then all the other doze mode nonsense is unlikely to ever happen (because I'll probably turn on my phone at least once every 24 hours). Does that seem like the best way to essentially turn off doze mode?
Claghorn said:
OK, I've looked at the doze mode editor thread and I find that the descriptions of the parameters I can set to be totally confusing, however, the flowchart pointed at in that thread seems to indicate that if I set the "inactive_to" value to something like 24 hours, then all the other doze mode nonsense is unlikely to ever happen (because I'll probably turn on my phone at least once every 24 hours). Does that seem like the best way to essentially turn off doze mode?
Click to expand...
Click to collapse
I will look into this over the weekend. I find it odd that there isn't simply a switch to turn Doze off, which is a pity. It seems to me it's part of saving energy in general. A switch under Battery would do nicely. It should not be this complicated. That said, I think the UI of Marshmallow is silky smooth, much better than Lollipop. Marshmallow in general in good. It' just this that annoys me.
i'm baffled by google's aversion to end user config. This kind of b.s. is how I found xda and drove me to become a chronic flashaholic. All or nothin I guess.
ElwOOd_CbGp said:
i'm baffled by google's aversion to end user config. This kind of b.s. is how I found xda and drove me to become a chronic flashaholic. All or nothin I guess.
Click to expand...
Click to collapse
I get the feeling Google assumes the customer is a developer. A few examples:
- The Nexus 5 does have a notification light: I didn't know until I read 5 reviews and even then I couldn't find any documentation on it. Needed an external app to get it working.
- Battery indicator: I like to have small numbers indicating battery charge: it could be done by hacking KitKat and Lollipop I think. Then at Marshmallow finally there's a (hidden) switch.
- I don't recall having any user guide in the Nexus 5 package. Not that I needed one. But some landing page doing a walkthrough would have been nice. Although there are some walkthroughs in every app
Not fatal flaws, but you wonder why does it need to be that difficult. It scares people away. Not me. I handed the Nexus 5 to some friends on numerous occasions and most found it too "empty". As for me, I want all developer stuff on. So it suprised me, there is no Doze fine tuning. Again, overall I give the Nexus a 8 or 9 out of 10. It fits me. In general I like it. So it's just constructive criticism. The empty layout and raw speed of the Nexus 5 works good in development of apps afterall.
Last night I ran an adb command (generated by the doze mode editor app) to set inactive_to to 24 hours (86400000 milliseconds). I then set an alarm for the next morning in the "Alarm Clock Plus" app (which completely ceased to function after Marshmallow showed up). This morning, the alarm actually went off on time, but the big "Dismiss" button it draws on the screen was totally non-functional. I had to hit the power button to get control (which then caused a popup saying alarm clock plus was non-responsive). I have no idea what caused all that behavior, but at least the alarm actually went off.
Also, with doze mode essentially disabled (in theory anyway), the power dropped from 100% in the evening all the way down to 97% in the morning.
With the exception to facebook and game type apps, Google's apps are the only ones I find that excessively waste resourxes and need to be forced to sleep. If they would get off the constant location polling, media scanning, and logging or at least tone it down a bit some they wouldnt need to implement thier half baked versions of solutions that they hijacked from xda devs
Related
Let me preface this by saying that after changing this setting and 20 hours later with multiple separations of phone and watch, I have yet to miss a notification and battery life is much much better. My specific problems were: Watch would randomly stop receiving notifications. I would realize this after a few hours go by without any notifications and pull my phone out and see what I've missed. This would happen despite the Wear app showing 'connected' status. Another issue I had was giving a voice command and after a few seconds the watch would return a 'disconnected'message, again the Wear app showed connected. All of this under known working network connections, whether Wi-Fi or cellular. I was also experiencing what I feel is short battery life at about 14 hours per day. I've had and used the watch for two weeks now and have restarted it many many times.
The following is the ONLY thing I have changed since the major improvement in performance. I don't have the depth of knowledge to prove or describe why this worked for me, and maybe it wasn't the cause, but I (knock wood) have a perfectly operating watch now with the battery life indicating about 2 days remaining at noon today.
Go to Settings> Bluetooth> and select the settings icon on your connected device. Then select 'connection access' and choose 'automatic'. Mine defaulted to 'always ask'.. I'm guessing this caused a hangup with the connection between Wear app and watch leading to my problems.
Edit: I'll add that my phone is an LG G2 on 4.4.2 , rooted and running xdabbeb's Rom.
Edit 2: I reset my watch, synced the watch via the Wear app on phone and NOT the Bluetooth screen and now I'm running strong after two days. Made sure automatic was checked as well.
Bugger
I don't have that option in my bluetooth settings
I don't have any problems with mine so far but just checked my settings and it was on always ask.
Could anyone confirm what it should be set as? I have changed mine to automatic anyways.
Thanks for the heads up.
Phil
Not seeing that option in Android 5.0.1 on my HTC One GE. But I have not been having any of the issues mentioned in the OP.
Sent from my Nexus 10 using Tapatalk
Here is a pic of the screen where you make selection. Always Ask is NOT what you want, which is what is pictured. Select Automatic. Sounds like this isn't available on Android 5.0 from what I see in responses so far.
I don't think I saw this option on any of the ROMs I ran, but there may be devices out there that have it and default to it, and this one would really break wear connectivity - so it may help someone someday.
I'm on 5.0, lg g3 and have both options.
Although i havnt had a problem with always ask and only switched it to automatic tonight.
Judging from the description, it will work as long as the watch stays connected, but a reconnect from the watch side would ask for confirmation (and could be possibly even silently denied under some circumstances).
Phone -> Watch = no problem
Watch -> Phone = problem
and it's possible (and likely) there are more connections going on than just the primary one, and if the connection is flaky there might be a dead one and a new one from either side...
you could just have been lucky, so far
My issues returned last night. I left my watch at home and went to dinner and out with friends, came back home after several hours. I left the watch in theater mode while I was out and over night. I woke up this morning, put watch on and realized the battery had tanked overnight and I was no longer receiving notifications, again, wear app showing connected. I looked at the battery graph for the watch and it is totally flat while I was out last night and appears to tank fast as soon as I got home and my phone was in proximity to the watch again. It's like it is constantly trying to handshake with the phone or something. The only thing that fixes this problem is a reboot of the Watch itself. I still think the connection setting was helpful because I have yet to see battery life like that or a solid link for that long. I would love to know what exactly is going on here. Bad hardware?
For the sake of comparison, I have android wear in my pull down bar saying 'connected, running sync loop' 100% of the time. It never goes away. Is this what everyone else sees?
That's what I have also since I own the watch.
Stbrightman said:
For the sake of comparison, I have android wear in my pull down bar saying 'connected, running sync loop' 100% of the time. It never goes away. Is this what everyone else sees?
Click to expand...
Click to collapse
That would be because you have Android Debugging turned on in the phone settings.. Means nothing..
mic18u said:
That would be because you have Android Debugging turned on in the phone settings.. Means nothing..
Click to expand...
Click to collapse
Nope, shows also when out of the box so without android debugging.
Just a normal operation notification
I just discovered another possible contributor to connectivity issues: I just tried to use my watch to voice dial and after multiple attempts I got the disconnected message. I took my phone out and Wear app says connected and I had full 4G signal. My phone is set with a pattern lock. After unlocking it and checking the above mentioned, I tried the watch again and it worked. Could locking your phone have something to do with these problems?
Ok so I'm on 6.0.1 and for the life of me I can't figure out this spastic notification behavior. When I'm using my phone, notifications come in just fine. However let's say I've left my phone on my desk and come back in an hour and pick up the phone... as soon as I turn the screen on, all the notifications start flying in from the past hour, including all the notification sounds 1 by 1 in quick succession. I've checked all the options I can to see if there is anything related to this behavior but I can't find it.
I've gotten used to iOS where my notifications are always on the screen waiting for me so I can pick up the phone and glance and put back down, without the hoopla of watching them fly in after turn the screen on and listening to all the annoying notification sounds jumbled together. I'm by no means new to Android however. I've owned many but my last was my N5 which got long in the tooth so I switched to a iPhone 6S as my daily driver and have been using my N5 just to play around and keep up with development of my favorite ROMS and apps. I saw the 6 on a really good deal so I decided to pick up it and see what it would be like to have Android as my daily driver again.
Anyhow, all that being said, how do I get the desired outcome of notifications actually coming in when the phone is idle and waiting for me without having to load after I turn the screen on? I'm guessing notifications in 6.0+ are tied to wakelock events but not sure. Any thoughts?
itpromike said:
Ok so I'm on 6.0.1 and for the life of me I can't figure out this spastic notification behavior. When I'm using my phone, notifications come in just fine. However let's say I've left my phone on my desk and come back in an hour and pick up the phone... as soon as I turn the screen on, all the notifications start flying in from the past hour, including all the notification sounds 1 by 1 in quick succession. I've checked all the options I can to see if there is anything related to this behavior but I can't find it.
I've gotten used to iOS where my notifications are always on the screen waiting for me so I can pick up the phone and glance and put back down, without the hoopla of watching them fly in after turn the screen on and listening to all the annoying notification sounds jumbled together. I'm by no means new to Android however. I've owned many but my last was my N5 which got long in the tooth so I switched to a iPhone 6S as my daily driver and have been using my N5 just to play around and keep up with development of my favorite ROMS and apps. I saw the 6 on a really good deal so I decided to pick up it and see what it would be like to have Android as my daily driver again.
Anyhow, all that being said, how do I get the desired outcome of notifications actually coming in when the phone is idle and waiting for me without having to load after I turn the screen on? I'm guessing notifications in 6.0+ are tied to wakelock events but not sure. Any thoughts?
Click to expand...
Click to collapse
What you are seeing is androids new doze feature. It puts apps to sleep when the device has been on a flat surface for a long time unmoved. Go into settings/apps/What ever app you want and change the battery priority settings.
zelendel said:
What you are seeing is androids new doze feature. It puts apps to sleep when the device has been on a flat surface for a long time unmoved. Go into settings/apps/What ever app you want and change the battery priority settings.
Click to expand...
Click to collapse
Ah OK. I totally forgot about doze... Want aware it was implemented in this manner. All the setting to change this would be in the app/notification section and Rick the "treat add priority" option? The description associates this option with so not disturb mode but it also affects doze too?
Sent from my Nexus 6 using Tapatalk
itpromike said:
Ah OK. I totally forgot about doze... Want aware it was implemented in this manner. All the setting to change this would be in the app/notification section and Rick the "treat add priority" option? The description associates this option with so not disturb mode but it also affects doze too?
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
Ahh sorry had to find it again. It is under settings/battery then hit the 3dot menu for battery optimization. Then select the app. And change the settings. An easy work around is to plug it in when you will be leaving it for awhile. This disables doze.
itpromike said:
... as soon as I turn the screen on, all the notifications start flying in from the past hour, including all the notification sounds.
Click to expand...
Click to collapse
settings - sounds ¬ifications - nofications ringtone --> none
Reading this https://dontkillmyapp.com/oneplus I'm left wondering if some strange behaviour I'm seeing could be motivated by this.
For instance, I've been using for several years this app, Stay Alive: https://play.google.com/store/apps/details?id=com.synetics.stay.alive
It gives you the option of having the screen not turning itself off when charging. It's crucial in the car, where I have a dock mounted and use the phone for navigation, music playback, etc.
On my previous Nexus 6P the app worked flawlessly. With 6T sometimes the screen turns off and then it turn itself on once more, as if the process got killed and then restarted.
I have the "don't optimize" option activated for Stay Alive.
There are other strange behaviours I'm seeing, with Tasker for instance. And the nagging feeling that they might depend on background process handling at the OS level.
I recently did turn off Battery/Battery Optimisation/Advanced Optimisation/Deep Optimisation and Sleep standby optimisation, hoping to get better results. I still haven't reached a conclusion about it.
I have to say that it's pretty annoying to have the phone decide for you what should be happening for apps. For instance, I had Firefox in the "Don't optimize" category but it still had problems with opening new pages after a while. Turning off the above two options seems to have cured the problem but if that is needed I wonder what the heck "Don't optimise" mean for OnePlus.
I hope to get to the bottom of this as, quite frankly, not having the phone "act on his own" behind the scenes is exactly why I chose Android as my OS.
gorman42 said:
Reading this https://dontkillmyapp.com/oneplus I'm left wondering if some strange behaviour I'm seeing could be motivated by this.
For instance, I've been using for several years this app, Stay Alive: https://play.google.com/store/apps/details?id=com.synetics.stay.alive
It gives you the option of having the screen not turning itself off when charging. It's crucial in the car, where I have a dock mounted and use the phone for navigation, music playback, etc.
On my previous Nexus 6P the app worked flawlessly. With 6T sometimes the screen turns off and then it turn itself on once more, as if the process got killed and then restarted.
I have the "don't optimize" option activated for Stay Alive.
There are other strange behaviours I'm seeing, with Tasker for instance. And the nagging feeling that they might depend on background process handling at the OS level.
I recently did turn off Battery/Battery Optimisation/Advanced Optimisation/Deep Optimisation and Sleep standby optimisation, hoping to get better results. I still haven't reached a conclusion about it.
I have to say that it's pretty annoying to have the phone decides for you what should be happening for apps. For instance, I had Firefox in the "Don't optimize" category but it still had problems with opening new pages after a while. Turning off the above two options seems to have cured the problem but if that is needed I wonder what the heck "Don't optimise" mean for OnePlus.
I hope to get to the bottom of this as, quite frankly, not having the phone "act on his own" behind the scenes is exactly why I chose Android as my OS.
Click to expand...
Click to collapse
Thank you for this.
I've been feeling stupid having all these issues of pass getting killed in the background.
For me proper working phone is more important than battery life. I can easily get one whole day 6AM-11PM with around 30% battery left.
I would be ok if the apps won't get killed and I have say, 10% battery left at the end of the day.
I also don't understand this, it's what I really dislike about the OnePlus phones. In earlier Android versions it was always adviced not to use app killers because the Android OS knows best when to kill an app. Now OnePlus is doing exactly this, and then call it an optimization... [emoji848]
But @gorman42 are you aware of the option System - Developer Options - Stay Awake?
rmaathuis said:
I also don't understand this, it's what I really dislike about the OnePlus phones. In earlier Android versions it was always adviced not to use app killers because the Android OS knows best when to kill an app. Now OnePlus is doing exactly this, and then call it an optimization... [emoji848]
But @gorman42 are you aware of the option System - Developer Options - Stay Awake?
Click to expand...
Click to collapse
I want to say you're right but it's not only OnePlus that has too aggressive background killing. Google put optimization into Android a couple of years ago and they can't seem to hit a perfect medium between both. I'm sick of switching apps and then going back into an app a couple of minutes later to just have to start at the top of the feed again. It's annoying and it's happened with my 6t, Moto z, Droid turbo, lg g4, and my Galaxy s6 when they were all in their "prime". I think it boils down to Google ultimately
Turn off adaptive battery and on your apps you absolutely want untouched selectDon't optimize under battery > battery optimizations. After doing that I have what is consider a normal experience.
rmaathuis said:
But @gorman42 are you aware of the option System - Developer Options - Stay Awake?
Click to expand...
Click to collapse
Yes, I am. But the screen dims. It doesn't turn off but it dims. For in car navigation that is clearly undesired.
I wonder whether rooting would give me back the control I need through some third party modification...
Aridon said:
Turn off adaptive battery and on your apps you absolutely want untouched selectDon't optimize under battery > battery optimizations. After doing that I have what is consider a normal experience.
Click to expand...
Click to collapse
But if you read my post... I do have "Don't optimize" selected for relevant apps. It still doesn't seem to solve the problems I'm having.
Now I've turned off Adaptive Battery too. Let's see if it makes any difference.
Whats solitions.
İ open accebility settings for any app and closed automatical..
Whyy
I'm sorry for my bad english
gorman42 said:
But if you read my post... I do have "Don't optimize" selected for relevant apps. It still doesn't seem to solve the problems I'm having.
Now I've turned off Adaptive Battery too. Let's see if it makes any difference.
Click to expand...
Click to collapse
You find solitions ?
I'm sorry for my bad english
gorman42 said:
But if you read my post... I do have "Don't optimize" selected for relevant apps. It still doesn't seem to solve the problems I'm having.
Now I've turned off Adaptive Battery too. Let's see if it makes any difference.
Click to expand...
Click to collapse
What most of the times work for for me is open the app, then go to recent app management, click on the 3 dots in the upper right corner above the app and choose lock.
And thanks for the tip of this app, because of company policy "stay awake" was disabled on my device and this app overrides it (Earlier I tried 2 or 3 similar apps but they didn't work, this one does).
gorman42 said:
I wonder whether rooting would give me back the control I need through some third party modification...
Click to expand...
Click to collapse
You really shouldn't have to modify your phone to, by chance, fix what OnePlus did (same could be said about other OEMs too, but that's besides the point right now). OnePlus needs to fix this issue, which has been an ongoing thing in their ROMs for over two years.
It's a shame that it takes a few app devs getting bad reviews on their apps to come up with a website pointing out the offenders of aggressive app management, with OnePlus being number 2 on the list for this issue to pick up traction, despite numerous users reporting about it on their forum and via in-app feedback for so long.
I said it before, and I'll say it again: Compared to OxygenOS on the 3T, OxygenOS nowadays has become so nice to use on the 6T that I don't have a need to root anymore. It's just this issue that really hampers it.
I fell in love with OnePlus when I bought my very first OnePlus phone, the OnePlus 3T. I've since then owned the OnePlus 5T and 6T. Unfortunately I've been disappointed with both because of this specific issue. If they don't resolve this issue within the lifetime of my 6T I feel obligated to start looking for something other than a OnePlus phone next Such a shame, as I love everything else about OnePlus and OxygenOS.
While investigating this I stumbled upon a setting in Developer Options.
Here’s the description and explanation: https://www.techrepublic.com/article/how-to-use-android-pie-standby-apps/
Problem is, with 6T all apps are stuck to ACTIVE status, you can’t modify their status. I guess this could point to OnePlus messing with regular Android power management.
gorman42 said:
While investigating this I stumbled upon a setting in Developer Options.
Here’s the description and explanation: https://www.techrepublic.com/article/how-to-use-android-pie-standby-apps/
Problem is, with 6T all apps are stuck to ACTIVE status, you can’t modify their status. I guess this could point to OnePlus messing with regular Android power management.
Click to expand...
Click to collapse
Are you sure you can't modify the settings, I've tried it and let's me change as per the link you posted?
I agree with you guys the app management is pretty aggressive.
wilpang said:
Are you sure you can't modify the settings, I've tried it and let's me change as per the link you posted?
I agree with you guys the app management is pretty aggressive.
Click to expand...
Click to collapse
Yeah, I tried before writing here.
It happens when you disable Adaptive Battery. If Adaptive Battery is enabled, those settings are active.
I have the same issues with several apps (Tasker, Gravity Screen, Whatsapo (Web)...). The apps was running perfectly on my old lg g4 but on the OPO 6T they gets killed too often. Also disabled adaptive Battery and set those apps to dont optimize. But this doesnt helps....
In previous OOS on the 5T there was an setting for background apps count in developer options, this is sadly gone on our 6T. Is there a way to use this option also when removed from dev options?
(maybe editing some files).
Thx
Gesendet von meinem ONEPLUS A6013 mit Tapatalk
Yes this is very unfortunate.. sometimes I even miss calls and they straight to voicemail
gorman42 said:
Reading this I'm left wondering if some strange behaviour I'm seeing could be motivated by this.
[Snapped]
Click to expand...
Click to collapse
Yes, it is a problem for me. Never had a phone with such aggressive battery management. It even periodically kills my wifi for no reason.
There are 3 settings under Settings > Battery:
1. Battery Saver
2. Battery optimization
3. Adaptive Battery
I have been able to get a somewhat 'normal' experience after turning all 3 options off for Whatsapp, Tasker, etc... For some programs, it seems that it needs to be started, and left running without closing the program in 'Recentd's..
I am rooted and use Greenify to close programs that I want killed when in the background..
@gorman42
Why do you need this staying-alive app?
Google Maps and Waze already make the device's screen stay awake while navigating...
Hey All.
I have always used AOD as a night clock whilst its charging vertically.
But with this phone the AOD always goes off after about an hour.
Which sort of defeats the point of the feature really.
the setting is set to ALLDAY aswell.
is this a fault or is this how it is with phone.
stuatrb04 said:
Hey All.
I have always used AOD as a night clock whilst its charging vertically.
But with this phone the AOD always goes off after about an hour.
Which sort of defeats the point of the feature really.
the setting is set to ALLDAY aswell.
is this a fault or is this how it is with phone.
Click to expand...
Click to collapse
chinese version?
brunolongo said:
chinese version?
Click to expand...
Click to collapse
nah uk
Possibly power management of some type shutting it down?
I use to think always on AOD was a darling... now I only use tap on.
Lol, I sort of like how yours behaves; it waits for you to go to sleep.
blackhawk said:
Possibly power management of some type shutting it down?
I use to think always on AOD was a darling... now I only use tap on.
Lol, I sort of like how yours behaves; it waits for you to go to sleep.
Click to expand...
Click to collapse
pretty sure i have looked at most settings that could possibly effect this.
maybe its just the way it is.
it kinda bugs me at night when i wake up disorientated not knowing the time.
always something i have been used to with previous phones.
stuatrb04 said:
pretty sure i have looked at most settings that could possibly effect this.
maybe its just the way it is.
it kinda bugs me at night when i wake up disorientated not knowing the time.
always something i have been used to with previous phones.
Click to expand...
Click to collapse
I hear you. Best to ignore the phone and sleep.
Always being "connected" detrimental to your wellbeing. Quiet time is very underrated.
Lots of power management settings scattered throughout the phone, usually.
Check to see if global power management is running first: Developer options>standby apps, all buckets should show as active otherwise power management is active. It can't be disabled here though.
Check each apk being used for AOD. Make sure they have needed permissions and that battery saving isn't checked.
Disable any power management including Android, 3rd party, carrier or manufacturer ones.
Try in Safe mode.
Clear system cache and AOD data.
Make sure screen lock isn't interfering with AOD.
With a factory reset even if it works the issue will likely reoccur. Exception is if a 3rd party app altered user hidden settings, this can and does occasionally happen with poorly written apps. Sometimes only after you uninstall them
Play with it, find the root cause... fun isn't it?
blackhawk said:
I hear you. Best to ignore the phone and sleep.
Always being "connected" detrimental to your wellbeing. Quiet time is very underrated.
Lots of power management settings scattered throughout the phone, usually.
Check to see if global power management is running first: Developer options>standby apps, all buckets should show as active otherwise power management is active. It can't be disabled here though.
Check each apk being used for AOD. Make sure they have needed permissions and that battery saving isn't checked.
Disable any power management including Android, 3rd party, carrier or manufacturer ones.
Try in Safe mode.
Clear system cache and AOD data.
Make sure screen lock isn't interfering with AOD.
With a factory reset even if it works the issue will likely reoccur. Exception is if a 3rd party app altered user hidden settings, this can and does occasionally happen with poorly written apps. Sometimes only after you uninstall them
Play with it, find the root cause... fun isn't it?
Click to expand...
Click to collapse
ah some things there that i havent tried.
will play around and report back.
yea the joys of android!!!
stuatrb04 said:
ah some things there that i havent tried.
will play around and report back.
yea the joys of android!!!
Click to expand...
Click to collapse
Feels good when you track it down.
I've tracked (and caused, oops) a few bizarre ones down
Stock Androids are generally very robust platforms.
Lately I have had a Oneplus 9, Oneplus 9 Pro and a Oneplus 10 Pro. In all of them, from Android version 12 (it also happens in 13), what is said here happens (AOD turns off at night even if it is programmed so that it is always active).
From what I see here, either it is a bug that has been introduced since the Oneplus and Oppo software were unified, or it is a crap that Google has put in Android since version 12 that there is no way to fix Because I've been trying things for a long time and reading in forums and websites and no solution to this problem is found anywhere.
For those of us who use our mobile phones as a nightstand clock, it is a great disappointment.
dtvenom said:
Lately I have had a Oneplus 9, Oneplus 9 Pro and a Oneplus 10 Pro. In all of them, from Android version 12 (it also happens in 13), what is said here happens (AOD turns off at night even if it is programmed so that it is always active).
From what I see here, either it is a bug that has been introduced since the Oneplus and Oppo software were unified, or it is a crap that Google has put in Android since version 12 that there is no way to fix Because I've been trying things for a long time and reading in forums and websites and no solution to this problem is found anywhere.
For those of us who use our mobile phones as a nightstand clock, it is a great disappointment.
Click to expand...
Click to collapse
Welcome to XDA.
Tap on works fine for me and uses less battery. Constantly looking at the time when you should be sleeping is counterproductive and a bad habit to get into. For me the novelty wore off after about a year as I find it now annoying.
It's the same on OnePlus 8T, Oxygen OS 13. At least after midnight, maybe earlier, the screen turns black with AOD always on after roughly 25-30 minutes if non use. Double tap or more activates it again.
It's broken for people who is working nights and/or is awake and active after midnight.
There's gotta be a setting fixing this through root or adb shell.
I bought a Pixel 5a/5g unlocked from Google and installed Android 12 during setup. I am currently using an LG V20 on Sprint/T-Mobile (USA) and have to upgrade the phone to be compatible with T-Mobile starting in 2022, hence the Pixel purchase. The phone is not rooted and I don't have the skills to do so.
Currently, I am evaluating the phone without a SIM card for usability, features, etc before deciding to keep it or return it. I can do email but not texts.
Installed Nova Launcher 7 (Free) to recover look-and-feel of the V20 homescreen.
Issue: I am having trouble getting notifications when the phone is inactive.
- "Always show time and date " is enabled so the lock screen will show that for a while: When I get emails, I will often (but not always) get a sound, the time display gets smaller, and an envelope icon appears
- After some time inactive, the screen goes dark. At that point, incoming emails don't ever show an icon alert. I only know they've arrived by making the phone active, going to the home screen, and waiting for it to contact the email server
- As far as I know, alerts are enabled for the mail app within the mail app and also in Settings for the mail app
The V20 had none of these issues. I'd get alerts on the "Second Screen" without any problem.
1) Any recommendations for how to get alerts to show consistently?
2) Is it possible to get notifications to show on the top of the screen next to the front facing camera or to the right of that where the wifi and battery icons display? I don't want to incur a battery penalty by having the date and time constantly displayed in large format
Supplementary info:
With the V20 and Pixel both on, the V20 alerts to every email within a few seconds. The Pixel alerts at best 1-5 minutes later and sometimes not at all.
[Edited for clarity]
Go to settings -> apps and turn off battery optimization for any app you need. I personally have no problems with notifications with battery optimization off for my email app...
Thank you. I've enclosed a screenshot of what I think you said to do and will run my tests again. If it is not the correct setting, I'd appreciate knowing. I've used Android phones for a long time but each version of the OS takes a lot of getting used to.
nijel8 said:
Go to settings -> apps and turn off battery optimization for any app you need. I personally have no problems with notifications with battery optimization off for my email app...
Click to expand...
Click to collapse
This has improved the situation to some extent. I got email notifications for five consecutive test messages sent at intervals on the Pixel without any missed ones over about 90 minutes. But, it still takes from 1 to 5 minutes whereas the V20 responds within 15 seconds and always faster than the Pixel.
Any ideas on the latency? (I also just found a setting to allow Unrestricted Data and I set Blue Mail my mail app to have that privilege)
Are there any mandatory Google services for push notifications to work? I generally disable any apps I don't use and can't remove but maybe there is something in Android 12 that I've overdone.
Currently, Gmail, Google, Google TV, and Youtube are disabled.
Additional observation:
Once the Pixel issues the alert of incoming mail, if I access the account through a separate client and mark the mail read, the icon on the Pixel disappears immediately. It is definitely hooked into the account but the notification part is slower than it ought.
one consideration may be how your pixel is interacting with whatever wifi you are using. also it seems to me a good test would be on a level playing field so turn off mobile data on the v20 so it is using the same wifi. if it's a hotspot off the v20 then use another wifi source.
I'll try that and report back. The V20 is not a hotspot . It is on the same Wifi network as the Pixel. The V20 did have cellular data enabled on the prior tests but AFAIK, the cellular data is not used when the unit is on Wifi.
Am I correct in expecting the Pixel to have an alert time comparable to the V20?
dkryder said:
one consideration may be how your pixel is interacting with whatever wifi you are using. also it seems to me a good test would be on a level playing field so turn off mobile data on the v20 so it is using the same wifi. if it's a hotspot off the v20 then use another wifi source.
Click to expand...
Click to collapse
I disabled mobile data on the V20 and compared it with the SIM-less Pixel 5a/5g. Both are connected to the same Wifi network in my house and are next to each other on a table.
I sent 6 separate messages over about one hour to an email account (not Gmail) setup on both phones on the BlueMail app configured for Push notifications. Messages were sent on the minute mark and all devices were time synched to within a couple of seconds presumably based on a network time server. 3 messages sent from an iPhone using cellular data with Wifi off, 3 sent from my laptop using Gmail. Laptop is on the same wifi network.
In all six cases, the V20 responded in ~20 seconds almost to the dot.
The Pixel "beat" the V20 one time out of six - alert came almost instantly. The other five were 2, 3, 3, 4, and 4 minute intervals (aggregate, not all in a row) and almost always on the minute mark.
I used a macOS mail client to mark the messages as read and the alerts on both devices cleared instantly.
So, unfortunately, it is not the Mobile Data.
But, the minute mark delays make me wonder if the Pixel is polling or requires other configuration to do true Push notifications. e.g. something other than battery saver that tells the Pixel to be continuously alert for pushes.
According to this link, that isn't how Push works but the observations are what they are.
How do android check for apps notifications? Can I change the frequency between checks?
I want to make my phone (6.0.1) check for notifications each hour (instead of each minute, or whatever it's set as default). Is it possible? I'd like to change this value for notifications in gene...
android.stackexchange.com
Does Android have a method to dump all the phone settings to a file? It is possible I tweaked something on the V20 a long time ago and forgot about the setting.
Additional data:
Prior runs done with both phones on battery.
Noticed Adaptive Battery was still on for some reason and toggled it off. Thought I had done that earlier. No effect to alert times.
Plugged both phones in and repeated:
1) Pixel behaves oddly. On battery, lock screen continuously shows the clock. On power, the lock screen locks after 2 mins for a while, then stops doing that but the clock brightens and dims every 30-45 seconds
2) When the Pixel screen is blanked, messages seem to be downloaded but either a sound plays with no display alert or no sound plays and no display alert
Again, marking messages read on another client takes effect immediately on the Pixel mail app.
I have no idea if this is hardware, the OS, or some weird interaction between them. I don't think there are any other battery panels to check. I received the phone on Saturday 27 November and have no idea how to contact Google for an exchange. They say they're very busy and to use their Forum which obviously won't do swaps or refunds.
i noticed under gmail settings/account settings there is an inbox notifications. and then a selection to notify for every message. i would think that this would be a default setting but looks like if you want to be notified for every message you have to select it. i normally have these notifications turned off so i guess i'm not the one to offer understanding of the ins and outs but this thing with 2 separate devices not getting almost identical notifications when desired does sorta interest me because i would think they should. i think setting battery usage to unrestricted is correct. another thing i might suspect is the adaptive connectivity selection on network connections. like maybe if you use it then wifi is not continuously on when the device is mostly idle.
dkryder said:
i noticed under gmail settings/account settings there is an inbox notifications. and then a selection to notify for every message. i would think that this would be a default setting but looks like if you want to be notified for every message you have to select it. i normally have these notifications turned off so i guess i'm not the one to offer understanding of the ins and outs but this thing with 2 separate devices not getting almost identical notifications when desired does sorta interest me because i would think they should. i think setting battery usage to unrestricted is correct. another thing i might suspect is the adaptive connectivity selection on network connections. like maybe if you use it then wifi is not continuously on when the device is mostly idle.
Click to expand...
Click to collapse
Ok, thanks for this.
I think I will have to exchange or return this Pixel 5a/5g. I believe I have everything set up correctly in BlueMail. I have my own domain and IMAP mail service so I don't use any Gmail settings.
On top of all of the connectivity issues, the camera shows some light black "venetian blinds" as I move it around. Other apps such as AirDroid are sluggish when connecting to the Pixel and lightning fast on the V20.
I think I got a lemon.
Rich_Palermo said:
Ok, thanks for this.
I think I will have to exchange or return this Pixel 5a/5g. I believe I have everything set up correctly in BlueMail. I have my own domain and IMAP mail service so I don't use any Gmail settings.
On top of all of the connectivity issues, the camera shows some light black "venetian blinds" as I move it around. Other apps such as AirDroid are sluggish when connecting to the Pixel and lightning fast on the V20.
I think I got a lemon.
Click to expand...
Click to collapse
i'll be interested to hear how google handles your issue so keep the thread updated. they seem to be getting bolder with denials of request for returns. the thing with the back of the 5a being kinda streaked with different shades of black is what i have on mine but i've been reading that google seems to think it's not a defect. i use a case so it's not something i get all worked up about but when other people say they think it's a returnable defect i can relate. i'm coming from the 3a and i think this 5a is overall a good evolution of the "a" lineage.
dkryder said:
i'll be interested to hear how google handles your issue so keep the thread updated. they seem to be getting bolder with denials of request for returns. the thing with the back of the 5a being kinda streaked with different shades of black is what i have on mine but i've been reading that google seems to think it's not a defect. i use a case so it's not something i get all worked up about but when other people say they think it's a returnable defect i can relate. i'm coming from the 3a and i think this 5a is overall a good evolution of the "a" lineage.
Click to expand...
Click to collapse
I will update the thread with the return/refund status. This was my first and now my last Google device. I only wish I had punted as soon as the notification issue came up and not spent so many hours running tests.
Their support directions claim there is a "Next Step: Chat or Get a Call" but plow through the steps and you wind up with Ask the Community or Contact Us, the latter which gives "Due to high volumes, you may experience long wait times for customer support. We greatly appreciate your patience."
Fortunately, I logged into my order and saw a "Return" link. I had saved all the packing so it is back in the box with the RMA inside and the mailing label outside, ready to drop off at the Post Office/Fed Ex later today.
Note: Google does NOT list "Defective" or any flavor thereof as a reason for the return. The two mandatory dropdowns hint at problems that might have solutions if you could actually get at somebody. The comment box got a good workout though.
My device looked ok superficially but the innards are terrible. My old, obsolete V20 from eBay running Android 8 outperformed the 5a/5g not just in notifications but with other programs and in general smart design features such as the second screen , removable battery, and excellent cameras with manual controls.
I read and watched a lot of reviews before pulling the trigger on the 5a/5g and I won't ever visit those sites again! I will try to find a service that will take my V20 (it lacks a lot of bands though) and, failing that, go back to eBay and roll the dice there. If I have to settle for lower performance, I'm not paying $440 ($399+tax) for the privilege.
I do appreciate the help from the Forum.
It is quite common for email to be checked every 4 minutes, by your email client asking your server for new messages - it is NOT usually a push service. Check your email client and if you are lucky you will find, probably buried deep somewhere, a setting for time between updates. The delays you recorded, maxing out at 4 minutes (twice) is the clue. Nothing wrong here. The V20 may be hammering the server but that is not necessarily a good thing.
I don't think you got a lemon. But you should know that Android 12 may be the cause of some of the issues. I am still on 11 and have had no issues at all - it is a great phone as far as I am concerned. I will be updating to 12 soon, and hope that the next update will fix any issues with the new OS.
CarinaPDX said:
It is quite common for email to be checked every 4 minutes, by your email client asking your server for new messages - it is NOT usually a push service. Check your email client and if you are lucky you will find, probably buried deep somewhere, a setting for time between updates. The delays you recorded, maxing out at 4 minutes (twice) is the clue. Nothing wrong here. The V20 may be hammering the server but that is not necessarily a good thing.
I don't think you got a lemon. But you should know that Android 12 may be the cause of some of the issues. I am still on 11 and have had no issues at all - it is a great phone as far as I am concerned. I will be updating to 12 soon, and hope that the next update will fix any issues with the new OS.
Click to expand...
Click to collapse
The email clients on both phones were set for Push vs. IMAP polling at specific intervals. I went through all the setup screens I could find on the Pixel and on the app.
I agree that the OS may be the problem but I have to evaluate the product as a whole. There were a few other issues I had with the device which I didn't list here to stay focused and not generally gripe.
Perhaps an update will fix some or all of my concerns but I have already sent the phone back.
Is adaptive battery on? If so:
"To extend battery life, Adaptive Battery may reduce performance and background activity. Some notifications may be delayed."
dkryder said:
i'll be interested to hear how google handles your issue so keep the thread updated. they seem to be getting bolder with denials of request for returns. t...
Click to expand...
Click to collapse
A full refund has posted to my credit card. I dropped off the package at FedEx Wednesday night where they scanned it in. Got an alert of a pending refund 30 minutes later. The transaction completed this morning.
No complaints on that score. The package is still in transit so Google refunded before receipt.
jcmm11 said:
Is adaptive battery on? If so:
"To extend battery life, Adaptive Battery may reduce performance and background activity. Some notifications may be delayed."
Click to expand...
Click to collapse
FWIW, I had turned off every battery saver setting I could find including that one.
Rich_Palermo said:
A full refund has posted to my credit card. I dropped off the package at FedEx Wednesday night where they scanned it in. Got an alert of a pending refund 30 minutes later. The transaction completed this morning.
No complaints on that score. The package is still in transit so Google refunded before receipt.
Click to expand...
Click to collapse
thanks for the update. that's good news. i had an experience with the pixel c tablet several years ago where the display was not scanning properly. they sent me a return ship label that day and shipped a new unit the next day. i had no problems with the new unit. so hearing that they are still quite prompt in resolving the customers issue is good to know.