Tested News

Android Task Killers are Dead—Here's What You Should Be Doing

With recent updates, Android doesn't need task killers the way it used to. Is it finally time to ditch the task killer?

As a general rule, people have a hard time dealing with change. Android, being perhaps the fastest changing mobile OS in history, can leave people in the dust as the platform evolves. Things don't work the same from release to release. Some of this is user-facing, and people can adapt. But some changes are deeper system level alterations that people might not notice at first, and then might not understand why they've changed. The functionality and usefulness of task killers is one such advance. A lot has changed in the underlying Android OS regarding how background processes are managed. 

Read on to find out why task killers are obsolete, and why that's actually a good development.  

How task killing became dogma

In older versions of Android, memory management was an issue. These phones, like the G1, had too little internal memory for the heavy background processes that many apps chose to run. An app could spawn background services, but never kill them. Even if the app wasn't doing anything, these services would remain in memory. Over time this led to poor performance and overall system sluggishness. The solution, at the time, was to use task killer apps.  

Task killers like Advanced Task Manager and Advanced Task Killer became extremely popular in the Android Market because people saw performance and battery life benefits from ending background services. It was the snowball effect from here on out. Every new Android user was told to go get a task killer first thing when buying a new phone. Some carriers even included them on on phones and recommended them to customers. It became Android dogma that you had to kill tasks. 

But starting in Android 2.0, memory management got much, much better. Apps couldn't spawn processes only to leave them forever. The OS would gauge the level of system RAM, and close unneeded background services. Users on phones like the Droid could clearly tell that this was happening. With only 256MB of RAM, some memory-heavy apps would reliably cause the OS to close other apps running in the background. This is why many apps now use persistent notifications. Having that notification running will keep a background process it is connected to from being ended.  

What Froyo changed

When Android 2.2 Froyo was released, users and developers alike noticed something had changed again. Task killers didn't work properly anymore. If a user closed a particular app, it would just show up again. That's because the API for closing other tasks was removed. Now the "end" command has basically become "restart". Only the immediate background app can be closed. Associated services will stay put.

In modern versions of Android, you don't need to worry about clearing out memory, but this new tweak changed things in a bigger way. This change to the app shutdown API completely alters the risk/reward ratio. If you're not ending tasks, but rather restarting them, you actually use up more battery trying to free this memory. The apps will just restart, putting additional strain on the system. The only way to completely end a process now is to find it in the Manage Applications area of the Settings app, then tap the Force Stop button. It's just as destructive as task killing was, but it is more hidden and not accessible via an API.

Google likely changed the API because ending tasks at random can cause system glitches in the worst case. At best, you'll likely notice worse performance from your apps as they try to reconcile their assigned tasks with the fact that you are constantly interrupting them by ending them. 

What you should be doing

We've said in the past that the only legitimate use for a task killer is to get rid of processes that go rogue and eat up CPU. A better way to manage that is to actually monitor what's happening in the background. The app you'll want for this is called Watchdog. We told you all about it a few weeks ago in a Market Roundup. Check that out for the full rundown. 

What Watchdog basically does is poll the CPU to watch for apps that are getting greedy. This is really the holy grail of Android process management. It's quiet, sits in the background, and solves most of your task management needs. You'll be alerted if something goes wrong, and then Watchdog will allow you to restart the offending task. While doing this with an app that isn't misbehaving is a bad idea, you have little choice in cases when an app is legitimately out of control.  

Users with root on their device are able to undertake some additional steps to control tasks on Android. An app we really can't live without on our rooted handsets is called Autostarts. We introduced you to this last month, but we keep finding reasons to recommend it. Killing processes is a bad thing for system stability and battery life (especially under Froyo), but Autostarts lets you keep unneeded apps from starting up in the first place.  

Apps register with the Android OS when they need to start up based on a set of conditions. Autostarts lists all those conditions, so you can tell apps not to start up when they otherwise would. You can still launch them, but they won't launch themselves. This is perfect for those bundled apps that you use rarely, or simply don't need. If there's a lot of crapware on your handset, root users can also remove it completely with an app like Titanium Backup.  

Also for root users, is an app called AutoKiller. Don't let the name fool you; it isn't an aggressive task killer that's going to make your apps go all wonky. All it does is tweak the Android process manager to be more aggressive in ending background services. This won't end tasks midstream, it just ends unneeded apps a little sooner. You mileage may vary, some users find this helps quite a bit, others not so much. 

