Running apps being killed - OnePlus 6 Questions & Answers

As the title suggests, I keep finding apps that I'm using being killed, things like Google Music, tTorrent, and Sleep as Android all being closed while in use. I have selected "Don't Optimise" in the battery settings and "Advanced Optimization" is off.
Any ideas how I can stop this from happening?
Sent from my ONEPLUS A6003 using Tapatalk

steslatt said:
As the title suggests, I keep finding apps that I'm using being killed, things like Google Music, tTorrent, and Sleep as Android all being closed while in use. I have selected "Don't Optimise" in the battery settings and "Advanced Optimization" is off.
Any ideas how I can stop this from happening?
Click to expand...
Click to collapse
I had the very similar problem with tasker, it used to turn off because of something that I didn't knew, later after selecting don't optimise in the battery settings the Tasker remain in the background and it worked as it should be working.
Did you turned on anything in developer settings that limits the background activity?

mjp93 said:
I had the very similar problem with tasker, it used to turn off because of something that I didn't knew, later after selecting don't optimise in the battery settings the Tasker remain in the background and it worked as it should be working.
Did you turned on anything in developer settings that limits the background activity?
Click to expand...
Click to collapse
No I've not touched developer settings. I've noticed that the "don't optimize" setting keeps flipping back to optimise, that's probably why it's being killed all the time.
Another thing I've noticed, Google play music doesn't show in the list of apps under battery optimization so I can't even switch that off.
Sent from my ONEPLUS A6003 using Tapatalk

steslatt said:
No I've not touched developer settings. I've noticed that the "don't optimize" setting keeps flipping back to optimise, that's probably why it's being killed all the time.
Another thing I've noticed, Google play music doesn't show in the list of apps under battery optimization so I can't even switch that off.
Click to expand...
Click to collapse
Weird settings should not revert on its own. I just checked mine and they are staying on what I had selected.
I am out of answers, I hope other members will help you out.

Same Thing here my Ring doorbell keep shutting itself off in deep sleep and won't give notifications

Related

Automate for Android...working on Huawei?

Hi guys. I am trying to use Automate for Android to do some simple tasks based on location. I have set the Automate app to stay open when screen lock and to be excluded from the battery optimization via the Special Access setting. However, Automate stops working if I leave my phone for a while. I assume its because of the Android Doze feature.
Has anyone got Automate to work?
tboooe said:
Hi guys. I am trying to use Automate for Android to do some simple tasks based on location. I have set the Automate app to stay open when screen lock and to be excluded from the battery optimization via the Special Access setting. However, Automate stops working if I leave my phone for a while. I assume its because of the Android Doze feature.
Has anyone got Automate to work?
Click to expand...
Click to collapse
have you tried turning off Settings - Battery - Settings icon top right - Close excessively power-intensive apps?
It shouldn't really be power intensive... but it's huawei so you never know...
There was a bug in C432B193 (?), and firmware released at the same time for other custs, which closed apps you were using in the foreground too, turning that option off fixed it so you could just test.
ante0 said:
have you tried turning off Settings - Battery - Settings icon top right - Close excessively power-intensive apps?
Click to expand...
Click to collapse
Thank you for the reply. I've tried that as well. Seems like Automate cant be made to work reliably with Huawei. I am going to go back to Tasker to see if I have better luck.
Trigger works fine for me. Always in memory.
Sent from my MHA-L29 using XDA Labs

How can I stop apps from being killed by doze?

