Doze silents my alarm?! - Nexus 6P Q&A, Help & Troubleshooting

Has anyone tried to use third party alarm apps and they won't go off after doze kicks in? The native alarm from the phone works, but i wonder if this is my issue. I am currently on Chroma rom.

I have had no issue with Doze and using Sleep As Android for my morning alarm. I'm just on pure stock Marshmallow though.

Non stock apps are probably battery optimized by default. Try going in to the battery optimization settings and exempting that app.

From what I understood the developers need to add something to the code that is why the stock app only works.
Sleep as Android is using a workaround method for now.

Related

[Q] Lollipop 5.0 aggressive background app quitting

I'm on 5.0 with Xposed and the ColorFade Memory Leak fix. However, it seems that Lollipop is still force closing background apps too quickly. I play Hearthstone a lot, and I used to background it to go on chrome or respond to a text message or something in Kitkat 4.4 with no issues. Now on 5.0, it will close very quickly. I even hit home sometimes and went right back into the app without doing anything else, and saw that it had closed instantly. Is there any fix for this, or do I just have to wait?
I also noticed that when I was using Google maps and Spotify, then opened Waze, the first two would force close as well. This wasn't an issue on KK 4.0 either.
have the same issues on the stock firmware
I'm on tmo and I have the same problem. it's with stock and AOSP. I can't run pocket cast and anything else for fear of pocketcast (or google music for that matter) closing. I wonder if there is a way to increase it's priority so lollipop won't close it.
xcom923 said:
I'm on tmo and I have the same problem. it's with stock and AOSP. I can't run pocket cast and anything else for fear of pocketcast (or google music for that matter) closing. I wonder if there is a way to increase it's priority so lollipop won't close it.
Click to expand...
Click to collapse
I heard that TouchWiz by Samsung wasn't supposed to have this issue even though all other flavors did, but considering I'm having it, it's not the case.
There's a thing in the Xposed module, App settings, called resident which allows an application to be forced/higher priority in memory, but I find it either doesn't work because lollipop's force close background apps is too strong, or it only makes the background apps stay a tiny bit longer.
Update: I found out today that my issue was disabling Touchwiz's DVFS in the Wanam Xposed module. Re-enabling it fixed all my issues it seems.
Spartan117H3 said:
Update: I found out today that my issue was disabling Touchwiz's DVFS in the Wanam Xposed module. Re-enabling it fixed all my issues it seems.
Click to expand...
Click to collapse
Wow, is that what's been happening? I've been having this same problem on my T-mo Note 4 N910T (Lollipop 5.0.1) with apps aggressively being killed. I've been pulling my hair out because I had no idea why. After seeing your post and disabling the DVFS killer I no longer have this issue. Overlooked it because it just wasn't in my list of things that would be causing it. Thank you!

Doze Now Available for Devices on Lollipop

