Closing applications - Android Q&A, Help & Troubleshooting

Seems like many applications spring back up after "killing" them though the Android task manager or any of the task managers available in market. Is annoying the hell out of me. If im not using the app I dont want it to.run in the background..
I understand that messaging applications need to run in background but not all.
How do you guys make sure
that any application which you close "remains" closed until the next time you open it?
Thank me if I helped you..
~n0tr1x on t989~

You might try Gemini app manager to disable auto start apps
Sent from MARVEL using Tapatalk 2 Beta-4

Easy Task Killer can help too..
use Easy Battery Saver too along with it!

Thanks.for your replies guys. However.i believe the main question here is,.how.to.stop these background app processes from running until the next time I start them manually.
Problem with task managers is that they stop these apps after a certain interval. Once they do, the.apps restart after 2-5 seconds. And.remain there till the next interval of the task killer is reached. This in turn take up more memory a compared to keep the running.. In addition, these apps run in the background on their own taking up a junk of memory/processor space..
Thanks again for your replies. Please correct me.if my understanding is wrong and you are feel otherwise.
Thank me if I helped you..
~n0tr1x on t989~

Those "apps" that you say keep opening are actually the processes running in the background. I know of many apps that keep re-enabling their processes after killing them. (IE: Facebook, some Google stuff, and a couple games that run in real-time)
Best solution: try to go into the app's settings and see if there is an option to disable anything that would require a background service to run, IE: sync, updates... If not, then just stop killing that app. Ignore it in the list or set a task killer to ignore it. If the app keeps re-opening, you killing it all the time is only doing bad because it puts more stress on the operating system because it has to take the time to reinitialize the app/service. If you are really that anal about background running apps, set android to limit a lower amount of background apps to run.

Like asdot suggested above use Gemini App Manager to disable the apps autostart permissions. If an app is set to automatically start after a certain intent is broadcast by the system (ie, at boot, or at a change in connectivity, etc.) you can use Gemini to stop that app from automatically starting. You can stop an app from automatically running in the first place instead if trying to kill it after it has started.

Related

App for Auto Killing Background Apps

Can anyone suggest a good app that will auto kill background apps which I can select. I have already frozen apps and processes that I do not use. However, throughout the day many of my apps pre-load in the background and just sit there taking up memory waiting to be used. I would really love an app that would auto kill these while when they attempt to pre-load in the background, but once I select them to use in the foreground, they would then load. Any ideas? Thanks for your help.
I use automatic task killer and for the most part Im happy with it. I hover around 480mb free when nothing is running. On a fresh boot Ill have around 580-620mb free for a little while.
is there really a need to manage apps that closely? I thought multitasking was significantly approved in fro yo.
Sent from my MB860 using XDA App

[Q] Question about autostarting applications?

Hi everyone!
When my phone is idle some application are starting by themselves and they consume a lot of memory! I can see them from the go launcher killer I have!
Is there any way to stop these applications from auto starting?
kakouto said:
Hi everyone!
When my phone is idle some application are starting by themselves and they consume a lot of memory! I can see them from the go launcher killer I have!
Is there any way to stop these applications from auto starting?
Click to expand...
Click to collapse
Yes there is a way. The reason why these apps start by themselves is because different apps peg themselves to specific trigger events in Android. As such, when such events occur, these apps will request Android to load them into RAM and run in the background.
Example of such trigger events is "A SMS is received" I found nonsense app that start themselves ie Asphalt 5.
So how do you prevent them from starting up like that? Go install the app called Autostarts. It is a paid app though. Run the app and scroll through the many "trigger events" Disable some of the apps from starting with the said events at your discretion.
In my case, my philosophy is i start the app at my own pace, whenever i want. I don't like push notifications except for SMS. Therefore be warned prior to doing this.
DO NOT DISABLE ANY PARTICULAR APP ESPECIALLY SYSTEM APPS unless you know what you are doing.

Best practise for task manger and quitting / freezing applications

