{"id":161818,"date":"2015-10-24T06:25:19","date_gmt":"2015-10-24T06:25:19","guid":{"rendered":"http:\/\/4cd.e16.myftpupload.com\/?p=161818"},"modified":"2015-10-24T06:28:10","modified_gmt":"2015-10-24T06:28:10","slug":"facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened","status":"publish","type":"post","link":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/","title":{"rendered":"Facebook fixes iOS app battery drain issue, explains why it happened"},"content":{"rendered":"

Last week, we wrote about Facebook being one of the worst offenders when it comes to battery drain on iOS devices.<\/p>\n

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.<\/p>\n

According to Facebook engineering manager Ari Grant, the problem was twofold: First, Facebook’s app had something called “CPU spin” in its code.<\/p>\n

“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.<\/p>\n

Second, as suspected by MacStories<\/em>‘ Federico Viticci, Facebook’s app managed audio sessions poorly, causing unnecessary battery drain.<\/p>\n

“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.<\/p>\n

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

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.<\/p>\n

–<\/p>\n

Source: Mashable<\/p>\n","protected":false},"excerpt":{"rendered":"

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 […]<\/p>\n","protected":false},"author":14,"featured_media":161819,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[18],"yoast_head":"\nFacebook fixes iOS app battery drain issue, explains why it happened - Citi 97.3 FM - Relevant Radio. Always<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Facebook fixes iOS app battery drain issue, explains why it happened - Citi 97.3 FM - Relevant Radio. Always\" \/>\n<meta property=\"og:description\" content=\"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 […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/\" \/>\n<meta property=\"og:site_name\" content=\"Citi 97.3 FM - Relevant Radio. Always\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/citi97.3\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-24T06:25:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-24T06:28:10+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/4cd.e16.myftpupload.com\/wp-content\/uploads\/2015\/10\/facebook.jpg\" \/>\n<meta name=\"author\" content=\"Kojo Akoto Boateng\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@citi973\" \/>\n<meta name=\"twitter:site\" content=\"@citi973\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kojo Akoto Boateng\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/\",\"url\":\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/\",\"name\":\"Facebook fixes iOS app battery drain issue, explains why it happened - Citi 97.3 FM - Relevant Radio. Always\",\"isPartOf\":{\"@id\":\"https:\/\/citifmonline.com\/#website\"},\"datePublished\":\"2015-10-24T06:25:19+00:00\",\"dateModified\":\"2015-10-24T06:28:10+00:00\",\"author\":{\"@id\":\"https:\/\/citifmonline.com\/#\/schema\/person\/1642ef473fe39bf0c4e2f2f252678eb1\"},\"breadcrumb\":{\"@id\":\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/citifmonline.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Facebook fixes iOS app battery drain issue, explains why it happened\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/citifmonline.com\/#website\",\"url\":\"https:\/\/citifmonline.com\/\",\"name\":\"Citi 97.3 FM - Relevant Radio. Always\",\"description\":\"Ghana News | Ghana Politics | Ghana Soccer | Ghana Showbiz\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/citifmonline.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/citifmonline.com\/#\/schema\/person\/1642ef473fe39bf0c4e2f2f252678eb1\",\"name\":\"Kojo Akoto Boateng\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/citifmonline.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba51f5385119e83762c67ecd6aa410ab?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ba51f5385119e83762c67ecd6aa410ab?s=96&d=mm&r=g\",\"caption\":\"Kojo Akoto Boateng\"},\"url\":\"https:\/\/citifmonline.com\/author\/kojo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Facebook fixes iOS app battery drain issue, explains why it happened - Citi 97.3 FM - Relevant Radio. Always","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/","og_locale":"en_US","og_type":"article","og_title":"Facebook fixes iOS app battery drain issue, explains why it happened - Citi 97.3 FM - Relevant Radio. Always","og_description":"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 […]","og_url":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/","og_site_name":"Citi 97.3 FM - Relevant Radio. Always","article_publisher":"https:\/\/www.facebook.com\/citi97.3","article_published_time":"2015-10-24T06:25:19+00:00","article_modified_time":"2015-10-24T06:28:10+00:00","og_image":[{"url":"http:\/\/4cd.e16.myftpupload.com\/wp-content\/uploads\/2015\/10\/facebook.jpg"}],"author":"Kojo Akoto Boateng","twitter_card":"summary_large_image","twitter_creator":"@citi973","twitter_site":"@citi973","twitter_misc":{"Written by":"Kojo Akoto Boateng","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/","url":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/","name":"Facebook fixes iOS app battery drain issue, explains why it happened - Citi 97.3 FM - Relevant Radio. Always","isPartOf":{"@id":"https:\/\/citifmonline.com\/#website"},"datePublished":"2015-10-24T06:25:19+00:00","dateModified":"2015-10-24T06:28:10+00:00","author":{"@id":"https:\/\/citifmonline.com\/#\/schema\/person\/1642ef473fe39bf0c4e2f2f252678eb1"},"breadcrumb":{"@id":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/citifmonline.com\/2015\/10\/facebook-fixes-ios-app-battery-drain-issue-explains-why-it-happened\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/citifmonline.com\/"},{"@type":"ListItem","position":2,"name":"Facebook fixes iOS app battery drain issue, explains why it happened"}]},{"@type":"WebSite","@id":"https:\/\/citifmonline.com\/#website","url":"https:\/\/citifmonline.com\/","name":"Citi 97.3 FM - Relevant Radio. Always","description":"Ghana News | Ghana Politics | Ghana Soccer | Ghana Showbiz","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/citifmonline.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/citifmonline.com\/#\/schema\/person\/1642ef473fe39bf0c4e2f2f252678eb1","name":"Kojo Akoto Boateng","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/citifmonline.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ba51f5385119e83762c67ecd6aa410ab?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ba51f5385119e83762c67ecd6aa410ab?s=96&d=mm&r=g","caption":"Kojo Akoto Boateng"},"url":"https:\/\/citifmonline.com\/author\/kojo\/"}]}},"_links":{"self":[{"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/posts\/161818"}],"collection":[{"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/comments?post=161818"}],"version-history":[{"count":0,"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/posts\/161818\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/media\/161819"}],"wp:attachment":[{"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/media?parent=161818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/categories?post=161818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/citifmonline.com\/wp-json\/wp\/v2\/tags?post=161818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}