[Q] XT1905 Lollipop Background App force killed? - X 2014 Q&A, Help & Troubleshooting

Hi guys, my device is newly upgraded to Lollipop. But after using for some days, I noticed that some recently background apps will automatically killed by itself, even I didn't open new apps. Is Android trying to learn this single thread habit from IOS or can we change the background policy to make it keep stay in background rather been killed?

Related

[Q] Possible to keep background apps in low mem situations?

Is there any way to keep certain background applications running if memory runs low and the android garbage collector goes around killing processes that are running in the background?
I have the problem that under low memory situations android kills all my background apps and especially services. This is ok for most use-cases, but is really annoying especially for my Jabber client and sometimes even the music app.
I looked through the API doc and found that you can set Service::setForeground(true) to prevent the service from being killed. This is nice for open source apps, but I can't prevent closed source apps from being killed that way. And I'm not even sure if it helps in all cases, as the music app should be using it and gets killed too.
Does anyone know how I could exclude certain apps from being killed in the BG? Which process is responsible for doing that? Wouldn't it be possible to patch that process or part of the kernel to exclude certain processes?
I know there are workarounds for keeping the launcher in memory by restarting it all the time. That wouldn't help in my situation where the Jabber service has a permanent network connection going.
Anyone got technical information for me on this?
You created a new thread with [Q] so why don't you create it in Q&A forum. Thread move.

[Q] Does background apps use Data?

Hello All,
I got my captivate recently and love it so far. I have read several articles on whether the background apps/tasks consume battery or not. I guess the Android community is split between whether background tasks should be killed or left alone for the OS to handle.
But, I have noticed that my data usage has gone up since I got the captivate (I had HTC Tilt 2 before). My question is does background apps consume data? I am not talking about the email sync and other necessary apps that are running in the background but specifically asking about apps that we have installed from market that are supported by Ads. Do they consume data in the background? Should I kill them? Can anyone recommend a good task killer? Is there a security risk if these background apps keeping sending back and forth data?
Any insights in much appreciated.
Any help please?
venkss said:
Any help please?
Click to expand...
Click to collapse
Apps that are not running should not use data; but there are other things that do.
Widgets use data - do you have a weather widget? News, social networks, contacts or calendar?
Gmail, Exchange, AT&T - all have address book and calendar sync that is going on and constantly checking for changes. 3rd party apps with ads should not be a concern - they should not be using data when not running.
As for security risk - it depends as i don't know what apps you have installed. When you install an app it indicates what it has access too. If a checkers app has access to contacts, phone, and gps then i would be concerned.
Using the free version of Juice Defender I was able to configure which apps could use data when in background and which ones would only be able to use data if they were in the foreground.
Sent from my SAMSUNG-SGH-I897 using XDA App

Background Apps

I recently upgraded my ATT Captivate to 2.2. I now have a problem with apps starting up on there own even though I've going into apps management and have killed them. I even have app killer and its not automatically killing the apps. These aren't the att apps, these are apps that I've installed.
How can I prevent apps from starting back up. Its killing my battery life.
Thanks

[Q] How to keep (some) apps running in the background?

I am running GAEProxy on my Milestone (running CM 7.2.0 RC0) in order to watch Youtube in China. But it seems that the app process is killed by the system 5 minutes after its launching.
Is there any way to keep it running in the background until I kill it manually? I'd like to achieve this without using third-party apps.
http://forum.xda-developers.com/showthread.php?p=22053533#post22053533

recent apps closing them self

Hello,
I noticed the recent apps on my Note 9 will close them self if the running apps are over 5 overnight.
I have already changed every settings possible, disable battery optimization for apps that I don't want to close, locked them in recent apps. changed running background apps to standard limit.
yet it will still every morning I see my gmail, my skype are auto closed from recent apps.
I have already did full clean installation too with latest pie CDJ.
I don't have this problem with the S10+
check under Device care/Auto optimisation

Categories

Resources