Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Possible Duplicate:
Do I really need to install a task manager?
apps automatically starting?
How can I stop applications and services from running?

I have some apps running in background using cpu all the time and draining my batery. I want to stop them.

I have a latest task manager to kill the background tasks but BUT some of the tasks(apps) are restarting even after killing them, WHY ?

Is there any way to permanently kill a particular task ?

share|improve this question
add comment

marked as duplicate by eldarerathis, Chahk, Matthew Read Jan 18 '12 at 20:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers

up vote 2 down vote accepted

No, these tasks are services.
And I think the developer starts the service START_STICKY which means, the service get every time restored if killed (normaly not through a taskmanager, only on low memory).

I would suggest you, to remove the task manager. Android is not designed, that the tasks get killed.
If Android need memory, the system frees the ram on it own.

share|improve this answer
    
thanks. Is there any way to stop START_STICKY services ? –  sam Jan 19 '12 at 10:11
    
No, sorry. It has a sense that the services are sticky. –  Leandros Jan 19 '12 at 10:38
add comment

In addition to Leandros' answer, if you want to prevent these services from running the only real option is to uninstall the app that owns them. For system apps you'll need root, and to be careful not to remove something that's needed by the system.

Autostarts can edit which apps receive which events — some apps start based on your network connectivity and so on — but services designed to run constantly can't be changed this way.

share|improve this answer
    
I don't want to remove apps.i want to stop them runnening in background. Is there any terminal command to do this? –  sam Jan 19 '12 at 10:20
    
@sam From above: "if you want to prevent these services from running the only real option is to uninstall the app that owns them". –  Matthew Read Jan 19 '12 at 17:23
    
BTW, Autostarts is free software (= open-source), also available from f-droid.org, which is important to know for those who don't want to install non-free software (non-community-reviewed, possibly malicious code). –  imz -- Ivan Zakharyaschev Apr 29 '13 at 18:34
    
@imz--IvanZakharyaschev Please stop spamming that comment. –  Matthew Read Apr 29 '13 at 18:36
    
@MatthewRead I wanted to write down helpful information; it would help me when I was in search of such an app. Of course, unfortunately, you'll get all those notifications for the new comments--I'm sorry for this! (But I couldn't do this improvement without disturbing you with the notifications at SE, unfortunately.) –  imz -- Ivan Zakharyaschev Apr 29 '13 at 18:41
show 1 more comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.