GUIDE: How to avoid EMUI system from closing apps running in the background - Huawei Mate 20 Pro Guides, News, & Discussion

Hi guys,
I finally found a way to prevent the system form closing applications that I want to keep in background.
First, what most where suggesting is this:
Settings -> Battery -> App Launch -> Turn off "manage automatically" and allow the apps you want to to "auto-launch", "secondary launch" and "run in background"
This is a first step and some users reported it also helped with idle battery drain, however it did not help and system was still closing MX player like crazy if I paused whatever I was playing for a few seconds, so here is the important step for apps you want to keep in background:
Settings -> Apps -> Apps -> three dots on upper right corner -> special access -> battery optimization -> change dropdown menu to "all apps" -> change apps you want to keep in background to "don't allow, may drain battery more quickly"
That's it!

vwite said:
Hi guys,
I finally found a way to prevent the system form closing applications that I want to keep in background.
First, what most where suggesting is this:
Settings -> Battery -> App Launch -> Turn off "manage automatically" and allow the apps you want to to "auto-launch", "secondary launch" and "run in background"
This is a first step and some users reported it also helped with idle battery drain, however it did not help and system was still closing MX player like crazy if I paused whatever I was playing for a few seconds, so here is the important step for apps you want to keep in background:
Settings -> Apps -> Apps -> three dots on upper right corner -> special access -> battery optimization -> change dropdown menu to "all apps" -> change apps you want to keep in background to "don't allow, may drain battery more quickly"
That's it!
Click to expand...
Click to collapse
Shared. Yea it works. Ive been doing it since the MAte 9

Not working for me
I don't know what I did wrong please help me it is very annoying

amem said:
Not working for me
I don't know what I did wrong please help me it is very annoying
Click to expand...
Click to collapse
what app is still closing?

vwite said:
what app is still closing?
Click to expand...
Click to collapse
Chrome always closing, twitter and messages sometimes I can't multi-tasking between 3 apps sometimes 4, is this normal?
My old mate 10 do a better job than mate 20pro

amem said:
Chrome always closing, twitter and messages sometimes I can't multi-tasking between 3 apps sometimes 4, is this normal?
My old mate 10 do a better job than mate 20pro
Click to expand...
Click to collapse
Restarting the phone fixed the problem
Before restart my device was 48Hrs up
Will wait and see when the system stops multi-tasking

B.t.w. why there is no memory usage visible anymore in settings with EMUI 9?

I noticed it closed some apps, right after using the camera for a bit.

I cant keep youtube running in the background. Wont it still run after doing this? Thank you

already done this but spotify keeps closing.

amem said:
Restarting the phone fixed the problem
Before restart my device was 48Hrs up
Will wait and see when the system stops multi-tasking
Click to expand...
Click to collapse
I restart every morning after a charge because there must be memory leaks. After a day of no restarting it holds at most 2 apps in memory of that.
Also switching to fixed resolution helped a lot for me. There's deffo a bug there.

Is there an way to setup the mail to push instead of 15 min?
Verstuurd vanaf mijn LYA-L29 met Tapatalk

Derpling said:
I noticed it closed some apps, right after using the camera for a bit.
Click to expand...
Click to collapse
Same for me. Seems to do it more when using night mode. Killed Audible multiple times taking night shots yesterday evening. ?

Also there is a memory leak as the time goes on, my device didn't slow down, but i had stutters while playing games.
Phone needs seriously more polish, specifically the camera that closes down a lot of apps, doesn't feel like 6gb.

-

