Reply to topic  [ 8 posts ] 
Misconceptions About iOS Multitasking 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
A good explanation of iOS multitasking: http://speirs.org/blog/2012/1/2/misconc ... sking.html


Mon Jan 02, 2012 5:58 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
And because he got a shed load of emails, he made a video showing how it happens:
http://speirs.org/blog/2012/1/6/ios-mul ... etail.html


Fri Jan 06, 2012 6:25 pm
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
Yep, but it is those that do run in the background which cause the problems, like Skype, which can drain the battery in a couple of hours or navigation software. Those do need killing on a regular basis, if you need the battery to keep going through the whole day.

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Sun Jan 08, 2012 9:05 am
Profile ICQ
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
big_D wrote:
Yep, but it is those that do run in the background which cause the problems, like Skype, which can drain the battery in a couple of hours or navigation software. Those do need killing on a regular basis, if you need the battery to keep going through the whole day.

hmm... Have you tested Skype when it's in the background. I'll have a look in instruments.


---
I am here: http://maps.google.com/maps?ll=53.842557,-1.532729

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Sun Jan 08, 2012 11:40 am
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
Fogmeister wrote:
big_D wrote:
Yep, but it is those that do run in the background which cause the problems, like Skype, which can drain the battery in a couple of hours or navigation software. Those do need killing on a regular basis, if you need the battery to keep going through the whole day.

hmm... Have you tested Skype when it's in the background. I'll have a look in instruments.


---
I am here: http://maps.google.com/maps?ll=53.842557,-1.532729

I hadn't used Skype for ages, then the iOS 4.3 update somehow automatically started Skype. My battery drained in about 4 hours. This went on for a day or so, with the phone being practically unusable and pretty much chained to a power supply. I then noticed that Skype had been started. I killed it and it went back to about 36 - 48 hours between charges.

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Sun Jan 08, 2012 1:24 pm
Profile ICQ
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
It would appear that Skype behaives correctly, i.e. shortly after being backgrounded it is suspended (remaining in memory but taking no CPU time). if you get a text message or a call, Skype comes out of suspension, uses some CPU time, then goes back until you go back to the app or more messages come through. I guess Skype might be using push notifications to the app, which triggers the app to go and check for new stuff?

I only ran the app for five minutes, but it only appeared to use CPU time to receive calls/messages.


Sun Jan 08, 2012 5:51 pm
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 7:26 pm
Posts: 17040
Reply with quote
There's one thing you're failing to take account of in your otherwise reasonable analysis. It is this : Dave's iPhone hates him.


Sun Jan 08, 2012 8:47 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:36 pm
Posts: 5150
Location: /dev/tty0
Reply with quote
jonbwfc wrote:
There's one thing you're failing to take account of in your otherwise reasonable analysis. It is this : Dave's iPhone hates him.


And his iMac....


Sun Jan 08, 2012 9:16 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.