Hello,
I have a GPS mock location app that keeps getting killed by doze and I want it to run until I stop it myself. I have excluded it from restrictions and battery optimization in settings but it keeps getting killed after a few minutes the screen goes off. I also have NapTime installed but I don’t know how to whitelist it there. If I can whitelist it there does anybody know how to?
Is Naptime causing it to be killed or that’s just oxygen OS ? In my nougat Samsung the app kept running until I stopped it myself.
Just remove them from being optimized.... Battery>battery optimization>then show all apps and tap on what you don't want killed and tap do not optimized
jamesfitzes said:
Hello,
I have a GPS mock location app that keeps getting killed by doze and I want it to run until I stop it myself. I have excluded it from restrictions and battery optimization in settings but it keeps getting killed after a few minutes the screen goes off. I also have NapTime installed but I don’t know how to whitelist it there. If I can whitelist it there does anybody know how to?
Is Naptime causing it to be killed or that’s just oxygen OS ? In my nougat Samsung the app kept running until I stopped it myself.
Click to expand...
Click to collapse
Open the app then go multitasking. Press the 3 dot on top and lock the app so it will always stay open. I Attached a pic so u can see
eduardmc said:
Open the app then go multitasking. Press the 3 dot on top and lock the app so it will always stay open. I Attached a pic so u can see
Click to expand...
Click to collapse
This works, thanks for the tip.
jamesfitzes said:
This works, thanks for the tip.
Click to expand...
Click to collapse
Np. Thats why we are here for
BTW do you know any battery efficient app for this? I am using Hola Fake GPS but it's killing my battery real hard

Delayed notifications until I check my phone

Hello,
I recently purchased the pixel 3, I've had it for less than a month. I couldn't resist the $300 off, and my OnePlus 3T was starting to show signs of it's age
One reason I switched was hoping notifications would be more reliable and on time, since I've read OnePlus severely restricts background services, and I would always get delayed notifications, even when I was using the phone!
But now with the pixel 3, if I'm away from my phone for a while, I won't get nearly any notifications, then when I go to check my phone just to see if I missed something, when I turn the screen on, immediately the notifications come in, and in one app for work, when I open the notification it tells me that the job is already gone. That's one way I know the notification was actually sent out waaaaay earlier
I've seen this before on the OnePlus, and I've read about it a lot, I think it has something to do with doze mode. On the OnePlus it was really easy to turn off doze mode(though OnePlus is so bad at this that I wonder if turning it off did anything), but that was Android Oreo and oxygen os. I can't even find a switch for doze mode in Android pie. It's not in developer settings, the closest thing I could find was adaptive battery, which is off. And I already set those important apps to have battery optimization disabled. Yet this keeps happening, as if doze mode is running on everything.
How do I turn off doze mode?? Or what can I do to get my notifications on time?? The work app I use heavily relies on that Google/firebase cloud messaging thing, and if I don't get notifications for new jobs on time, I pretty much miss out on a whole bunch of work.
Got any ideas?? Please help
Have you tried disabling Battery Optimisation for the apps which notifications are delayed?
For Android Pie it's in Settings > Apps & Notifications > Advanced > Special app access > Battery Optimisation, then change the filter to All apps and disable optimisation for each app you want to.
Turning off battery optimization doesn't do a thing. Notifications are always delayed for an app like Gmail, even after battery optimization are turned off.
Fille84 said:
Turning off battery optimization doesn't do a thing. Notifications are always delayed for an app like Gmail, even after battery optimization are turned off.
Click to expand...
Click to collapse
I have seen that happen especially when installing from a TB restore. Go into the app and disable notifications, and then re-enable them. If that doesn't work, delete and add the app back from the Play Store. That has worked for me in the past.
Fille84 said:
Turning off battery optimization doesn't do a thing. Notifications are always delayed for an app like Gmail, even after battery optimization are turned off.
Click to expand...
Click to collapse
I never had to turn off battery optimization to have instant notifications for Gmail maybe check @sliding_billy 's tips
sliding_billy said:
I have seen that happen especially when installing from a TB restore. Go into the app and disable notifications, and then re-enable them. If that doesn't work, delete and add the app back from the Play Store. That has worked for me in the past.
Click to expand...
Click to collapse
I will try that, even though I believe I've tried that before. I Started to use Outlook instead that gives me instant notifications.
Fille84 said:
I will try that, even though I believe I've tried that before. I Started to use Outlook instead that gives me instant notifications.
Click to expand...
Click to collapse
Yeah, the new Outlook app is damn good. I don't use it for other accounts, but I use it for my outlook.com account that I have had literally since Microsoft launched Hotmail. Now that the Activesync works on the deleted folder (which it didn't for a long time), I rarely use my Gmail account for anything not coming from Google.
bafforosso said:
Have you tried disabling Battery Optimisation for the apps which notifications are delayed?
For Android Pie it's in Settings > Apps & Notifications > Advanced > Special app access > Battery Optimisation, then change the filter to All apps and disable optimisation for each app you want to.
Click to expand...
Click to collapse
Yes I mentioned this in my post.
Fille84 said:
Turning off battery optimization doesn't do a thing. Notifications are always delayed for an app like Gmail, even after battery optimization are turned off.
Click to expand...
Click to collapse
Yeah it seems battery optimization toggles are useless
sliding_billy said:
I have seen that happen especially when installing from a TB restore. Go into the app and disable notifications, and then re-enable them. If that doesn't work, delete and add the app back from the Play Store. That has worked for me in the past.
Click to expand...
Click to collapse
I've tried this before but it doesn't help. Something within Android is messing up the notifications really badly. It's like it's putting Android into a really deep sleep, and maybe the notifications are being received, but the system is not waking up the phone to tell you,
so they just linger around until you check your phone, only when you check the phone does the system all of sudden tell you that notifications had been received. It's so annoying!
Does this method still work on Android 10?
https://youtu.be/SB3-k-3Cem4
Any chance you have flip to shh on? Do not disturb when face down?
Do notifications come in with screen on?
I'm on my second pixel 3 (first one warrantied after it stopped charging randomly) and neither gave me trouble with notifications.
My dad disabled notifications rather than just dismissing them when I got him his first smart phone last year, but it sounds like you're a lot more savvy than that.
Someone mentioned a titanium backup, which I was happy to do on my op3, but part of the appeal to me of the pixel was a totally clean and Google-managed backup process. Are you on a stock install?
Any chance you are using a MVNO? I went years on a MVNO with no push/sync issues. Over the last year I developed notification issues. I switched multiple phones & carriers, the only way I could fix delayed notifications was to switch to a real carrier, that or use WiFi.
Turn off developer mode. It worked for me.

