Facebook addresses severe battery drain issue with updated iOS app
Responding to recent complaints that its iOS app excessively drains iPhone battery life, Facebook on Thursday pushed out a partial fix, explaining the problem was in part caused by a background audio bug.
According to Facebook engineering manager Ari Grant, the battery drain issue stems from multiple problems in the app's code, some of which have been addressed in today's update.
Grant said Facebook discovered a "CPU spin" in its network code, meaning the app constantly performed a process without end. The updated app version does not solve the problem completely, but contains improvements that should help cut down on unnecessary computations.
The second issue was an audio management bug that kept audio sessions perpetually open even in the absence of playable media, effectively "playing" a silent audio track. Apple lets apps run audio in the background, allowing users to browse the Web while listening to Spotify, for example. Grant said that while Facebook was kept awake in the background due to this bug, the app was not performing any tasks. Background audio has been removed completely to solve the issue.
Grant also quashed speculation that Facebook's Location History feature was responsible for excessive battery drain. He added that Facebook does not access location data in the background unless users opt in to the service by switching Location Access to Always in Settings and enabling Location History in the app.
Facebook version 42.0 is available as a free download from the iOS App Store.
According to Facebook engineering manager Ari Grant, the battery drain issue stems from multiple problems in the app's code, some of which have been addressed in today's update.
Grant said Facebook discovered a "CPU spin" in its network code, meaning the app constantly performed a process without end. The updated app version does not solve the problem completely, but contains improvements that should help cut down on unnecessary computations.
The second issue was an audio management bug that kept audio sessions perpetually open even in the absence of playable media, effectively "playing" a silent audio track. Apple lets apps run audio in the background, allowing users to browse the Web while listening to Spotify, for example. Grant said that while Facebook was kept awake in the background due to this bug, the app was not performing any tasks. Background audio has been removed completely to solve the issue.
Grant also quashed speculation that Facebook's Location History feature was responsible for excessive battery drain. He added that Facebook does not access location data in the background unless users opt in to the service by switching Location Access to Always in Settings and enabling Location History in the app.
Facebook version 42.0 is available as a free download from the iOS App Store.
Comments
Facebook is known to hire hackers and jailbreakers.
Pretty sure Facebook can even find and use backdoors Apple or Google arent even aware of.
If they can do this on iOS, I cant even start to imagine what they can do on Android. No hating tho, I love my OP1.
This is why I wont buy the Oculus Rift. Facebook is sneaky AF.
I mean, c'mon, the company records posts or comments you started to type but didnt send!
w
That's probably dropbox scanning folders. Is the client installed?
I don't know about Dropbox scanning folders as I didn't try to cause any of those operations.
People still use Facebook?" src="http://forums-files.appleinsider.com/images/smilies//lol.gif" />
Apparently 1B do.
Apparently 1B do.
I am proud to be a part of the 6.3B that does not.
while (1)
{
invade_user_privacy(); // TODO: possible battery drain issue.
}
I closed my account. ???? never really liked Facebook and people actually get mad
If you don't Answer their post. I know is a good way to stay in contact with family
And friend, but is too full of crap now. So Fock Facebook .
you'd proud to be categorized with toddlers and old people? Also, there're many in Africa Or Asia don't even know of computer.
you'd proud to be categorized with toddlers and old people? Also, there're many in Africa Or Asia don't even know of computer.
Yes, I know that I'm probably in the same boat as many third worlders and other sorts of people who don't even own a computer, but that's ok, I have never once signed up for Facebook and I never will.
I communicate with people that I know in other ways, and that's how I like it. I value my privacy and my security.
Best fix I have found was to dump their crap service and uninstall anything FB related, iPhone and my life is much better and more efficient.
AppleInsider should take a look at the processor load on Mac's when Dropbox is opened in Safari, even though no transfers are happening Dropbox open nearly maxes out all 4 cores in my MacBook Pro on 10.7.5 & temps soar even with the fans all the way up. I don't know about OSX beyond 10.7. Something is wrong though.
Not seeing that at all on my iMac running 10.10.5. And since you are running a version of OS X that is now four generations obsolete I don’t think anyone cares.
Also, the App Store is long overdue for an even more radical overhaul than iTunes. It's basically near-impossible to find anything that is good and new, and it's a system of discovery that has not changed much, if at all, since it was first introduced. Moreover, I have simply no interest in the increasingly fragmented Apple ecosystem such as WatchOS, tvOS, and whatever-elseOS. Life was far far simpler when my couple of developers had to deal with just the iPhone (various form factors) and iPad.
I truly wish Apple would hold the Facebooks of the world -- not to mention the many Chinese apps that have been harvesting user data -- to the same curation standards that they do to (small, trying to be useful to a small slice of the world that I happen to think is relevant) apps like mine.
Also, the App Store is long overdue for an even more radical overhaul than iTunes. It's basically near-impossible to find anything that is good and new, and it's a system of discovery that has not changed much, if at all, since it was first introduced. Moreover, I have simply no interest in the increasingly fragmented Apple ecosystem such as WatchOS, tvOS, and whatever-elseOS. Life was far far simpler when my couple of developers had to deal with just the iPhone (various form factors) and iPad.
It'd be nice if Google was held to the HIG; the YouTube app is an abomination.
They've been trying to do a little better with the special sections, but there's no denying the App Store also needs a serious purge; there are so many useless apps that have been allowed in. Especially the ones that violate their rules; you're not supposed to do knockoffs but there are some 50 Flappy Bird clones in the store.