December 23, 2024
Facebook Apps May Be Draining Your Battery

Facebook Apps May Be Draining Your Battery

Posted May 31, 2013 at 10:59pm by iClarified
Some users have been recently having battery life issues with their iPhone (including some of us here at iClarified) -- but it seems the culprit could be Facebook.

A developer's blog post (translated form German) has posted some useful insight into a posible cause for the battery life issue. Using Apple's own developer tools, the developer, Sebastian Düvel, found that Facebook Apps like Messenger and Facebook are racking up CPU time.

---


If you start an app, then it’s running in the foreground. Sure. If you press the home button, the app is not getting terminated but it’s suspended (the app is sleeping). If an app is sleeping it is frozen and is doing nothing (not using any CPU time), although it is using memory. But that’s a good thing: so if you return to that app it’s faster available, because the system does not have to start it, but simply unfreezes it. Apps can be terminated when frozen (either by the system when memory is running low or by the user using the multitasking switcher, which is normally not necessary).

Since iOS 4 there is multitasking. With that it’s possible for an app to keep running up to 10 minutes after being sent to the background. Unfortunately some apps are exploiting this. WhatsApp for example. When it seems like it’s terminated it’s actually running exactly those allowed 10 minutes and continues to communicate directly with it’s server instead of using iOS’ push notifications. That’s draining more battery, of course.
So if you are getting a message in this 10 minute timeframe and open WhatsApp, this 10 minute period starts again. That means if you are getting lots of messages it could happen that WhatsApp is running the whole day. Thankfully most of us are not that popular, so this would become a problem.

Additionally to this 10 minute background time there are four more multitasking modes. They all have something in common: they are running indefinitely. But more important they are defined by the apps themselves.

These four modes are:
●Playing audio: for apps like Spotify/Pandora who play music when you are doing something else
●Location based apps: this is for your navigation apps like Garmin or TomTom
●Newsstand downloads: Newsstand apps can download new issues in the background
●Voice over IP apps: this is for Skype and apps that allow to phone someone, they run in the background waiting for calls


---

Essentially, Facebook, for some odd reason, is waking up every few minutes, uses the CPU for 10 seconds, and then sleeps again. Initially this issue was thought to be related to chat, but that was not the case.

The only solution to this problem, according to Düvel is to either delete Facebook or quit the app using the multitasking switcher. This same problem occurs with Facebook Messenger and the iPad app as well.

We have not been able to verify Düvel's findings, so let us know in the comments if you have experienced better battery life by either removing Facebook or terminating the app after each use.

via Reddit


Facebook Apps May Be Draining Your Battery

Facebook Apps May Be Draining Your Battery
Add Comment
Would you like to be notified when someone replies or adds a new comment?
Yes (All Threads)
Yes (This Thread Only)
No
iClarified Icon
Notifications
Would you like to be notified when we post a new Apple news article or tutorial?
Yes
No
Comments (19)
You must login or register to add a comment...
Jmonsofly
Jmonsofly - July 30, 2013 at 12:00pm
Well this happened to me too. From 90% of battery it went down to 43% this happened twice already after I opened facebook app :(
Perone
Perone - June 3, 2013 at 3:24pm
Android also reporting this issue
Jumme
Jumme - June 2, 2013 at 10:51pm
Deleting the Facebook app instantly solved my problem. I reset network settings, even restored an iCloud backup. Nothing worked... now I've just got Facebook as a shortcut on the homescreen. And everything is back to normal. Thanks
Kubus
Kubus - June 1, 2013 at 8:03pm
My phone was dying completely in under 8 hours before I read this. Now I'm 12 hours in and only down to 80 percent. Facebook needs to do something about this.
Why attack facebook
Why attack facebook - June 1, 2013 at 6:17pm
All apps have had this ability for the past 2 years now. And a lot of them do something similar to this in the background. When you download an app then you should assume that it's going to do some kind of work in the background. If you have a problem be a responsible user and close it out of the multitasking tray.
Manuel
Manuel - June 1, 2013 at 5:27pm
i feel that is not only FB but whatsapp as well, i use BB n iphone, and since the last updates of these 2 apps my both devices started to drain battery a little faster...
Bugged Out
Bugged Out - June 1, 2013 at 3:40pm
Carat shows no unusually high battery drain from FB.
Simon
Simon - June 1, 2013 at 2:41pm
Can't stand FB. So this works out pretty well for me.
maav
maav - June 1, 2013 at 10:13am
The FB app suck battery exactly as described in the article since they introduced in-app messages that show in an overlay screen. My phone becomes extremely hot even after I send the FB app in the background.
mhar
mhar - June 1, 2013 at 9:41am
iphone battery suck ios6 suck all apps drain the battery
5831825
5831825 - June 1, 2013 at 8:50am
P.S. - That's how to write a comment. Admire it.
Slow Clap
Slow Clap - June 1, 2013 at 1:29pm
Wow. I am in absolute awe. Overall, and specifically for the Filipino hookers. Well done.
Daniel
Daniel - June 1, 2013 at 6:25am
Yes , i have noticed that,and i aleays turn off fb from tasksw. Hope they'l fix it !
Jerry Pineda
Jerry Pineda - June 1, 2013 at 4:30am
Yea my battery is being drained constantly after I use Facebook for a few mins. Think I might just delete the app and bookmark the website on my springboard.
mbda
mbda - June 1, 2013 at 3:05am
v true my iphone battery draining as well !
Nate
Nate - June 1, 2013 at 12:58am
Facebook app sucks. Started causing my i4 to freeze and make my contacts disappear after the last 3 or 4 updates.
Keith
Keith - June 1, 2013 at 12:40am
my i5 is running fine with the facebook app installed with no abnormal battery drain. however i do sometimes close the apps with the auxo switcher.
Blazejos
Blazejos - June 1, 2013 at 12:29am
I have the same thing with Foursqare: once I start using it, battery holding on so far starts to drop like 15-20% an hour
aquariusrick
aquariusrick - May 31, 2013 at 11:34pm
It's a ploy to make iPhone battery life seem worse than Samsung.
Recent. Read the latest Apple News.
RECENT
Tutorials. Help is here.
TUTORIALS
Where to Download macOS Sequoia
Where to Download macOS Ventura
AppleTV Firmware Download Locations
Where To Download iPad Firmware Files From
Where To Download iPhone Firmware Files From
Deals. Save on Apple devices and accessories.
DEALS