Most users that adopt a more modern way of managing (or not managing) their tasks see a big upside. A phone can feel faster, and the battery may last longer. When it comes down to it, killing tasks is just a hassle you don't need to deal with anymore. Everyone on Android 2.0 and higher should rely on Watchdog, or an app like it, to monitor for runaway background processes.  
    
As more Android users are bumped up to Froyo, or just buy new devices, they will find their task killers inoperable. It's important they are steered away from this obsolete method of task management. Tell us about your task killing experiences in the comments.
 
Image credit: Flickr user Johanl
Naturaleaderon Sept. 14, 2010 at 2:24 p.m.
Android Destroys.
MagusMaleficuson Sept. 14, 2010 at 2:50 p.m.
Too bad my service has no plans to update to 2.2. I'd root, but I'm sure I'd screw something up. 
JoelTGMon Sept. 14, 2010 at 3:21 p.m.
That sounds complicated.  What does iOS4 do differently that I never have to kill tasks?
will staff is online on Sept. 14, 2010 at 3:38 p.m.
@JoelTGM: It doesn't really multi-task. Instead it makes a few limited APIs available for things like background nav. If you need to kill an app on iOS, you have to do it manually.
Pkshieldson Sept. 14, 2010 at 4:20 p.m.
As I'm on a low powered device with a 2.2 ROM, AutoKiller has saved my life speedwise for a world without task killers. Forgot about Watchdog though, looks useful.
NightSkieson Sept. 14, 2010 at 4:26 p.m.
great article! thanks!  :)
megalowhoon Sept. 14, 2010 at 5:03 p.m.
Excellent article! I wasn't really aware of the task killer situation under 2.2. 
 
And Magus, rooting is fairly easy (and fun!). No harm in checking out a few You Tube tutorials and see if it's something you'd like to try, you'll end up with a more powerful device and some new technological know-how if you do.
ragflanon Sept. 14, 2010 at 5:50 p.m.
Glad to see an article on Tested about Task Managers on Android. I tried convincing so many friends not to use them but they won't listen. I'm forwarding this article on to them. Thank you Ryan! Your Android articles are awesome. Not just because they're about Android but because you make the article interesting and informative.
dezvouson Sept. 14, 2010 at 11:11 p.m.
Awesome article! Would love to see more Android stuff like this. 
 
Proud Vibrant owner (former G1)
dylanwinnon Sept. 14, 2010 at 11:36 p.m.
Very interesting. I have Cyanogen 6 (froyo) on my HTC Aria, and I've been using Advanced Task killer for some time without issue. I simply left it at the default permission level, turned off auto-kill, and set it to ignore everything I want running in the background. Basically all that's left are apps that I forget to close. I assume that there is no problem with using task killers in this way.
coolofon Sept. 14, 2010 at 11:50 p.m.
I knew that you wasn't suppose to use task killers but I honestly didn't know exactly why. This clears things up and will be a great resource to new Android users.
 
Thanks!
Ktargoon Sept. 15, 2010 at 12:22 a.m.
Thanks for the article and app recommendation. I was unaware of this. 
Renahzoron Sept. 15, 2010 at 7:23 a.m.
Great article!  I noticed from playing around with my Incredible that the new bloatware from the 2.2 upgrade *constantly* restarts even if you force close it from the app management screen.  the main culprits are Amazon MP3, Skype mobile, and VZ navigator, 3 apps that I never use and have no use for.  The one thing that's made me consider rooting my phone is this stupid bloatware.  :P
GTFShadowon Sept. 15, 2010 at 7:42 a.m.
Awesome read. Trying to keep up with all the notable apps I should be getting when I do purchase a captivate. 
miva2on Sept. 15, 2010 at 9:15 a.m.
Interesting.
If i get a new phone, it'll be an android one.
Useful to know this.
MrChazon Sept. 15, 2010 at 11:25 a.m.
Task killers were never a solution.  The problem is in badly written apps not closing down properly and the OS not showing this information to users so that they can un-install, rate and give feedback. 
 
Froyo doesn't stop developers from doing a lot of the stupid stuff that can eat battery. However over the last few versions Google has provided a number of better ways to manage things that help developers not shoot themselves in the foot.  

