Android app for preventing apps starting up automatically in background?

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
I've got a large number of apps that seem to start up on their own and take up memory in the background. Amazon Shopping, GoogleMaps, Freshbooks (invoicing software), etc. all start up automatically and run in the background.

I don't want or need or even get push notifications from these apps, so I obviously don't want them to always be running.

If I want to run the app, I'll open it manually from the home screen. I want the app closed at all other times.

Short of uninstalling the app, is there something out there I can use to prevent apps from automatically starting and running in the background unless I explicitly open it from the home screen?
 
Last edited:

zerogear

Diamond Member
Jun 4, 2000
5,611
9
81
If you have root, there is a bunch, PowerNap, Amplify, AppOpXposed, if you don't, I think Greenify does it to some extent.
 

JeffMD

Platinum Member
Feb 15, 2002
2,026
19
81
That's how android works to. It doesn't hurt it. Android will unload it if it needs The memory.
 

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
That's how android works to. It doesn't hurt it. Android will unload it if it needs The memory.
Nope.

Unloading means running kswapd0 which slows down the phone tremendously.

When Marshmallow gets to around 300MB the process triggers and everything starts to lag. It only frees enough memory to hover around 300MB, so you're kind of in a constant state of lagginess.

I use a memory cleaner to close apps and when I have around 500MB+ free, *poof*, the phone is back to its normal snappiness.
 

WelshBloke

Lifer
Jan 12, 2005
30,407
8,053
136
Isn't that what these options are for in privacy guard?

3904d7e8cafd0d16bbaba7551f0a5a8f.jpg
 

Zahid Iqbal

Member
Aug 16, 2015
171
1
36
I think you should go to developer options and then block applications running in background. Simple way. No need of external application
 

paperwastage

Golden Member
May 25, 2010
1,848
2
76
I think you should go to developer options and then block applications running in background. Simple way. No need of external application

no. that won't work

(application can still start-up automatically due to intents/alarms/notifications)

@OP: look at disabling receivers for an app(when an app's receiver gets a message, the app wakes up).

eg: turn on wifi = app gets alerted = app goes and download/sync messages
eg: turn on device = app gets alerted "BOOT_COMPLETED", does stuff

http://forum.xda-developers.com/showthread.php?t=1902355

apps like greenify/amplify/... attempts to do the above in an automated way (app may still get woken up, but will get "closed"/hibernated by greenify earlier)
 
Last edited:

core2slow

Senior member
Mar 7, 2008
774
20
81
Wouldn't that waste more battery to constantly load the application/close application whenever you access/exit the application? Not to mention, now you have that whatever app running in the background at all times to monitor your other apps...and you'll end up with this inception-like loop...

Best thing is either get a phone with a bigger memory or deploy something like privacy guard (i know that's not the solution you're looking for). I have something similar to privacy guard on my phone where i can assign which applications can run when the screen is off. It'll suppress background access, notifications, etc...everything short of kicking the app out of memory. Pretty nifty feature that improve battery life.
22729576859_a888be3b9d_b.jpg
 

sweenish

Diamond Member
May 21, 2013
3,656
60
91
Nope.

Unloading means running kswapd0 which slows down the phone tremendously.

When Marshmallow gets to around 300MB the process triggers and everything starts to lag. It only frees enough memory to hover around 300MB, so you're kind of in a constant state of lagginess.

I use a memory cleaner to close apps and when I have around 500MB+ free, *poof*, the phone is back to its normal snappiness.

Tries to correct information, closes with "I use a memory cleaner."

Love it.
 

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
Tries to correct information, closes with "I use a memory cleaner."

Love it.
Correct what information? The memory cleaner is a temporary bandaid. I want certain programs to just never run on their own.
 

lopri

Elite Member
Jul 27, 2002
13,209
594
126
If you have root access, I recommend ROM Toolbox Manager. It has a comprehensive app manager that can selectively freeze all the activities an app can possibly perform.