Managing Background Tasks on Windows Phone

With the release of Windows Phone 7.5, Microsoft allowed applications to run even while you’re not using it. This is referred to as a background task or process. Every task, background or not, will consume a little battery power and potentially some data too. So why would I care to have a background task running on my device? Well, everyone is always looking for the longest battery life possible, and some of us are even looking at ways to keep data usage in check. Background processes could potentially wreak havoc on that. Let’s use WhatsApp as an example. The background agent would be used to keep a connection back to their server so they can quickly ping you with incoming chat messages. If the WhatsApp server doesn’t know where to find you, it’s going to have a hard time delivering the chat message. So having this background agent is a good thing! Now, if that background agent runs too frequently, or you have too many of them running, it could have an impact on your device battery.

MobileJaw-Ballmer-Microsoft-3GSM

In order to protect us from resource hungry tasks that may be running in the background, Microsoft put some restrictions in place. Basically there are 2 different types of tasks that can run on a Windows Phone device. The first is a "Resource Intensive Task" – this is where you need something done that takes more than average amount of time and processing power. These are only allowed to run when the device is plugged in, has a charge over 90%, the screen is locked, and can only run for 10 minutes at a time. This is great for doing a nightly backups for example.  The other type of agent is a "Periodic Task" – this is used for a small amount of time, typically 25 seconds, and runs on a regular interval which is usually around 30 minutes, but may be as frequent as 10 minutes. These are used for quick updates to applications like location, or news. Microsoft has also set a limit on the number of background tasks possible. However, this number can vary based on device. They don’t say what the max will be, but they do mention that it "could be as low as 6".

For some applications it makes sense to have a background task that handles a simple task every now and then. However, not every application needs to run in the background. Further, you might not want a given app to run in the background. So how do you check which apps are running in the background, and how can you control or limit their impact? It’s actually very easy to manage background tasks, if A) you know that they are running on your device, and B) where to find them.

Screen Capture (10)Screen Capture (4)

Simply open Settings, and swipe to the side so you are looking at Applications. The first item in the list under applications should be "background tasks". Tap on this see the list of applications that are running in the background on your device. If an app is configured to run in the background, you will see "on" under the application name. If you tap on an application, you can then turn off the agent. To turn the agent back on, you need to check the box that says "Turn background tasks back on for this app the next time I open it", and then go launch the application.

Screen Capture (9)Screen Capture

Take a close look at the list of applications that have background tasks and ask yourself if you really need that app to be running in the background. Remember, every task takes a little power. If you’re finding that battery life isn’t what it once was, you might want to turn some of the less than useful tasks off. Of course, everyone’s idea of useful is different. For me, I don’t see any need in having IMDB running in the background. Same for audible, LinkedIn, or any of the weather applications. In fact, I have turned off all the background tasks on my device. I would rather have the extra battery life and wait 20 seconds for the weather to update when I launch the app. But that’s just me. Experiment and find what you want to run in the background. As you install more applications, you will want to come back from time to time and check on the tasks, just to make sure that they correspond with what you actually want to run in the background.

About Mike Temporale

Mike Temporale has written 614 posts on Mobile Jaw..

Mike Temporale grew up fascinated by computers since an early age. His first hands on with a computer came when he was 7 years old and a travelling lab of Commodore PET computers made a stop at his school. Hooked on the new world these devices offered, he took any chance possible to get in front of a computer. When Compaq launched the iPaq 3600, he was hooked again. This time on a whole new world of mobile computing. Today, Mike spends his day helping clients deploy and manage their mobile device around the world. From installing custom software, to locking and securing data, and everything in between. He is also the Editor in Chief at Mobile Jaw - a site focused on today's mobile world.

  • Pingback: MobileJaw

  • Pingback: MikeTemporale

  • Pingback: A Look at the Nokia Lumia 920 – Dressed to Impress - Mobile Jaw

  • http://twitter.com/karanthkanu Karan Thakur

    I dont know somehow my Whatsapp are now blocked. I can only see them in the “Settings > Left Swipe > Background Task > Advance” tab and there I can see my Whatsapp.

    And Whatsapp is grayed out and I cant even tap on it to make it run after I open it next time… pls help… I’m not able to get my Whatsapp messages in real-time.

  • MAK

    if whats app installed on a windows phone

    will it have a background task which can be turned off just like the ones shown in the screenshots above?

    • http://www.MobileJaw.com/ Mike Temporale

      WhatsApp does have a background task, but it’s not one that you can control. So it will show under the “Advanced” button, and you won’t be able to disable it.

      • http://www.MobileJaw.com/ Mike Temporale

        It looks like the latest WhatsApp update has moved this from the advanced section where you can’t control it, to the regular background tasks list. So you can now prevent it from running in the background.