How to Close an App Without Force Stopping It? - Android Q&A, Help & Troubleshooting

Hi,
I recently purchased the new Nokia 6 which has not disappointed me yet.
But however when I exit an app from the 'System UI' (by touching the overview button and then swiping left or right) it force stops the app. But some apps have been set to show notifications or do background tasks. So I really need them to not be force stopped. Is there any way that is possible in Nougat 7.1.1 ?
Cheers!

You could try Greenify, it works best with root but it has a non-root mode.
Also, I think this is the wrong forum for this thread.

I'm no. Just leave them be. This is how android works. If it needs the memory then it will close the app itself.

Solution
Go to Settings -> (General tab) -> Battery -> Background Activity Manager -> Enable the needed apps.

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

Black Shark - Whatsapp problem

Hello.
I having few issue with Whatsapp on Xiaomi Black Shark & tried looking on Net. Unfortunately no answer for it.
1. Push notification didn't working unless I restart the phone. The problem come back after few hours.
2. Voice note send empty voice note to recipient.
Anyone facing same problem?
Factory reset didn't help at all.
global version with JoyUI
aM- said:
Hello.
I having few issue with Whatsapp on Xiaomi Black Shark & tried looking on Net. Unfortunately no answer for it.
1. Push notification didn't working unless I restart the phone. The problem come back after few hours.
2. Voice note send empty voice note to recipient.
Anyone facing same problem?
Factory reset didn't help at all.
global version with JoyUI
Click to expand...
Click to collapse
you should check a few things, first in the settings menu under battery you have you have smart background managment, make sure whatsapp is on the list thats allowed to run in background.
next go to app settings and look at the permissions whatsapp has, maybe notification permissions were blocked for some reason.
I also having a same issue. my XBS Helo seem cannot push notification for WhatsApp and Message. After few hour turn off the notification cannot popup the notification. it only pupup after a few minute I turn off. But once a few hour the problem come again. Please solve this issue XBS developer. is not just me but more members that using XBS having the same issue.
I'm using the china rom also included having that issues.
For messaging apps i setup the following and never had a problem:
- in Phone Manager -> permissions -> autostart check your app to let it start at boot
- in Phone Manager -> Battery -> Smart Background Management check your app to leave it running in background instead of killing it
- in recent apps drag down the app you want to lock it and never kill it
Doing these i never miss a notification from my apps.
loriz said:
For messaging apps i setup the following and never had a problem:
- in Phone Manager -> permissions -> autostart check your app to let it start at boot
- in Phone Manager -> Battery -> Smart Background Management check your app to leave it running in background instead of killing it
- in recent apps drag down the app you want to lock it and never kill it
Doing these i never miss a notification from my apps.
Click to expand...
Click to collapse
hii there can u share phone manager apk here..coz in global rom we dont have that app...
mrconfius said:
hii there can u share phone manager apk here..coz in global rom we dont have that app...
Click to expand...
Click to collapse
You're not going to want it for the global rom, trust me. It's annoying and can stop 3rd party sms apps to stop working because it constantly posts an alert warning if you try to send a text in the background. If you have the global and are rooted, get app ops. It's pretty much the phone manager, available on the play store, and soooo much better than phone manager itself.
JengaMasterG said:
You're not going to want it for the global rom, trust me. It's annoying and can stop 3rd party sms apps to stop working because it constantly posts an alert warning if you try to send a text in the background. If you have the global and are rooted, get app ops. It's pretty much the phone manager, available on the play store, and soooo much better than phone manager itself.
Click to expand...
Click to collapse
thanks bro..
loriz said:
For messaging apps i setup the following and never had a problem:
- in Phone Manager -> permissions -> autostart check your app to let it start at boot
- in Phone Manager -> Battery -> Smart Background Management check your app to leave it running in background instead of killing it
- in recent apps drag down the app you want to lock it and never kill it
Doing these i never miss a notification from my apps.
Click to expand...
Click to collapse
In Whatsapp setting ... POPUP NOTIFICATIONS is grey if I tap on it , I get the info " ( in Grey .. popup notifications NOT AVAILABLE ) .. POP UP NOTIFICATIONS ON AVAILABLE IN YOUR CURRENT ANDOID VERSION "
What can I do?
( see att. )

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.

I need to keep an app running in background and make it not visible in recent apps tab

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.

Categories

Resources