Wednesday, June 20, 2012

How Multitasking works in iOS? No Need to Close Background Apps to Save Battery

Multitasking in iOS has been a topic of extreme debate ever since it was introduced for the first time during the launch demo of iOS4. PCWorld termed it horrible and many other critics argued that what iOS does is not 'true multitasking' rather assigns priority to apps based on what action they are performing.


As we have reported before, Multitasking in iOS works in a manner that is very unique and different as compared to how it operates in Android. In Android, the app is kept in the memory even in the background and is allowed to consume data and services just like any other app. In iOS, however, only services such as audio, VoIP and location are allowed to operate in the background while the app is pushed into a frozen state.
The addition of a multitasking bar in iOS4 also led to a confusion that apps need to be closed manually to save memory and battery time. However, Fraser Speirs, an iOS developer has a very different and interesting story to tell.

"You may think that, if an app is resident in memory, you have to somehow remove it to conserve memory. You don't because iOS does it for you. If there are Suspended apps lying around and you launch a memory-intensive app such as a big game, iOS will start to purge Suspended apps and move them to the Not Running state. That is, they will be completely removed from memory and will launch afresh the next time you tap their icon.


Where some people get confused is this: all of the above has no impact on what you see in the multitasking bar. The multitasking bar always shows a list of recently used apps, regardless of whether they're in the Background, Suspended or Not Running states. You may also have noticed that the app that is currently Active does not appear in the multitasking bar."


In one of the videos posted above, he presents a live scenario to demonstrate the memory consumption on an iPad with iOS 5.0.1. In short, task killer apps are all bullshit and you don't need to manually close any apps on iOS as the intelligent bastard does it short and easy for you.

No comments:

Post a Comment