The thing to remember is that you  never really close an Android application you essentially minimize it.  At this point it should essentially be idle with it's important information held by the system for when you next want it.  The system only clears things up when it's low on resources. 
The life-cycle is pretty complicated ( http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle
and that only cover Activities (the things you see) and not background services which have their own life-cycle.
Zaapp1on Sept. 15, 2010 at 12:36 p.m.
I was wondering why things just restarted now, thanks Tested!
AaronGon Sept. 15, 2010 at 4:47 p.m.
Good article. 
Twitchon Sept. 15, 2010 at 9:07 p.m.
Now I'm going to have to root again. I like the idea of stopping apps before they start with Autostarts. The one thing I hate is the Facebook app continues to cache data and I have never launched it.  
Josiah_Xon Sept. 16, 2010 at 6:15 a.m.
Nice. Love all the Android tips. I think Its time to root my evo.
How To Rip DVDs to Play on Any Device—For Free!

Our ultimate DVD copying guide shows you how to use Handbrake to rip discs for playback on your laptop, Xbox, PS3, iPhone, Zune, netbook, iPad, PSP, iPod, and pretty much anything else

Tested: Apple Mac OS X Lion

The $30 upgrade from Snow Leopard seems like a no-brainer, but that's not the full story. Read the official Tested review.

Apple iPad 2 Review

Our definitive review of the iPad 2.

Tested: Nvidia GeForce GTX 580 Video Card

The green machine comes back swinging.

Apple iPad Wi-Fi Review

Apple's device isn't magical, but it is going to make the tablet a real category--for better or for worse

Video: How To Build the Best $1500 Gaming PC, Step-by-Step

Do you like saving money? What about playing PC games? Have you ever considered building your own PC? We show you exactly what you need to know to build an awesome $1500 gaming PC.

How To Build an Awesome $500 Windows Home Server

We pick the best parts to build a lean media backup and streaming machine.

The Best Android Phone for Your Network (February 2011)

Don't get locked in with the wrong phone.

Why I’ve Switched from Browser-Based Apps Back to Native Software on the Desktop

Moving from powerful, native Desktop clients to clunky web-apps isn’t always a good thing. In fact, it’s often a significant step backwards.

Qualcomm's Snapdragon S4 Integrates LTE, Tops Benchmarks

Qualcomm's latest Snapdragon SoC outperforms 2011's fastest chips by a wide margin and integrates LTE processing in the name of battery efficiency.

Ivy Bridge Chip Delay to Summer Gives Apple a Shot at Early Access

As PC makers hold onto new models in the summer months before Windows 8's launch, Apple will have plenty of time to launch new laptops with new processors.

Nokia Teases "Pure View" Camera, Which Hopefully Isn't Just More Megapixels [Video]

Nokia's next phone could mark the return of the Xenon flash, a large image sensor, or high quality 1080p video recording.

Future SSDs May Suffer from Speed and Reliability Issues

Researchers at the University of California, San Diego project doubled latency and tripled bit errors in SSDs as storage increases.

Purported 2048x1536 iPad 3 Display Spotted--Now Who's Making It?

A quad-pixel iPad display in the flesh, but it is unlikely that Sharp will manufacture it.

How Windows 8 Will Integrate SkyDrive for Cloud Storage and Remote PC Access

SkyDrive's omnipresence in Windows 8 extends from the profile to Metro apps to the legacy desktop.

Major Changes to Flickr to Begin Rolling Out February 28th

The Photo View and Upload pages are getting much-needed redesigns, which Flickr needs to stop the user bleed.

What Kind of Computer User Needs a High-End 17-inch Laptop?

According to Loyd, there exist three key uses that necessitate a high-end 17-inch laptop.

Why I’ve Switched from Browser-Based Apps Back to Native Software on the Desktop

Moving from powerful, native Desktop clients to clunky web-apps isn’t always a good thing. In fact, it’s often a significant step backwards.

Future SSDs May Suffer from Speed and Reliability Issues

Researchers at the University of California, San Diego project doubled latency and tripled bit errors in SSDs as storage increases.

Comcast Announces Its Netflix Rival: Xfinity Streampix

The streaming video service is launching this Thursday for existing Comcast subscribers.

Tested: The New and Improved Swype Beta on Android 4.0

After acquiring Swype, Nuance had updated the app for Android 4.0 and added some new features.

Everything You Need to Know About Ubuntu for Android

Linux gets more Linux-y when Android gets mashed up with Ubuntu.

Purported 2048x1536 iPad 3 Display Spotted--Now Who's Making It?

A quad-pixel iPad display in the flesh, but it is unlikely that Sharp will manufacture it.

Siri On OS X: Will Most Users Even Care?

One notable feature missing from the upcoming Mountain Lion release of OS X is Apple's Siri.

Submissions can take several hours to be approved.

Save ChangesCancel