Hi there
sorry for asking I am somewhat new to Android.
I read very often that Google Maps should be froozen because it is a battery sucker. Now I am wondering how an application could drain the battery when I actually do not run the application.
How does Android itself deal with applications and quitting them?
I read conflicting recommendations about task managers stating that Android itself deals with this better.
So what is this freezing of apps? Does it prevent Android from starting it automatically?
Thanks for any education
Claas
Android is based on multi tasking ..ie many apps can run in the background even though you are not using it at the moment..say if you are using maps and once you're done you just exit it. However maps app will be running in background if not exited in proper manner( either using the app or by going to running services in settings and force closing).
Also certain apps are configured to autorun under certain circumstances ..say for maps or Facebook app! -try keeping your wifi /data off! Go to settings/apps/running services/menu-cached process and force close Facebook,maps however once you turn on data /wifi they will run automatically! Just check it out yourself ..
Solutions for such problems could be either to use autorun managers or to freeze the app -freezing makes the app unavailable for use until you de-freeze!ie it blocks the app from running ..
Above said statements /examples are from my experiences!correct me if I'm wrong!
Sent from my LG-P500 using Tapatalk
Yes but be careful, if you use task killers to kill them, they may start again and this will consume more battery than the program running.
Imho the best way to go about this is the following:
- go get Quick System Info PRO from Market (it's free)
- set it up so that it places a CPU usage icon on your status bar (the notification for that icon is also animated)
- when you find the device is sluggish and CPU usage is high, tap the notification and go to the Processes tab
- sort by CPU usage
- kill whatever it is that is using the CPU
And you may also kill all tasks just once before going to bed or something, just in case.
To stop maps, use autostarts disable all maps have in there, then you can be cool
Sent from my LG-P500 using xda premium

[Q] How to close an app and make it stay closed

I've tried doing a lot of personal research before asking. I have watchdog and betterbatterystats. I found 2 apps chewing away at my battery. After using the app I always press back and then it pops up do you really want to exit and I select yes. However, I look at the processes and I will see it running in the background. Using stuff like advanced task killer (and a bunch of other killer apps) doesn't help, as soon as it kills it, the thing just spawns again. I had to force close it or sometimes reboot the phone. Is there any app that locks down these apps so it only allows process to run when the app is in the foreground and as soon as we leave it closes all aspect of that app? (I can't uninstall those 2 apps cause they are kinda essential; but by no means does it require any background process or need to be constantly running). So far it only runs in the background if I opened the app once, but if it starts to auto run I'm screwed.
Is there any app like the cydia backgrounder where I can set a whitelist or a blacklist that only lets the app run in the foreground and as soon as I press home it will stop all its process.
Autostarts in the market. It let's you see what apps start up under what conditions. I would assume you can just doable all conditions the apps can start up from and it would do as you describe.
Sent from my GT-I9300 using Tapatalk 2
joshnichols189 said:
Autostarts in the market. It let's you see what apps start up under what conditions. I would assume you can just doable all conditions the apps can start up from and it would do as you describe.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
I have autostart doesn't work, ok I give you an example:
Groupon app. If you don't load it after a reboot it doesn't run, however as soon as you opened the app once. Theres like no way to close it.
Come-on... one of you guys must know how to close an app and prevent it from loading up after I leave the app. Isn't there anything like cydia backgrounder that I can set so apps are only allowed to load in the foreground and closes as soon as go back to the launcher???
Solution
The best solution to this is to install titanium backup. After that, create a widget in ur homescreen and select titanium backup widget (action). Then, select the action freeze/defrost/launch and after select the app ex. Facebook and create the widget. After, you will notice that the widget for the Facebook app has created to ur homescreen with a green locker. If u press on it, it will lock the app (freezed it actually) so it doesnt run. if you want to run the app, tap again on it and automatically will defrost it and launch it.
Hit thanks if i helped you
jcheong said:
I've tried doing a lot of personal research before asking. I have watchdog and betterbatterystats. I found 2 apps chewing away at my battery. After using the app I always press back and then it pops up do you really want to exit and I select yes. However, I look at the processes and I will see it running in the background. Using stuff like advanced task killer (and a bunch of other killer apps) doesn't help, as soon as it kills it, the thing just spawns again. I had to force close it or sometimes reboot the phone. Is there any app that locks down these apps so it only allows process to run when the app is in the foreground and as soon as we leave it closes all aspect of that app? (I can't uninstall those 2 apps cause they are kinda essential; but by no means does it require any background process or need to be constantly running). So far it only runs in the background if I opened the app once, but if it starts to auto run I'm screwed.
Is there any app like the cydia backgrounder where I can set a whitelist or a blacklist that only lets the app run in the foreground and as soon as I press home it will stop all its process.
Click to expand...
Click to collapse
I just want to add some info for a better understanding even if I understand what you meant.
1. A package showing in the process list after you chose "exit" is a sign for a service running. This is not necessary bad as there are many services doing nothing but waiting for events to process (of course some service do stuff in the background and it is good to look after those).
2. In Android there is no such concept as an app, there are activities (dialogs), and services and both have pretty complex life cycles (not just opened or closed) as you can see here
But back to your question: the right way to get rid of apps you don't want/need (also called bloatware in some cases) is to freeze them. One good tool for doing that is titanium backup.
chamonix said:
I just want to add some info for a better understanding even if I understand what you meant.
1. A package showing in the process list after you chose "exit" is a sign for a service running. This is not necessary bad as there are many services doing nothing but waiting for events to process (of course some service do stuff in the background and it is good to look after those).
2. In Android there is no such concept as an app, there are activities (dialogs), and services and both have pretty complex life cycles (not just opened or closed) as you can see here
But back to your question: the right way to get rid of apps you don't want/need (also called bloatware in some cases) is to freeze them. One good tool for doing that is titanium backup.
Click to expand...
Click to collapse
I understand the point of apps that show up and are 0% cpu usage like facebook etc. I was only using it as an example. There are plenty of other apps that do infact chew up cpu and battery after it is loaded for the first time and is unable to close the background processes (they are shown in the watchdog and betterbatterystats). So the only way is to freeze and unfreeze everytime I use these apps?

Is it possible to change overly aggressive RAM management?

My background apps are killed way too often. Is it possible to change that behaviour? Even music apps are killed while I'm playing music.
I have tried several custom roms and kernels but nothing seems to change the settings. Is either able to change RAM management settings?
I have also tried several apps that claim to be able to change RAM management settings without success.
Disabling battery optimisation doesn't help.
I have uninstalled unused apps and disabled autostart (boot completed receiver) for non-essential apps to reduce RAM usage.
When I use a RAM monitor it will show RAM usage at ~75% when apps are killed.
My old phone (Note 4) only had 3 GB ram but could still keep more apps in memory.
I don't have that problem.
Have you tried Greenify or similar app to hibernate unwanted apps running in the background? They will only open then when being used and will automatically hibernate again when closed.
ChazzMatt said:
I don't have that problem.
Have you tried Greenify or similar app to hibernate unwanted apps running in the background? They will only open then when being used and will automatically hibernate again when closed.
Click to expand...
Click to collapse
That's the reverse of what I'm looking for. I want the apps in the background to keep running.
Telorast said:
That's the reverse of what I'm looking for. I want the apps in the background to keep running.
Click to expand...
Click to collapse
Then you misunderstood what I wrote. Read it again.
It's exactly what you want, because then apps you don't want running won't take up your RAM and kick off the apps that you do want running. Like your flashlight app should NOT be running the background all the time. One example. Lots of devs think their apps are most important and should always run in the background, so when you "launch" them they are there instantly.
Like I said, I don't have your issue. My apps I WANT running stay running.
If you hibernate the UN-wanted apps, that will give more freedom to apps you DO want running in the background.
There are other apps besides Greenify which may do that task even better, it's just the most well known. It shows you complete list if apps running in the background and you can choose which you WANT to run and which you want to stay killed until you choose to activate them. Those apps will be forced hibernated from then on -- until you manually activate them. When you close them, they will STAY closed and not run in the background sucking up your RAM. It also allows you to go through your entire inventory and decide yes/no. For instance, weather widget, email, yes. Benchmarking app, NO.
Worth a try. Installed Greenify and added most apps with ignore background-free.
Telorast said:
Worth a try. Installed Greenify and added most apps with ignore background-free.
Click to expand...
Click to collapse
I even hibernate alleged background free apps, just in case.
ChazzMatt said:
Lots of devs think their apps are most important and should always run in the background, so when you "launch" them they are there instantly.
Click to expand...
Click to collapse
VERY TRUE!
This always infuriated me, not just on phones, PCs too, all the way back to the DOS days. An obsession with running in the background, as if it's particularly clever. :cyclops:
I've also found that turning off battery optimization for apps I don't want killed helps. I've had the same experience with music and podcast apps getting killed in the background and turning off their battery optimization usually fixes it.
There are some simple things to try that do not require any special apk's. One is to look in the apps section of the "Developer options" sub-menu. The default settings work well in most instances. Perhaps you accidently enabled closing of apps when a background limit has been reached or have ticked force closure of apps on exit.
Another place to look is in the "Power saving exclusions" sub-menu in the Battery settings. Music makes some boring forms of exercise less tiresome and provides additional motivation for activities that are challenging but fun (mountain biking). The music should not stop, but it might for default settings. Enabling a power saving exclusion for your music app will keep it running.
ChazzMatt said:
Then you misunderstood what I wrote. Read it again.
It's exactly what you want, because then apps you don't want running won't take up your RAM and kick off the apps that you do want running. Like your flashlight app should NOT be running the background all the time. One example. Lots of devs think their apps are most important and should always run in the background, so when you "launch" them they are there instantly.
Like I said, I don't have your issue. My apps I WANT running stay running.
If you hibernate the UN-wanted apps, that will give more freedom to apps you DO want running in the background.
There are other apps besides Greenify which may do that task even better, it's just the most well known. It shows you complete list if apps running in the background and you can choose which you WANT to run and which you want to stay killed until you choose to activate them. Those apps will be forced hibernated from then on -- until you manually activate them. When you close them, they will STAY closed and not run in the background sucking up your RAM. It also allows you to go through your entire inventory and decide yes/no. For instance, weather widget, email, yes. Benchmarking app, NO.
Click to expand...
Click to collapse
Been using Greenify for a bit now and doesn't seem to help much. It shows a bunch of hibernated apps but multitasking is still nearly impossible.
I had assumed the problem was related to the Mem Free settings rather than actual free memory but no one here has mentioned it. Is that because no one else thinks it's the problem or maybe I have misunderstood what those settings do?
I thought apps were free to use as much memory as they want until certain thresholds on total memory usage were met, then the system would ask or force apps to release memory.
Apps that let you edit those settings usually shows several thresholds where the system gets progressively more aggressive at freeing memory as memory is running out. But they all look hopelessly out of date so maybe it works completely differently today?

Categories

Resources