Not getting any notification until I open the app

Since today I'm on Open Beta 5, and I have the isse that apps like Snapchat/Instagram and Gmail aren't sending any notifications until I open the app and manually refresh them.
WhatsApp is working as it should.
I already checked the notification settings in these apps, but everything is set up as it should. I also tried "not optimizing" the apps in the battery settings, no help.
Any other idea?
Pin them in recents and it may help. Also make sure you have turned off sleep stanby optimisation under battery optimisation
hallo dare said:
Pin them in recents and it may help. Also make sure you have turned off sleep stanby optimisation under battery optimisation
Click to expand...
Click to collapse
I tried your advice but it didn't help as well. Sleep standby optimisation is turned off too...
memocatcher said:
I tried your advice but it didn't help as well. Sleep standby optimisation is turned off too...
Click to expand...
Click to collapse
I hate to say.. but factory reset is your best option .. this happens sometimes on OnePlus phones

Issue with Battery Optimization - Please Help

Battery Optimization always turn off my MicroG and Volume Style
Detail:
I Use MicroG for Vanced, and Volume Style for swipe volume. (I like these two apps very much for several years) Then need to turn off battery optimization. I choose to not optimize. Then it will always back to optimize. Every day, every time I should find these two apps, and set to not optimize.
Open app setting and turn off battery saver too, still the same.
Is it because of MIUI Optimization ? is it okay to turn it off? Or I just have to give up using those two apps anymore :crying:?
you can turn off MIUI optimization. try enable microG in autostart. and disable Miui battery saver in microG. recomend use MIUI eu for this youtube vanced for better experience.
Pepiii said:
I Use MicroG for Vanced, and Volume Style for swipe volume. (I like these two apps very much for several years) Then need to turn off battery optimization. I choose to not optimize. Then it will always back to optimize.
Click to expand...
Click to collapse
Can confirm, I'm seeing the same here (Vanced on stock EU v12.0.3.0).
same here, especially if you reboot the optimisation comes back...very frustrating.
Alvian_P said:
you can turn off MIUI optimization. try enable microG in autostart. and disable Miui battery saver in microG. recomend use MIUI eu for this youtube vanced for better experience.
Click to expand...
Click to collapse
So, is it better to turn MIUI Optimization off or not ?
Pepiii said:
So, is it better to turn MIUI Optimization off or not ?
Click to expand...
Click to collapse
You don't need to turn off MIUI optimization. What's basically happening is that Microg doesn't request the proper app permissions for it to run on background smoothly. Even if you manually grant it the required permission i.e. Allow_in_power_save, it won't work, since it doesn't use it and MIUI requires it to be set to specify what to do. In short if you are worried about functionality then don't be. And if the notification bothers you, you can turn it off like in screenshots below.
Slim K said:
You don't need to turn off MIUI optimization. What's basically happening is that Microg doesn't request the proper app permissions for it to run on background smoothly. Even if you manually grant it the required permission i.e. Allow_in_power_save, it won't work, since it doesn't use it and MIUI requires it to be set to specify what to do. In short if you are worried about functionality then don't be. And if the notification bothers you, you can turn it off like in screenshots below.
Click to expand...
Click to collapse
I get it, so it means MicroG will still function well even though the notification appeared.
And what about function in Volume Style that always turn off because it back to optimize even I've already make it not optimize. Is there any suggestions what I have to do ?
seems MIUI battery settings seem to revert back after a while for "important apps" - such as Nova launcher for example.
i have optimisation off in developer settings, but no matter how many times i set specific apps to "no restriction" , MIUI 12 just reverts back after a little while.
nickmax1 said:
seems MIUI battery settings seem to revert back after a while for "important apps" - such as Nova launcher for example.
i have optimisation off in developer settings, but no matter how many times i set specific apps to "no restriction" , MIUI 12 just reverts back after a little while.
Click to expand...
Click to collapse
Developer options>standby mode
Try setting all buckets to active*; if they're not already locked to active, power management is active.
Find the app causing this and deal with it directly.
Power management... destroyer of worlds
*this may work but the power management app may simple reset the bucket state latter.
blackhawk said:
Developer options>standby mode
Try setting all buckets to active*; if they're not already locked to active, power management is active.
Find the app causing this and deal with it directly.
Power management... destroyer of worlds
*this may work but the power management app may simple reset the bucket state latter.
Click to expand...
Click to collapse
I have no setting in Developer Options called "Standby mode"
nickmax1 said:
I have no setting in Developer Options called "Standby mode"
Click to expand...
Click to collapse
I don't know then...
anyone found a solution for this? will using venced in root mode be any better?? what if one keeps the battery optimizations on for microG will venced still work as expected??
blzbh said:
anyone found a solution for this? will using venced in root mode be any better?? what if one keeps the battery optimizations on for microG will venced still work as expected??
Click to expand...
Click to collapse
For those wondering (this thread is a top match via Google), the solution is to simply enable the app icon in microG settings. You can get to settings via YouTube Vanced. Then MIUI will treat it like a standard app, allowing you to disable battery optimisation and it will persist across reboots.
nickmax1 said:
I have no setting in Developer Options called "Standby mode"
Click to expand...
Click to collapse
Standby apps...
This is how it should appear if global power management is disabled. Although the bucket shows all buckets as active, many are not and not using battery or any resources like ApkExport or Autostarts which weren't in the memory cache at the time this screen shot was taken.

Categories

Resources