Friday, 23 October 2015

Facebook fixes iOS app battery drain issue, explains why it happened



Last week, we wrote about Facebook being one of the worst offenders when it comes to battery drain on iOS devices.
Now, the company claims it has fixed the issue in the latest version of its Facebook iOS app, offering an unusually detailed explanation as to why this happened.


According to Facebook engineering manager 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 your iPhone. Let us know if this is really the case in the comments.

0 comments:

Post a Comment

*Don't Forget To Drop Your Comments After Reading
*For more info: Add us on BB now (BB Pin: 5617EE79) and email us on Toptrendnaija@gmail.com to get more trending Videos, Pictures and Stories.
* Readers are SOLELY responsible for the comments they post on TopTrendNaija.

Translate

Business Financing and Online Marketing Workshop

Business Financing and Online Marketing Workshop
Click Banner For Details

#SocialMediaWeekBizTalk

#SocialMediaWeekBizTalk

Hawt Business Club

Hawt Business Club

LEARN PHOTO EDITING

Meet Aaron Chidi

Meet Aaron Chidi
Click Banner For Details

Total Pageviews

Blog Archive

#StepOut

Click The Image to Download Free Ebook

Google+ Badge

ruby signature hair

ruby signature hair
Click on image to palce order

Every Thursdays BY 5PM ON IaspireRadio

Every Thursdays BY 5PM ON IaspireRadio
Click on image to Listen Live
Copyright © 2014 · Aarico Micdavis Company. Powered by Blogger.

Trending Video

Category 1

.

Category 2

Slideshow

Category 5

Category 3

Category 4

.

1 cLiCK

.

Google+ Followers

Latest News

Blog Archive

Find Us On Facebook

My Blog List

About us

Breaking News

Subscribe

Receive all updates via Facebook. Just Click the Like Button Below

Free Email Updates. Check Your mail for verification link:

Powered By Blogger Widgets

Follow us on facebook

Recent Posts

Text Widget

Home Style

About Me

My photo

News about what's trending, where its trending and why its trending on social media. For Biz~ toptrendnaija@gmail.com BB pin: 24C632E3

Followers

Business

TopTrendNaija Android App

TopTrendNaija  Android App
Click Banner to download

Follow by Email

LEARN PHOTO EDITING

Blogger Widgets

Networkedblogs

Menu