I need to keep an app running in background and make it not visible in recent apps tab - Android Q&A, Help & Troubleshooting

Hello dear developers. I'm newbie here. I mean I took lots of information from XDA but it's my first time to post a question (i just made an account to ask this question)
MY PROBLEM IS :
As a MIUI user I'm having too much problems with it's powerfull but annoying Battery Optimisation. I have bought and installed an app to Customize my volume control panel and MIUI has a bug in Accessibility Settings. Unfortunately this app requires it and I'm having trouble with it.
The app must be running constantly to avoid triggering the bug. For the ones who don't know the bug it is happening when You enable an accessibility setting for an app and if the app ever gets killed by MIUI's complicated optimisation then "Enable" button in Accessibility tab is being always active but doesn't works. I'll provide some screenshots at the bottom.
I have enabled autostart, Pinned the app in Recently Used apps tab, Removed Battery optimisation but none of them helps.

Related

[POOL][FEATURE REQUEST] Autostart permission toggle - allow apps to run in background

UPDATE: The pool closed after 30 days, but you can still show your need for the feature by adding a post in this thread.
Right now, Remix handles background app activity differently from native Android - if you close the app window, the app is killed - won't continue running in background.
At first glance it feels intuitive and right, because it's battery & performance friendly, but...
Many apps were designed to base their activity in the background like: messaging & social media apps, e-mail clients, network monitors and quite much any app that uses notifications.
Of course you can still run them in background with the window minimized - but that takes up the taskbar space with each background app.
In Windows you can close the window, and the app goes into the traybar (near the date) and doesn't take up the taskbar space.
What I'm requesting is simple:
An autorun permission toggle in settings
By default apps would have autostart switched off, but you could always switch it on for selected apps.
This way we wouldn't have to worry about performance or battery usage - system will still use only what we want it to.​
Please vote in the pool and share your thoughts on this suggestion. If you are not convinced, then read further on
Examples where this feature is needed:
Messenger app:
- notifies you about new messages/calls in the notifcation area
- pops a chat head once someone sends you a message (if feature enabled)
Cloes Messenger window -> no notifications received/no chat heads popups.
Actually what's weird - it sometimes autostarts itself - at least on my device. I couldn't find how that happens, but it seems random.
Gmail / e-mail apps:
- send you notifications when you receive an e-mail
Close window -> No notification
Facebook/Instagram/Twitter/Tapatalk/YouTube these also use the power of background activity by notifying you about new stuff. Closing window -> no notication.
There are also monitoring apps - f.e. Internet Speed Meter which main feature is a notification in the notification area showing real-time bandwith usage. It won't work for Remix unless you keep the window open/minimized.
Clock app for settng alarm -> Close Window -> No alarm
Come on guys!
I personally would love to have this feature and I bet the community would want it too! But, for this to happen, we need more votes!
I vote, yes for the toggle.
Yes of course but for Selected apps.
@johnb111 Like I described in the OP, it would be just for the selected apps.
I need it !! Please !!
Need this
very need this
Ni10God said:
very need this
Click to expand...
Click to collapse
netship said:
Need this
Click to expand...
Click to collapse
assal said:
I need it !! Please !!
Click to expand...
Click to collapse
No need for this kind of repetition.
Just thank the OP's first post, and that counts as support for the addition of this feature.
Unless you have specific details to add, it's better to avoid cluttering the thread.
No offence meant to anyone, just a suggestion to keep in mind.
Can you please confirm my understanding that Remix OS does not have background notifications if the app is closed unlike the normal Android OS? Do you think this is a deal breaker since im considering to get a tablet with Remix OS in it vs the one with Android 5.1.1? Thanks in advance for your thougths!
Yes, that's correct - once you close an app window you will not get any notifications from it.
But an autostart toggle could solve this?
@[msd]
Yes, autostart toggle allows for app to start automatically - not just at boot, but also after you close it.
Native, clean Android allows all apps to autorun by default.
Phoenix OS f.e. added a toggle. By default app can NOT autorun, but you can always enable this permission.
I"m on 3.0.207 Remix OS, and get notifications after hit "Quit app" at Gmail. How it works??
@[msd]
Depends on how the app is designed. I don't know why it works after closing, Remix OS has no documentation for how it works, so its hard to say.
If you close Messenger app window, you will not get any further notifications or if you close Alarm app, it won't ring. There are many examples, but it's worst with messaging apps and apps that operate in background only.
It"s true, the Viber doesn"t work after close it, only the Gmail.
Google always break the rules, haha
@[msd] its probably the Google services that are always working in the background
Yepp, I"ve updated it.
Override the autrorun
With the app SD Maid, I know you can change the autorun for apps. Try that.
Sleep and Shutdown support for Intel Atom
This is an ideal OS for the Intel Atom mini laptops. I would love to see the sleep/shutdown issue resolved on the next update. It's they only problem I have discovered while using it on this processor.
Currently I work around it by not letting it sleep. I shut it down by initiating a restart, and then powering off when the HP splashscreen or Bios message appears.