Found this article on Phone Arena Doze. Someone has mimic'd the code of Doze from Marshmallow and made it available in a stand alone app in the Play Store. It creates a VPN when your screen is off, and limits background processes' access to data and whatnot, thus limiting wakelocks(at least that is what's advertised) It seems to be working well for me thus far, but I will update with results after I get a full day's use of Doze to see if it has saved me idle battery drain. It may help you too!
My T-Mobile Note 5 received an OTA update that added a feature called "app optimization" which mimics doze.
App optimization came with the Note 5 from day one as far as I know. I got the update on my S6 well before I bought the note 5.
Does anyone know if App Optimization interferes with notifications from apps like whatsapp, telegram, wickr, and signal?
ozaghloul said:
App optimization came with the Note 5 from day one as far as I know. I got the update on my S6 well before I bought the note 5.
Does anyone know if App Optimization interferes with notifications from apps like whatsapp, telegram, wickr, and signal?
Click to expand...
Click to collapse
Well it says does before you optimization starts so I'm guess yes.. If you don't use the app for a variety of days
Sent from my SM-N920T using Tapatalk
I had to drop Marshmallow from my Nexus 6 because my alarms stopped going off and I kept missing my meds... Doze has issues.
ozaghloul said:
App optimization came with the Note 5 from day one as far as I know. I got the update on my S6 well before I bought the note 5.
Does anyone know if App Optimization interferes with notifications from apps like whatsapp, telegram, wickr, and signal?
Click to expand...
Click to collapse
Not for the N920T, I got it when it first came out. App optimization was only added on the latest update (COJ5), AOGE, BOH4, BOH6, & COI5 did not have it.
Not sure about those apps but it only works on user installed apps. Would be nice if some can make a mod to add system or preinstalled apps.
Hi,
I have owned a nexus 6p which has doze in it and I must say it is the best feature but what app optimization does is shuts down the application or hibernate the application if it's service(s) is not being used for a certain number of days.
But had some screen issues and having a replacement which had the same issue made me switch to note 5.

Huawei P8 automatically kills apps

Hi
my P8 automatically kills apps that are running for longer than one hour. For example if I use Google Maps Navigation, or Runkeeper to track my runs.
In settings i have 'Performance' selected in the Power Savings Menu, I added Google Maps, Runkeeper, etc. to the protected apps and i don't have any third party app for battery saving, task killing or something like that. I also locked the app in the app switcher by swiping down on it, so that the lock icon appears.
Nevertheless after running for just over an hour this morning, Runkeeper was killed anyway.
Does anybody have the same problem and knows a solution?
Thanks
anarki
ltc.anarki said:
Hi
my P8 automatically kills apps that are running for longer than one hour. For example if I use Google Maps Navigation, or Runkeeper to track my runs.
In settings i have 'Performance' selected in the Power Savings Menu, I added Google Maps, Runkeeper, etc. to the protected apps and i don't have any third party app for battery saving, task killing or something like that. I also locked the app in the app switcher by swiping down on it, so that the lock icon appears.
Nevertheless after running for just over an hour this morning, Runkeeper was killed anyway.
Does anybody have the same problem and knows a solution?
Thanks
anarki
Click to expand...
Click to collapse
Hi, try Settings>serach: optimalization (ignore app optimalisation or something like that) and select what apps you dont want to be killed, maybe it helps
ltc.anarki said:
Does anybody have the same problem and knows a solution?
Click to expand...
Click to collapse
There is no solution. every phone with EMUI works like that. It's intentional to save battery (that's what they say). I heard they fixed it in EMUI 5 (which is closer to stock Android) but P8 is not going to get it. If you really need those apps you have no choice - change your phone.
majaczos said:
There is no solution. every phone with EMUI works like that. It's intentional to save battery (that's what they say). I heard they fixed it in EMUI 5 (which is closer to stock Android) but P8 is not going to get it. If you really need those apps you have no choice - change your phone.
Click to expand...
Click to collapse
no true, if you need some app to work in deep sleep, you just have to allow it in manager and disable its optimalization, then it wont be killed
there is an option in settings..called protected apps on or off
^^ and:
00471 said:
no true, if you need some app to work in deep sleep, you just have to allow it in manager and disable its optimalization, then it wont be killed
Click to expand...
Click to collapse
It will be killed but after a slightly longer period of time. No app will last more than 3 hours in the memory. That's how EMUI works.
majaczos said:
^^ and:
It will be killed but after a slightly longer period of time. No app will last more than 3 hours in the memory. That's how EMUI works.
Click to expand...
Click to collapse
what version of rom are you using? i have Gratitude V5, gmail works during all night, no problem what so ever, messenger works too even if i selected it to be killed and optimized by system, only thing you have to do is to convert it to system app
Stock B382. It's better than on B200 - before it was killing all apps instantly when the screen was off.
majaczos said:
^^ and:
It will be killed but after a slightly longer period of time. No app will last more than 3 hours in the memory. That's how EMUI works.
Click to expand...
Click to collapse
That's not true, I have a number of apps that run in the background and don't get killed. Tasker, Light Flow, Doggcatcher, Gmail, K9mail...
I'm on latest Gratitude and was in the Fromfuture ROMs before.

Phone not receiving real time notifications

Hi, I have an OP5 on stock Open Beta 5, I'm currently rooted.
Apps that usually have real time notifications or functions don't seem to work until I manually start them after bootup, or even don't work at all.
For example, my mail app now doesn't give me notifications, rather I would have to open up the app manually and refresh the app to see my mail load. Other apps like a notification mirroring app don't work at all until I launch it once on my phone every restart.
I thought it was like Greenify shutting these processes down but I've uninstalled that since. Any ideas?
erak606 said:
Hi, I have an OP5 on stock Open Beta 5, I'm currently rooted.
Apps that usually have real time notifications or functions don't seem to work until I manually start them after bootup, or even don't work at all.
For example, my mail app now doesn't give me notifications, rather I would have to open up the app manually and refresh the app to see my mail load. Other apps like a notification mirroring app don't work at all until I launch it once on my phone every restart.
I thought it was like Greenify shutting these processes down but I've uninstalled that since. Any ideas?
Click to expand...
Click to collapse
Did you reboot and wipe cache? What mods did you use additional? Please give more details about your setup.
You can also exclude apps from battery optimization for keeping this apps awake even when doze kicks in so messages came always through and not only in specific time periods.
strongst said:
Did you reboot and wipe cache? What mods did you use additional? Please give more details about your setup.
You can also exclude apps from battery optimization for keeping this apps awake even when doze kicks in so messages came always through and not only in specific time periods.
Click to expand...
Click to collapse
Hi, I'm currently rooted with Magisk. I tried excluding the app from battery optimisation and so far it's been working.
erak606 said:
Hi, I'm currently rooted with Magisk. I tried excluding the app from battery optimisation and so far it's been working.
Click to expand...
Click to collapse
If it's not working please answer the other questions too