bluewhales48 said:
Hope this is a Typo.
The feature "Ignore Battery Optimisation" is there to allow you to exclude certain apps you want to keep running in the background from being closed by the battery optimisation feature. You do this by adding an app to the "Allow" list, (hence the, "Not recommended, may drain your battery more quickly), and NOT the opposite.
I know you're trying to be helpful but mistakes like this can cause more confusion.
Click to expand...
Click to collapse
When I had the Mate 20 Pro I had to turn OFF the switch (circle in left side of the pill switch) to "disable battery" optimization in order to allow MX Player to run in background and not being closed every time 5 seconds after I paused something

bluewhales48 said:
Hope this is a Typo.
The feature "Ignore Battery Optimisation" is there to allow you to exclude certain apps you want to keep running in the background from being closed by the battery optimisation feature. You do this by adding an app to the "Allow" list, (hence the, "Not recommended, may drain your battery more quickly), and NOT the opposite.
I know you're trying to be helpful but mistakes like this can cause more confusion.
Click to expand...
Click to collapse
I think the setting he's referring to is to turn off the notification warning of battery drain which won't help an app stay alive in the background but at least you don't get a notification that you are going to ignore anyway.

Anyone have any ideas as to what I need to stop from being managed automatically in order to keep the clock and battery tiles from being stopped every time the screen is locked?

I've been looking for this for ages! It works! Cheers buddy. You're a legend.

There is video tutorial
https://youtu.be/K3DBwNRuQqM

Related

accessibility services keep turning off

My phone is rooted and installed twrp.
I have problem, accessibility services keep turning off. I enabled greenify in accessibility but after couple minutes is turn to off.
Its happening whit all installed apk like dashlane, nova launcher, greenify.
What the f*ck turn my services off?
Same thing is happening to me. Any idea how fix it?
Same happening to me
At first try to add these apps to all possible whitelists of Huawei power management apps. It should not be cleaned by RAM manager and should be left not closed when screen is off. It helped here.
Sent from my EVA-L19 using XDA-Developers mobile app
I put greenify in protected app and for now is ON in accessibility. Last 2 day working ok.
ylapas said:
At first try to add these apps to all possible whitelists of Huawei power management apps. It should not be cleaned by RAM manager and should be left not closed when screen is off. It helped here.
Click to expand...
Click to collapse
Can you explain what you did?
Milamber said:
Can you explain what you did?
Click to expand...
Click to collapse
Just go in phone manager, in protected app in second page. Check your apk here.
Sent from my EVA-L09 using Tapatalk
zelenko said:
Just go in phone manager, in protected app in second page. Check your apk here.
Click to expand...
Click to collapse
Thanks but in protected app I don't have the apk, only a list of installed applications
Yet another EMUI "feature". Hating when it happens to me as well, though I do have mixed luck with whitelisting the apk in question (where ever you can - why the hell do we have both the battery keep-running-with-screen-off feature, and the "ignore optimizations" crap? And what does this even do?).
emilrune said:
Yet another EMUI "feature". Hating when it happens to me as well, though I do have mixed luck with whitelisting the apk in question (where ever you can - why the hell do we have both the battery keep-running-with-screen-off feature, and the "ignore optimizations" crap? And what does this even do?).
Click to expand...
Click to collapse
How are you whitelisting it? The only apps I see are play store ones
Milamber said:
How are you whitelisting it? The only apps I see are play store ones
Click to expand...
Click to collapse
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Nope, I don't have these settings (Huawei x2 702L B006)
emilrune said:
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Click to expand...
Click to collapse
So, if these settings are not there, and the "protected apps" also does not solve the problem, any suggestions?
emilrune said:
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Click to expand...
Click to collapse
I have done this but still my apps like LastPass, Greenify, LookOut still get closed.
Is there another option I am missing.?
TG09 said:
I have done this but still my apps like LastPass, Greenify, LookOut still get closed.
Is there another option I am missing.?
Click to expand...
Click to collapse
Same here with Roboform password manager on Mate 9 with EMUI 5.0 . All system settings give it permission and exemption from optimization. But accessibility is turned off after a very short time of the phone screen being off. There has to be something strange going on.
hx4700 user said:
Same here with Roboform password manager on Mate 9 with EMUI 5.0 . All system settings give it permission and exemption from optimization. But accessibility is turned off after a very short time of the phone screen being off. There has to be something strange going on.
Click to expand...
Click to collapse
Strange this has not been fixed.
IMHO Huawei or EMUI should let us manage the system whitelisted apps..
It is obvious that the phone administrator is not enough to ensure we can leave opened on background 100% sure some apps... My telegram app from time to time also appears stopped.. Mmmm "strange" but easy to solve for huawei's developers if they were interested in
So strange^2
Enviado desde mi EVA-L09 mediante Tapatalk
TG09 said:
Strange this has not been fixed.
Click to expand...
Click to collapse
Actually I have found that it is a feature not a fault. I rang up Huawei to ask for help.
What you need to do is go into Settings (swipe down from top, then cog wheel) > Battery > Close apps after screen lock
Then scroll down to your 'problem' app, and switch to off.
You might be surprised at the apps that have managed to get themselves set to off. I certainly was.
hx4700 user said:
Actually I have found that it is a feature not a fault. I rang up Huawei to ask for help.
What you need to do is go into Settings (swipe down from top, then cog wheel) > Battery > Close apps after screen lock
Then scroll down to your 'problem' app, and switch to off.
You might be surprised at the apps that have managed to get themselves set to off. I certainly was.
Click to expand...
Click to collapse
Even having setup properly battery optimisation to be ommited, keep open when close and whitelist on clean up sometimes telegram gets close... We all (or most of us) know.about that options to be setup but Huawei maintains a "hidden" apps whitelist like Google apps that are permitted to be run on background ... We know is not a big and we want to have full control of which apps.to permit 100% of time not decided by Emui. That's the point.
Enviado desde mi EVA-L09 mediante Tapatalk
hx4700 user said:
Actually I have found that it is a feature not a fault. I rang up Huawei to ask for help.
What you need to do is go into Settings (swipe down from top, then cog wheel) > Battery > Close apps after screen lock
Then scroll down to your 'problem' app, and switch to off.
You might be surprised at the apps that have managed to get themselves set to off. I certainly was.
Click to expand...
Click to collapse
I have this configured for LastPass and it still gets closed.
Worked like a charm
emilrune said:
Settings - apps - "Advanced" - "ignore optimisations" - select "all apps" from the drop down menu - set apps in question to "allowed".
Click to expand...
Click to collapse
Thanks for this. It worked and now LastPass stays active for fill ins.

power-intensive apps being killed

Hey all,
there is probably nothing new for you that the long-running application consuming some bigger amount of power are killed after some time on Huawei P10 (and on other Huawei/Honor phones using EMUI). I use Runkeeper for example and it's always killed after some time (1-3 hours). I tried those:
Settings > Battery > "gear icon" > "Close excessively power-intensive apps" > Off
Settings > Battery > Lock screen cleanup > "Don't close Runkeeper app"
Apps > Settings > Special access > Ignore battery optimization > "Allow Runkeeper app"
I tried to kill "Power Genius" system app. I tried to kill "imonitor" system app but it's started again in a while
I tried to open the recent applications and lock the application by a padlock.
There is nothing more I could try. Still the same issue. So my question is if there is some workaround for that even when I would have to root my phone.
Thanks!!
Try to Open the recent application and click the lock icon to keep the application from being killed.
gm007 said:
Try to Open the recent application and click the lock icon to keep the application from being killed.
Click to expand...
Click to collapse
Thanks for reply. I tried that but it also didn't help :-/. I updated the list of attempts in my first post.
I installed the new update B133 and it's seems to be fine so far. I biked with Runkeeper 4h30m yesterday.
update: nope, it didn't help
gm007 said:
Try to Open the recent application and click the lock icon to keep the application from being killed.
Click to expand...
Click to collapse
Same probleam with me cant fix
It seems that the only workaround for that is to buy a big powerbank and keep a phone charging all the time you are running a power-instensive app. Then the app is not killed.
I hate Huawei. They do not reply to my mails and a support does not work. This bug should be fixed for a phone like P10.
I had a similar problem with Strava. After an hour or so it was killed. Hopefully the issue gets solved in the B164 version.
M1chiel said:
I had a similar problem with Strava. After an hour or so it was killed. Hopefully the issue gets solved in the B164 version.
Click to expand...
Click to collapse
I hope that also. The option to turn off this aggressive behavior is in the settings but it obviously doesn't work. I'm pretty sad that I didn't find any way how to report this bug to Huawei. I just got an anwser from Czech 1st level support that I can complain about it to a seller. I hope that they know about this bug and they are going to fix it. It's already 3rd update and this bug is still there.
Did it get fixed?
I’m currently looking into buying a new phone, and I came across the P10 and fairly quickly this issue caught my attention - I’m not going to buy a phone that automatically kills the programs I want to have running, so does anyone know if this got fixed?
Oreo update
Mavser said:
I’m currently looking into buying a new phone, and I came across the P10 and fairly quickly this issue caught my attention - I’m not going to buy a phone that automatically kills the programs I want to have running, so does anyone know if this got fixed?
Click to expand...
Click to collapse
I don't own P10 anymore but maybe Oreo will fix it https://www.xda-developers.com/huawei-p10-p10-plus-android-oreo-emui-8-0/

No push notifications in standby

Hi together,
I don't get push notification fro Whattsapp Messages and Aquamail mails in standby. After unlocking the Screen, all notifications are coming...
I already tried to deactivate batter optimization...it doesn't help.
Can anyone help me?
Kind regards,
Frank
schleckschling said:
Hi together,
I don't get push notification fro Whattsapp Messages and Aquamail mails in standby. After unlocking the Screen, all notifications are coming...
I already tried to deactivate batter optimization...it doesn't help.
Can anyone help me?
Kind regards,
Frank
Click to expand...
Click to collapse
Maybe allow background running for them?
https://tweakers.net/ext/f/wAx9zMQPvdXmJQtJ0g6VCiBx/full.jpg
Verstuurd vanaf mijn Nexus 6P met Tapatalk
tCC said:
Maybe allow background running for them?
https://tweakers.net/ext/f/wAx9zMQPvdXmJQtJ0g6VCiBx/full.jpg
Verstuurd vanaf mijn Nexus 6P met Tapatalk
Click to expand...
Click to collapse
Thank you! Problem is solved. I also had AdGuard running and forget to forbid accu-optimization for this app.
tCC said:
Maybe allow background running for them?
https://tweakers.net/ext/f/wAx9zMQPvdXmJQtJ0g6VCiBx/full.jpg
Verstuurd vanaf mijn Nexus 6P met Tapatalk
Click to expand...
Click to collapse
Hi,
I'm having the same problem with Microsoft Outlook. I have it set to 'manually manage' in App Launch, but that hasn't fixed things. Any ideas please?
kurtph1969 said:
Hi,
I'm having the same problem with Microsoft Outlook. I have it set to 'manually manage' in App Launch, but that hasn't fixed things. Any ideas please?
Click to expand...
Click to collapse
Allow unlimited data access, whitelist from battery saving, and allow to run in background.
Allow the app to ignore battery optimization too
Sent from my CLT-L29 using Tapatalk
I've tried all the suggestions here and still have trouble. I'd leave my phone for an hour or so, turn the screen on and a whole bunch of notifications come pouring in from WhatsApp, Gmail, Messenger etc.
My settings are:
1. Apps -> Apps -> Special Access -> Battery Optimisation -> Not Optimised (for all my email and messaging apps)
2. Battery -> App Launch -> Manage Manually (for all my email and messaging apps)
3. Wireless & Networks -> Data Usage -> Data Saver -> Off
Is there anything else I need to do? This is a serious problem for me and quite frankly, I need to get a new phone if this keeps happening.
marcolorenzo said:
I've tried all the suggestions here and still have trouble. I'd leave my phone for an hour or so, turn the screen on and a whole bunch of notifications come pouring in from WhatsApp, Gmail, Messenger etc.
My settings are:
1. Apps -> Apps -> Special Access -> Battery Optimisation -> Not Optimised (for all my email and messaging apps)
2. Battery -> App Launch -> Manage Manually (for all my email and messaging apps)
3. Wireless & Networks -> Data Usage -> Data Saver -> Off
Is there anything else I need to do? This is a serious problem for me and quite frankly, I need to get a new phone if this keeps happening.
Click to expand...
Click to collapse
Launch app, go to recent apps, swipe down and hold app until lock icon appears, win. This worked for all of my affected apps. Good luck.
dudeimstoked said:
Launch app, go to recent apps, swipe down and hold app until lock icon appears, win. This worked for all of my affected apps. Good luck.
Click to expand...
Click to collapse
Thanks for your reply. I've already done that actually. If you don't touch your phone for say an hour, are you sure the notifications are coming in when it's sleeping and not just when you turn your screen back on?
marcolorenzo said:
Thanks for your reply. I've already done that actually. If you don't touch your phone for say an hour, are you sure the notifications are coming in when it's sleeping and not just when you turn your screen back on?
Click to expand...
Click to collapse
hmmm... sorry bro not sure. i dont have gmail, whatsapp, etc set like this because i dont need instant notifications. it worked for other apps i was having issues with not working while the screen was off (or getting turned off) like kevo, llama, and fluid ng.
dudeimstoked said:
hmmm... sorry bro not sure. i dont have gmail, whatsapp, etc set like this because i dont need instant notifications. it worked for other apps i was having issues with not working while the screen was off (or getting turned off) like kevo, llama, and fluid ng.
Click to expand...
Click to collapse
Thanks for your help, I've discovered the issue now. I don't remember if someone mentioned this earlier and I'm not sure how I missed it, but the issue wasn't the apps closing when the phone went to sleep (since I did everything to make sure they didn't close), the problem was that the phone would switch off LTE and/or Wifi when the screen is off. The setting that controls this is in: Settings - Battery - More Battery Settings - Stay connected when device sleeps. Make sure this is turned on (it was turned off for me before).
I feel almost certain this was turned on in the past and feel it was only turned off in one of the firmware updates. I most certainly would never have turned that off. I can't believe they would use that as a default option since I can imagine only the most battery conscious users would want that off. They should at least have an option where the phone would automatically turn data back on periodically to check for notifications. I know there are third-party apps that do this but if they're going to include an option like that built-in, they should do it properly.
Anyway, problem solved, hope this helped someone else out there.
I have the same issue, but Stay Connected is on, and has been for as long as I've had the problem (2-3 days). No new apps, no new updates, affects all my apps. Driving me nuts. Anything else than doing a full wipe left to try?
same here, till yesterday everything was working fine, i didn't install a new app, configuration of battery settings, data background running is the same, also app locked in recent to run backround as before. update i did before 3 weeks. very strange
I'm very sure this problem occur since the newer software update, my device have same issue.
You can check how to remove PowerGenie (the huawei stock battery management), removing PowerGenie 'might' help you fix it.
I called Huawei and asked, and got a fix! It's not a huge lump of fun, but this is it:
Settings - System - Reset - Reset all settings
Note: all your stuff is still there after reset. Only thing that happens is that it forgets your wlans, your fingerprints, face recognition, lock screen pass/pattern, and all kinds of logins and permissions on your apps. And your apps will jump out of folders and make a hell of a mess. But it worked splendidly for me, notifications are popping up as they should, when they should. Gave me a nice chance to re-arrange my apps even.
Happy thoughts to Huawei (Norway) for having customer service available on the phone, on a regular number, and answering within a few seconds.
Lexidh said:
I called Huawei and asked, and got a fix! It's not a huge lump of fun, but this is it:
Settings - System - Reset - Reset all settings
Note: all your stuff is still there after reset. Only thing that happens is that it forgets your wlans, your fingerprints, face recognition, lock screen pass/pattern, and all kinds of logins and permissions on your apps. And your apps will jump out of folders and make a hell of a mess. But it worked splendidly for me, notifications are popping up as they should, when they should. Gave me a nice chance to re-arrange my apps even.
Happy thoughts to Huawei (Norway) for having customer service available on the phone, on a regular number, and answering within a few seconds.
Click to expand...
Click to collapse
I just did it today and it was a complete lost of time. In addition of losing all settings (bluetooth, Wifi, applications and folder on launcher,...) it was not helping with notifications: no Outlook, no WhatApps, no banking app... In other word, nothing, it was worse than before.
I will continue to test settings like controlling launching applications and exclude applications from battery optimization.
"Wait and see"
Saison2018 said:
I just did it today and it was a complete lost of time. In addition of losing all settings (bluetooth, Wifi, applications and folder on launcher,...) it was not helping with notifications: no Outlook, no WhatApps, no banking app... In other word, nothing, it was worse than before.
I will continue to test settings like controlling launching applications and exclude applications from battery optimization.
"Wait and see"
Click to expand...
Click to collapse
It has worked wonders for me at least, notifications are doing their normal thing, including sending them to my FitBit. But I guess there are all kinds of settings that can mess up your notification system =/
Lexidh said:
It has worked wonders for me at least, notifications are doing their normal thing, including sending them to my FitBit. But I guess there are all kinds of settings that can mess up your notification system =/
Click to expand...
Click to collapse
Surely, and even between firmware versions.
Thanks for sharing tips.
Have a good day
Is it just push notifications you're not getting or are messages not coming through at all until device unlocked/app opened? I've been trying all sorts, searched "data" in settings and stumbled upon "unrestricted data access" all apps are disabled on this. Hoping next few hours will show that's me sorted finally.
Once my screens been off 15 minutes, friends WhatsApp msgs only show 1 grey tick their end until I open WhatsApp again
Sent from my CLT-L09 using Tapatalk
blufreak said:
Is it just push notifications you're not getting or are messages not coming through at all until device unlocked/app opened? I've been trying all sorts, searched "data" in settings and stumbled upon "unrestricted data access" all apps are disabled on this. Hoping next few hours will show that's me sorted finally.
Once my screens been off 15 minutes, friends WhatsApp msgs only show 1 grey tick their end until I open WhatsApp again
Sent from my CLT-L09 using Tapatalk
Click to expand...
Click to collapse
Same issue here, whatsapp don't receive any message or call when in standby. For grind just show one

Is there any way to lock apps in memory on miui 12.0.9?

Hi, I'm on stock 12.0.9.0 (QJOEUXM - global EU channel)
This update redacted the facility to lock apps in memory and select Split Screen from the Recents menu (apparently it was unstable for some users - it's to come back in a later update)
So, as it stands when you long press an app in the Recents menu, instead of being offered Split Screen, Lock, Info, it just takes you directly to App Info
Until it's fixed, does anyone know of another way to lock apps in memory?
It's getting very annoying having miui kill processes all the time
Thanks in advance for any suggestions
Did you try to change settings?
VD171 said:
Did you try to change settings?
Click to expand...
Click to collapse
Very definitely, yes! I'd been scouring the settings menus to find this feature again but couldn't find anything relevant
This morning the miui Security app opened up and offered me the chance to Lock Apps in memory, meaning I could select the relevant apps which are now shutting down less often
Unfortunately I can't find any way to find this menu again! Miui settings menus are a maze!
And the answer is:
Security app » Settings cog » Boost speed » Lock apps
Thanks to u/sparklesunshine777 on Reddit for that
the soup thief said:
And the answer is:
Security app » Settings cog » Boost speed » Lock apps
Thanks to u/sparklesunshine777 on Reddit for that
Click to expand...
Click to collapse
Hi. so this means apps that are locked don't get killed all the time? There is a lock function in the settings but that just prevents apps from staring without a finger print or pin I believe.
I found an option in CustoMIUizer to stop MIUI force closing selected apps. (but that needs root.) and it seems to help so far the app (RL Bubble) stopped only 1 time today instead of every hour or so but that is still 1 time too many.
So I added it in the security app too. Who would think to look there in stead of the settings. Great find! Thanks.
I think that they make the phones more and more complicated by hiding/relocating/renaming the settings every android version.
Hi, a quick question. I do lock apps in the background, but i notice sometimes the padlock is lets say highlighted and sometimes just dim.
Anybody knows what that is?
Thank you.
Hans de Groot said:
Hi. so this means apps that are locked don't get killed all the time? There is a lock function in the settings but that just prevents apps from staring without a finger print or pin I believe.
I found an option in CustoMIUizer to stop MIUI force closing selected apps. (but that needs root.) and it seems to help so far the app (RL Bubble) stopped only 1 time today instead of every hour or so but that is still 1 time too many.
So I added it in the security app too. Who would think to look there in stead of the settings. Great find! Thanks.
I think that they make the phones more and more complicated by hiding/relocating/renaming the settings every android version.
Click to expand...
Click to collapse
Thank you sir! Owe u a beer!
I had the same problem, and after a google search I ended up here. It worked for me also! Thanks!!!
the soup thief said:
And the answer is:
Security app » Settings cog » Boost speed » Lock apps
Thanks to u/sparklesunshine777 on Reddit for that
Click to expand...
Click to collapse
Jesus, finally. Thank you man
I have an issue related to this in stock miui with netguard vpn - basically its still killed once in while even though:
Its already locked as described above including autostart;
its already set in stock android system settings for battery use as "not optimized"
its also set with the miui app settings battery saver as (no restrictions)
it's set under network settings as (always on);
So what else can I do non-root to prevent this happening?
kenshinta said:
I have an issue related to this in stock miui with netguard vpn - basically its still killed once in while even though:
Its already locked as described above including autostart;
its already set in stock android system settings for battery use as "not optimized"
its also set with the miui app settings battery saver as (no restrictions)
it's set under network settings as (always on);
So what else can I do non-root to prevent this happening?
Click to expand...
Click to collapse
Super annoying stuff. especially when you want to multitask, the last resort if not buying a different brand phone is to install a custom ROM, and get rid of MIUI altogether. Imo, even tho battery is not as good is a good sacrifice for sanity.

Question Did anyone find a solution against the agressive background killing of apps?

Apps will automatically close within 10-20 seconds after I leave the app through the home gesture. It drives me crazy that literally no app will stay open in my recents. I tried locking the apps in the recents, it did not help. (What's the sense of locking apps there then?!)
Anyone has a solution/workaround?
Just select to not optimize that app in battery settings....
I'm on OOS 13 Open Beta 2 build and haven't encountered this issue at all. Apps stay in background for hours honestly.
Maybe check Battery Optimization for each of those apps and permit Background Activity?
zopostyle said:
Just select to not optimize that app in battery settings....
Click to expand...
Click to collapse
I did that but it doesn't help. Apps stay in recent when I leave them but if I open it again seconds later, I'm greeted with the splash screen and for example Chrome reloads the website.
hackslash said:
I'm on OOS 13 Open Beta 2 build and haven't encountered this issue at all. Apps stay in background for hours honestly.
Maybe check Battery Optimization for each of those apps and permit Background Activity?
Click to expand...
Click to collapse
I tried disabling every possible battery optimisation but apps still close seconds after I leave them.
Here is few solutions. Don't know if they works or not.
Oneplus
Hey Android vendors, don’t kill my app!
dontkillmyapp.com
Dayuser said:
Here is few solutions. Don't know if they works or not.
Oneplus
Hey Android vendors, don’t kill my app!
dontkillmyapp.com
Click to expand...
Click to collapse
Tried everything described in there already, nothing helped sadly. Thanks though
memocatcher said:
Tried everything described in there already, nothing helped sadly. Thanks though
Click to expand...
Click to collapse
Final solution... Change phone
memocatcher said:
Apps will automatically close within 10-20 seconds after I leave the app through the home gesture. It drives me crazy that literally no app will stay open in my recents. I tried locking the apps in the recents, it did not help. (What's the sense of locking apps there then?!)
Anyone has a solution/workaround?
Click to expand...
Click to collapse
stop using cos. install oos.
g96818 said:
stop using cos. install oos.
Click to expand...
Click to collapse
I'm on OOS 12.1
I have this same issue. All this ram and apps still closing out right after you leave them.
This is definitely a tweak/edit/change you did somewhere on your end. Maybe developer options?
Tilde88 said:
This is definitely a tweak/edit/change you did somewhere on your end. Maybe developer options?
Click to expand...
Click to collapse
No, since its happening to.other people too as you can see. I tried everything
Yes It can be a "pita"! Looking for a solution as well...
memocatcher said:
Tried everything described in there already, nothing helped sadly. Thanks though
Click to expand...
Click to collapse
Developer options>standby apps, are all buckets showing as active? If not global power management is active.
Does it happen in safe mode ie 3rd party app causing it?
memocatcher said:
No, since its happening to.other people too as you can see. I tried everything
Click to expand...
Click to collapse
Weird doesn't happen to me at all. I just checked, and I am even in battery saver mode. Programs stay in RAM as expected, and load immediately in the state/position they are in. Android 12 A.15, rooted, tons of debloat via adb disable. I also even run Malwarebytes with realtime stuff and scanning enabled.
Double post. Please delete
Tilde88 said:
Weird doesn't happen to me at all. I just checked, and I am even in battery saver mode. Programs stay in RAM as expected, and load immediately in the state/position they are in. Android 12 A.15, rooted, tons of debloat via adb disable. I also even run Malwarebytes with realtime stuff and scanning enabled.
Click to expand...
Click to collapse
I'm sure it does, try opening one app, copy from one, switch to another and paste, continue doing that. Eventually it'll lose your position.
Apps remain in recents yes but the absolute state is not kept.
dladz said:
I'm sure it does, try opening one app, copy from one, switch to another and paste, continue doing that. Eventually it'll lose your position.
Apps remain in recents yes but the absolute state is not kept.
Click to expand...
Click to collapse
Um, yes, they absolutely stay in whatever position I left it in for as long as I leave it. Do I screen record for you?
Tilde88 said:
Um, yes, they absolutely stay in whatever position I left it in for as long as I leave it. Do I screen record for you?
Click to expand...
Click to collapse
Thats so weird because they won't stay open in the background for like most of us. 10 seconds after I minimize an app like Gmail, then reopen it, I will be greeted with the Spash Screen of Gmail which takes like 1-2 seconds.
Chrome is even more annoying, since the website I was on 10 seconds ago, will have to reload.
It's stupidly annoying and I tried everything to get it fixed. With this behavior of RAM, that Apps close withing literaly seconds, 2 GB RAM could have also made the deal

Categories

Resources