Don’t miss the latest developments in business and finance.

Facebook fixes iOS app battery drain issue

Released an update to its app, which it claims should be less of a battery hog

Facebook
<a href="http://www.shutterstock.com/gallery-809503p1.html?cr=00&pl=edit-00">Twin Design</a> / <a href="http://www.shutterstock.com/?cr=00&pl=edit-00">Shutterstock.com</a>
Press Trust of India Houston
Last Updated : Oct 26 2015 | 9:13 AM IST
Social networking giant Facebook has released an update to its iOS app that will stop the excessive drain on iPhone batteries that users were reporting.

Complaints that Facebook's app for iOS causes excessive iPhone battery drain date back a couple of years. But with renewed outcry from users and iOS 9's ability to monitor battery usage, Facebook has admitted its app is a resource hog and issued an update to correct the problem.

"We found a few key issues and have identified additional improvements, some of which are in the version of the app that was released Friday," Facebook engineering manager Ari Grant wrote on the Facebook blog.

More From This Section

According to Ari Grant, the problem was twofold: 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," wrote Grant in a public Facebook post.

Second, as suspected by MacStories' Federico Viticci, Facebook's app managed audio sessions poorly, causing unnecessary battery drain.

"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," wrote Grant.

Grant also pointed out that the excessive battery drain had nothing to do with how Facebook manages location, as some users have suspected.

The new version of Facebook's iOS app, available in Apple's App Store, should be less of a battery hog for the iPhone.

Also Read

First Published: Oct 26 2015 | 12:57 AM IST

Next Story