Facebook has taken to, shocker, Facebook to explain some of the issues causing significant iPhone battery drain when using its app. The app has received a lot of criticism in the community in recent weeks with users reporting incredibly high levels of background activity time for disproportionally low time with the app actually in use. This included when iPhone users had explicitly turned off Background App Refresh in Settings. Facebook says it has started to fix battery drains issues with the latest version of the app in the App Store, version 42.0.
Ari Grant says there are two main problems with the app as it stands. One of which is a CPU spin state where the app would be instructing the CPU to be constantly doing ‘something’, even if the activity was unnecessary. Hence, the app would be using battery unnecessarily as it was keeping the CPU working without achieving any task for the user.
The other issue is related to improper management of audio sessions. This explains the prolonged background audio sessions. According to the post, if you left the Facebook app whilst watching a video the app would continue audio playback of the paused video. This effectively meant the app was playing silence indefinitely, through the background audio session. Facebook claims the app isn’t doing anything nefarious whilst it is in the state.
The second issue is with how we manage audio sessions. If you leave the Facebook app after watching a video, the audio session sometimes stays open as if the app was playing audio silently. This is similar to when you close a music app and want to keep listening to the music while you do other things, except in this case it was unintentional and nothing kept playing. The app isn’t actually doing anything while awake in the background, but it does use more battery simply by being awake. Our fixes will solve this audio issue and remove background audio completely.
The update released today includes improvements for both of these problems. They are committed to continuing improving battery usage of their app, which will benefit the iPhone platform as a whole — the Facebook app is the #1 most popular app for the phone.
FTC: We use income earning auto affiliate links. More.
You must be logged in to post a comment.
Bull****. I’m done – uninstalled the FB app on my iPhone. My life is better – lets all do the same.
I agree with you totally. Facebook is crazy. I don’t use it. Just speak to people instead of messaging them on Facebook!
that horse is so far out of the barn it no longer even remembers living in it. Your issue is not facebook, it is text communication. I dislike facebook, but for other reasons.
I personally love the drop in phone conversations for simple things. So much less disruptive and much more nice to those around you in a public place.
I’m going back to MySpace!
I’m going back to IRC
It takes a lot of energy to track everything you do and use it for advertising…
Dude that drain is no joke, can confirm.
I find facebook’s “willingness” to fix the issue strange since I’m sure they designed the app to work this way in the first place. They don’t refer to these as bugs.
It puts a bad taste in my mouth about the app. Since this came out I’ve uninstalled the app and use the web app less often than I used the previous app. Malicious coding like this is souring me from their service.
Why would you design an App that is constantly making the CPU work for no reason what so every? Why release an App that keeps things playing in the background when you are not using the app and have background app refresh turned off?
I would understand if this was their first app and they were still getting to grips with creating an app, but they have been around for quite some time…
They even separated facebook messenger from the main app to reduce cpu and power usage because messenger refreshes more often… yet the messenger app is ok…
All it took them was like a year or so.
What’s surprising to me is that Apple didn’t yank the app from the store, because disabling background app refresh doesn’t do a damn thing to stop the issue. If you open the app ONCE even for a few seconds and never open it again, your phone’s battery will be entirely drained in one day even while it’s sleeping.
Background app refresh and background audio playing are two entirely different APIs.
Apple used to reject apps that left background playing open indefinitely. My guess is that they’ve relaxed this or didn’t catch it.
I didn’t mention audio and the issue has never had anything to do with audio, background or otherwise.
This issue isn’t new – it’s been around longer than a year. Facebook is kid of the lowest-common-denominator kind of app – even its site. If there’s any engineering talent at Facebook, they must be working on server-based tech, database optimization, load balancing and the like, certainly nothing that is now or has ever been forward facing. The entire web platform and its mobile apps are jokes. A few years ago it would take 3 to 10 people to do all of it, now I’m sure they have hundreds of monkeys burning cycles and dollars with really nothing to show for it. But they have a billion pairs of eyeballs and advertises climbing over themselves to put their products in front of them.
I don’t; think that’s fair at all. Facebook definitely has iOS engineering. By all accounts, they’ve built something quite incredible.
What they may lack is a taste for good code, or at least sufficient time to bring the app in line with taste. Because what they built probably didn’t have to be be built.
It’s a practically feature-less app and infuriatingly crippled compared to the features of accessing the site in a browser. On top of everything it’s buggy as all hell and has been since it was first released and despite receiving updates every 2 weeks.
Engineering TALENT is missing on everything forward-facing Facebook does, *along with* design talent.
“Hence, the app would be using battery unnecessarily as it was keeping the CPU working without achieving any task for the user.”
It does not exclude Facebook achieving tasks 😳
I completely uninstalled the Facebook app and just use Facebook from safari. All of the functionality (ok, 95%+, but messages works too) and none of this BS.
I have Facebook in my iPhone but don’t background activity and my battery are good life
Me too. I’m not a “heavy” Facebook user but it always shows very little battery usage on my iPhone 6. I wonder why it would affect some people but not all if it’s an actual bug in the code.
Because you have to send it to the background while playing a video to invoke the bug.
Is the Version 42 the newest Version in US? Because in Germany we have Version 45. But there is no Info what has been changed.
My Fault. Looked on the wrong App.
Nice post.Thanks for sharing
‘Facebook’ is at risk of becoming the new ‘Flash’.
If you want to keep Facebook on your iPhone but not the app just add a bookmark from safari to you home screen. That way you still have Facebook and it does not take a toll on your phone. Just something to keep in mind as an alternative.
I was experiencing the background issue even when I had that option off in settings, after last nights update I can tell that it was fixed, the app is no longer updating in the background
Why does Apple always get the fixes first?