Back Arrow

Facebook fixes its battery draining iOS app and explains why it happened

Posted on Oct 26, 2015.

article image

Last week it was discovered that the Facebook app was one of the worst offenders for draining battery life on iOS devices. Facebook are now claiming they have fixed the problems in their latest app update.

facebook fixes it's battry draining iOS app

Facebooks engineering manager Ari Grant explains why the problem occured.  "First, Facebook's app had something called "CPU spin" in its code. A CPU spin is like a child in a car asking, 'Are we there yet? Are we there yet? Are we there yet?' with the question not resulting in any progress to reaching the destination. This repeated processing causes our app to use more battery than intended,"

The second reason why the App had come a battery hog had been inline with the suspicions of who believed the way the app handled audio was the problem.

Grant wrote "If you leave the Facebook app after watching a video, the audio session sometimes stays open as if the app was playing audio silently. (...) The app isn't actually doing anything while awake in the background, but it does use more battery simply by being awake”.

Grant also pointed out that the issue was not related to how Facebook manages location as some users had suspected.

Download the new version of Facebook’s iOS app from the Apple App store to help keep your device running as efficiently as possible.

Business Assessment

Stay Updated

Follow us on LinkedIn to stay up to date about the industry and any of our news.

Follow Us