Disable Battery Optimization

So it looks like there are many people having issues with the battery optimization feature, which lets me guess oneplus is already aware of the problem. My question is if there is a way to disable the optimization completely for now until oneplus has sorted things out.
Since the last update it is so aggressive, it kills youtube's connection to my chromecast every few minutes, rendering all control features unuseable as I always have to reconnect before I can do anything. This also makes my wearOS watch unuseable as it also depends on the phone keeping the connections alive.
You can turn off Optimization for YouTube and WearOS
Settings > Apps & Notifications > Special app access
You can turn off optimization for any app, and see the advanced in the 3 dot menu. I had the same problem with my watch, turned off the watch app and helper, now works great. I also turned off messenger, no problems now.
Sent from my iPad using Tapatalk
I also would like to know if this is possible in an easy way. I don't want to disable it for 256 apps independently.
Aircraft800 said:
You can turn off Optimization for YouTube and WearOS
Settings > Apps & Notifications > Special app access
You can turn off optimization for any app, and see the advanced in the 3 dot menu. I had the same problem with my watch, turned off the watch app and helper, now works great. I also turned off messenger, no problems now.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply!
That setting was the first thing I checked and already disabled optimization for the wearOS and cast apps which work fine now. Unfortunately it won't let me disable it for the youtube app as it handles that one as a system app. As long as youtube is not allowed in the background wearOS has nothing to communicate with so I still can't control it.
That's why my next thought was if I can't disable it for system apps maybe there is a way to completely disable it until oneplus has the problem solved. I know that solution would suck but at the moment I am forced to use another phone to use youtube properly which sucks even more imo.
boelze said:
Thanks for the reply!
That setting was the first thing I checked and already disabled optimization for the wearOS and cast apps which work fine now. Unfortunately it won't let me disable it for the youtube app as it handles that one as a system app. As long as youtube is not allowed in the background wearOS has nothing to communicate with so I still can't control it.
That's why my next thought was if I can't disable it for system apps maybe there is a way to completely disable it until oneplus has the problem solved. I know that solution would suck but at the moment I am forced to use another phone to use youtube properly which sucks even more imo.
Click to expand...
Click to collapse
I wonder if the system mover app works on Pie and YouTube? I didn't realize YouTube was a system app since it's from the play store.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
Aircraft800 said:
I wonder if the system mover app works on Pie and YouTube? I didn't realize YouTube was a system app since it's from the play store.
https://play.google.com/store/apps/details?id=de.j4velin.systemappmover
Click to expand...
Click to collapse
I would love to try this but I am unrooted. Youtube should be on the list but it is not, I am guessing that is because it comes preinstalled, the playstore app isn't there as well for example.
I know this is an old thread, but the more I use my new phone, the more I believe this to be the issue with my Gmail app constantly putting my Exchange accounts back to 30 minute fetch. And, I cannot disable battery optimization on Gmail because it's a system app (and I do not want to root). For now, every other day, I have to tell the device that it really is OK for Gmail to remain constantly connected to my Exchange account, that I actually prefer it to be. I've made it to 54 hours with my normal use (OVER 7 HRS S.O.T), not trying to stretch it at all, no battery saving features on whatsoever. So it's safe to say I can afford for Gmail to stay connected with Exchange. The optimization is a bit too aggressive for not allowing system apps to be excluded.
I've also had issues with Google Assistant not reminding me about reminders that are clearly in the list of her reminders, and I think this to be the culprit as well, and again, can't disable it because it's not on the list.
cannothas said:
I know this is an old thread, but the more I use my new phone, the more I believe this to be the issue with my Gmail app constantly putting my Exchange accounts back to 30 minute fetch. And, I cannot disable battery optimization on Gmail because it's a system app (and I do not want to root). For now, every other day, I have to tell the device that it really is OK for Gmail to remain constantly connected to my Exchange account, that I actually prefer it to be. I've made it to 54 hours with my normal use (OVER 7 HRS S.O.T), not trying to stretch it at all, no battery saving features on whatsoever. So it's safe to say I can afford for Gmail to stay connected with Exchange. The optimization is a bit too aggressive for not allowing system apps to be excluded.
I've also had issues with Google Assistant not reminding me about reminders that are clearly in the list of her reminders, and I think this to be the culprit as well, and again, can't disable it because it's not on the list.
Click to expand...
Click to collapse
Having exactly same problems with gmail and chrome (html5 push notifications). I am rooted. So I am considering to mark those apps as non system apps, but still not sure if this won't brake future updates or something.

Categories

Resources