Mate 10 pro and protected apps

Please where is this function? And battery optimization permission.... Are same things ? Thank
From what I've been able to determine, there is no 'protected apps' menu option on Emui 8.
The place to adjust them is in - Settings - Battery - Launch. Personally I find Huawei's management way too agressive, so I turned off managing all automatically. Then in batch manually set everything to allowed and let Android sort it out. It doesn't seem to have made any difference to my battery life, but at least most notifications seem to work now. You could manually set only the ones you want to allow to run in the background though and it might help.
From settings - battery I also went into the settings icon top right and turned off the 'power intensive prompt' option because it was annoying - Google maps is SUPPOSED to be using frequent positioning, and my podcast app isn't much use if it isn't running in the background!
The whole power management seems to be designed for a phone with a tiny battery, where micro management is needed - but on a phone with the largest battery out of any flagship it seems needlessly aggressive....
Edit: It is also possible in the running apps/recent apps screen to click the lock icon on a program which is supposed to prevent Android from closing that app - but not sure how effective that is on EMUI.
Hello to all. I have installed in huawei mate 10 pro and I would like to use an application to notify gmail emails and whatsapp messages on always on display. use led blinker application that works properly when the phone is charging, while when it is without cable the notifications arrive only when I turn on the screen. I can think that it is a protection of consumption but I have activated all possibilities. could someone tell me what I could activate to solve this problem? thank you
This does exist. It's in the recent apps page (bottom left/right button, depending on your settings).
If you press the lock icon on an app it should "lock" the app from automatically closing.
It also prevents that app closing when you tap the recycle bin icon in the recent apps page.
This is exactly what I need, but I am running EMUI 9 on mate 10 pro and I cannot find this "lock"!! Yet I am sure I have seen it at some point in time... X-(
I just got the Android Pie/EMUI 9 upgrade last week and I found the lock by accident. When viewing your apps in the recents view, find the app you want to lock and drag it down towards the trash icon. You should now see the lock icon for that app at the top, and it should be protected from clearing recents. Clicking the lock or dragging it down again should toggle the lock.
On recent apps list, slide down the app window to lock - lock pad on top. Slide again to unlock

Help! Background services getting killed.

I have a problem where background services getting killed when recent are cleared.
Apps on question run at boot without visible windows eg. KinScreen, lux, fluid gesture
I have disable miui optimization in developer options, selected no restriction on battery saver and set apps to autostart.
problem still persist if recent are cleared all these services get killed.
Any way to prevent background services being killed??
I have root and open to suggestion but prefer to stay on miui.
i have same question,,
I have this issue too. What I did was lock my apps in recents. Not a clean way to do it, but it works.
NOTE: I posted this same issue in MIUI forums and seems that we're not alone and the issue is MIUI RAM management itself. I hope it gets fixed in future MIUI versions but for now the workaround I gave is our best shot. Hope this helps and enjoy your Poco, I know I am
First, in app info sections, you turn on autostart for each required app.
Secondly, in battery settings, give each required app >no restrictions policy.
Thirdly, lock them in recent menu.
Done.
You need to do these steps for apps such as alarm, email clients and the ones you mentioned. I had to do this with Google photos as well so that it could sync on its own.
lockhrt999 said:
First, in app info sections, you turn on autostart for each required app.
Secondly, in battery settings, give each required app >no restrictions policy.
Thirdly, lock them in recent menu.
Done.
You need to do these steps for apps such as alarm, email clients and the ones you mentioned. I had to do this with Google photos as well so that it could sync on its own.
Click to expand...
Click to collapse
yes ive done all this but the problem with this is
1. my recent mennu is filled with locked apps
2. some apps start as purely service no visible window
i have to launch it manually so the window appears in recents. eg lux and kinscreen.
any solution to make miui to treat apps and services like stock android. No other OS does this. This is ridiculous
I'm out of ideas now.:laugh:
Check if disabling cleaning of cache memory in battery settings changes anything for you.
Same here. Tried this all, but apps still getting killed. I can't use my gear fit 2 pro app in background. Everytime I clear the recent menu gear got disconnected. Someone please help!
POCO F1 - No root - Locked bootloader - Fully stock
This is the most annoying thing about MIUI. I use Blokada and I need to keep it locked on recents which I hate the most. If I don't lock it and clear recets, Blokada gets killed and VPN gets turned OFF. Can't use live wallpaper for the same reason. On AOSP based ROMs, this problem doesn't exist. It smartly understands which apps need to run in the background and which apps can be killed. Hence, no need to keep an app on the recents. I don't understand what's the necessity of being so aggressive about RAM management when we have 6/8 GB of RAM. Due to this pathetic RAM management, I always see almost 3.9/4 GB free RAM out of 6 GB. And as we know, free RAM is wasted RAM.

Question Easy High Performance Mode Toggle?

There doesn't seem to be a way to turn on high performance mode outside of navigating to battery in the settings and then advanced battery settings. Does anyone know of a way to add a notification switch or even a widget on the home screen to quickly turn it on and off?
Also I have tried my best to eliminate the OS's ability to kill apps running in the background. The one I have issues with the most is PokemonGo. I will switch from one app to another and when going back to PokemonGO it will have killed it and it restarts when going back to it. Loading like I just opened the app for the first time.
Things I have done so far. Disabled battery optimization for the app in the battery settings and turned on "Allow background activity" in the app settings under app management.
I have no task killers installed and the OS is basically stock after a factory reset.
I'm rooted and on DE2118_11_C.16
Have you tried locking the PokemonGo app to prevent it from being suspended?
Also you should check setting under developer mode in APPS section: Susspend execution for cached apps.
I would lower the background process limit from 5 to 3 due to the limited amount of ram on this device and lock any app you want to continue to run if it falls into 4th place.
Also, I would tur off RAM Boost as it does not improve app selection based on my use.
I have it locked yes, still gets closed in the background at random it seems.
RAM Boost was off as well.
The Suspend execution for cashed apps can you explain a bit on how this works? Do I have to cache the app or something in addition for it to work?
I keep the VPN Hotspot, AD Guard, and Pokemon GO locked.
xVoidx said:
The Suspend execution for cashed apps can you explain a bit on how this works? Do I have to cache the app or something in addition for it to work?
Click to expand...
Click to collapse
This will "freeze" apps that are cached (past the open app limit) and they will not take any resources. This also will cause them to stop responding like your Pokemon app.

Question Consistently get notifications Find N2?

New here. Any help would be appreciated. I have followed videos and other posts but still can't consistently get notifications unless the app is open in the background. Any way around that besides locking it? Are we just limited to 5 apps that get consistent notifications by locking them in the background?
There are 10 apps (can't change the apps) that Oppo gives you the option to auto launch. If enabled these 10 apps will always display notifications. You can then select another 5 from all your other apps.
Before I got rid of the phone I downloaded an app to autolaunch a bunch of my apps so it's running in the background.
any way to set NOVA Launcher or other third party launcher as default here ?
Dear OPPO if you are reading here: Please release OTA to fix this problem as you just made on Android 13 and Find N1 ....
wolfgart said:
any way to set NOVA Launcher or other third party launcher as default here ?
Dear OPPO if you are reading here: Please release OTA to fix this problem as you just made on Android 13 and Find N1 ....
Click to expand...
Click to collapse
There are threads on this already.
raymondotango said:
There are threads on this already.
Click to expand...
Click to collapse
ok but 0 solutions atm
raymondotango said:
There are 10 apps (can't change the apps) that Oppo gives you the option to auto launch. If enabled these 10 apps will always display notifications. You can then select another 5 from all your other apps.
Before I got rid of the phone I downloaded an app to autolaunch a bunch of my apps so it's running in the background.
Click to expand...
Click to collapse
You can further lock 5 apps in the recent apps so that the system doesn't kill them and you'll get the notifications. In addition I would suggest to deactivate all battery optimisations for the apps you wish to receive the notifications:
Settings - apps - app management - you choose the desired app - battery usage - activate allow background activity.
Then you go to App - associated launch ( this is valid for the apps for which you DIDN'T allow auto launch) and enable it for the apps you wish to get the notifications for.
Lastly go to Battery - more settings - optimize battery use and for the apps you wish to get the notifications you need to choose "don't optimise".
Hope it helps
Abies78 said:
You can further lock 5 apps in the recent apps so that the system doesn't kill them and you'll get the notifications. In addition I would suggest to deactivate all battery optimisations for the apps you wish to receive the notifications:
Settings - apps - app management - you choose the desired app - battery usage - activate allow background activity.
Then you go to App - associated launch ( this is valid for the apps for which you DIDN'T allow auto launch) and enable it for the apps you wish to get the notifications for.
Lastly go to Battery - more settings - optimize battery use and for the apps you wish to get the notifications you need to choose "don't optimise".
Hope it helps
Click to expand...
Click to collapse
Unless the apps are running in the background (excluding the ones that you set to autolaunch), even with battery optimisation disabled etc you will not get timely notifications.
raymondotango said:
Unless the apps are running in the background (excluding the ones that you set to autolaunch), even with battery optimisation disabled etc you will not get timely notifications.
Click to expand...
Click to collapse
Yeah that's what I have noticed. I'm toying with the idea to use a secondary phone to get my notifications. Don't want to go through the hassle of sending it back.
I've had mine a week now and I'm getting used to only getting limited notifications. I just can't get my head around why they prioritise battery life over receiving notifications in China? I've always kept notifications to a minimum on my phones but 5 apps just isn't enough. You need a couple of messaging apps, maybe social media, banking etc to alert you to suspicious activity, they soon add up.

Categories

Resources