Apple Executive Confirms: Manually Quitting Apps Doesn't Improve Battery Life (bgr.com)
An anonymous reader writes: Apple software engineering VP Craig Federighi recently dispelled one of the more long-standing myths about iPhone battery life. In short, if you spend a few minutes every day double clicking the iPhone home button and manually closing up applications in an effort to maintain battery life, you're wasting your time. The reality is that the applications you see upon opening up the multitasking pane are actually nothing more than static images intended to represent a list of your most recently used applications. Apple support documents have indicated, "generally, there's no need to force an app to close unless it's unresponsive." Apple support docs further explain: "After you switch to a different app, some apps run for a short period of time before they're set to a suspended state. Apps that are in a suspended state aren't actively in use, open, or taking up system resources."
Except Waze... Waze is a battery hog. I always quit that as soon as I'm done with its navigation features.
The days of shortages of RAM are long gone. Unfortunately because it makes modern coders sloppy. But RAM is the least of your worries unless you're doing something crazy or have a huge memory leak problem.
Seven puppies were harmed during the making of this post.
Apps which are put to the background are allowed to run for a little while to let them finish up what they were doing (e.g. saving something). Then they're suspended - their state is written to disk and they're flushed from memory. The screenshot is saved so you can see it in the list, and if you reopen it the app will be restarted from the saved state.
Apps can register themselves as requiring to run full time in the background, examples are navigators, messaging apps, etc. These will not be suspended, and can eat the battery. If you add one of those flags to your app without actually having justification to do so, you'll be rejected from the app store.
---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"
Wifi on the other hand. I get more than three days run time on my slightly aged phone with wifi off and less than a day with it on.
Actually the reason the original iPhone didn't multitask was that it was so underpowered. 400MHz single core CPU and just 128MB of RAM. Remember that at first it didn't even have third party apps, and when they did come along they were very limited in what they were allowed to do in order to preserve the user experience in such a low power, low memory environment.
At the time Android allowed multitasking but needed more powerful hardware and even then performance was quite poor. It certainly wasn't as slick as the iPhone, because it couldn't rely on being able to concentrate on just one task at a time.
const int one = 65536; (Silvermoon, Texture.cs)
SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC