• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Block an app from launching a service?

Hi All,

<<In Android 2.3.4 on Moto Atrix>>

Does anyone by chance know of anyway that I could block services that are launched by apps?
I'm trying to get rid of some battery drain and I'm tired of apps re-launching themselves after i've killed them because they have a service running as well...:mad:

The main 2 (among others) that I want to kill are:
the facebook app launches "UploadManager" (I rarely upload to facebook from my phone)
The Engadget app launches "AudioPlayerBackgroundService" (I don't listen to their podcasts so I don't need this service at all, ever)

Once I kill these services, I'm still able to use the main apps and now they stay closed when I kill them :D so i'd love a way to prevent the service from launching in the first place

Thanks!
 
Since you mention battery drain and killing apps/services in the same post, I'd just like to point out that killing apps/services (especially ones that restart on their own) is the biggest battery drain on most people's phones. When you go in and kill apps/services and they relaunch it takes CPU cycles and battery power to do all of that. Most of these apps/services that you are killing are sitting in the background and not being used which means no CPU cycles or battery drain. I would suggest finding out what state any of these apps/services are in before you worry about killing them. If they are in the background (most are) then it is really nothing to be worried about.

Which task killer are you running and why did you start using it on your Atrix?
 
The point is that I don't want them running at all.
If I can prevent them from running in the first place then having them start every few minutes won't be an issue any more...

i'm using Advanced Task killer
 
You'd have to not use the apps and use alternative ones then. Thing is, it doesnt matter whether they're running or not, because there would be no difference to battery usage under the circumstances.
 
The point is that I don't want them running at all.
If I can prevent them from running in the first place then having them start every few minutes won't be an issue any more...

i'm using Advanced Task killer

While I understand that you may not want these things running, the only thing you are really doing is fighting the OS. It is like always trying to go up the down escalator and vise~versa. This expends twice the amount of energy to achieve the same goal.

I know it may come across as though I am being pushy, I really don't mean for it to, but your primary source of battery drain on your phone right now is Advance Task Killer.
 
I agree Task Killers are not necessary, I also believe there are apps that it would be nice to see not running at all (unless I want to manually activate them). Some apps "turn themselves on" to sync (and may not have a sync option), and you may not want them to sync at their sync interval.

Like I have not run any "media" apps since charge, but I look at Battery history/network usage, and "media" has received 2673725 bytes. "something" was running I didn't want running... an autorun "on/off" switch should be an option in all apps.
 
I find my task killer useful when I have too many apps transmitting data, which slows down the app I am trying to use. For example when streaming video. Those on 4g networks may not have this issue. Personally I use juicedefender to keep my battery consumption down. There is a setting that can disable the mobile data network when you turn off your screen. I find it pretty helpful, especially for my low end phone (LG optimistic)
 
However I don't think u can specify which apps can or can't use mobile data without rooting the phone. I believe this is called a whitelist, however on my rooted Samsung intercept I could never get it to work. It may be more work than its worth. I would suggest some type of power control application from the market.
 
Back
Top Bottom