Apple’s website ate my battery

by Mark Tyson on 23 April 2012, 17:54

Tags: Google (NASDAQ:GOOG), Apple (NASDAQ:AAPL), Samsung Mobile Phones

Quick Link: HEXUS.net/qabfnv

Add to My Vault: x

New analysis of smartphone battery use while browsing web sites has been undertaken by a team of researchers at Stanford University, California. For the research the team used Android smartphones, so if you use a different mobile OS or even a different version of Android these figures might also be different for you.

The Stanford team measured the energy use of the smartphone while browsing most of the popular sites we all use in our day to day lives including: Gmail, Picasa, eBay, CNN, BBC, Amazon, Microsoft, Yahoo, Facebook, IMDB, Wikipedia and Apple. When measuring the baseline the team set up a 3G connection on the phone and transferred a small amount of data that would require no rendering. This baseline energy use was roughly 12 joules, you can see the line below. The best behaved sites didn’t use much more energy than that to load and display their pages/graphics.

 

Graph of popular (mobile) web pages and their energy use

 

In the above graph there are some companies that do not have a mobile version of their home page so the full fat version of the page is loaded in the Android browser. These sites were: Apple, Tumblr, Blogger and Wordpress. Indeed they are some of the worst offenders but also rubbing shoulders with them were Wikipedia, IMDB and Go.com.

Looking into why some pages used more of your precious battery to load than others, the Stanford team broke down web pages into their component parts and tried to create optimisations for rendering on the mobile phone.

 Rendering energy is used by:

  • Images; JPG, PNG, GIF rendering
  • Javascript processing
  • CSS processing
  • HTML loading

Interestingly Android browser image rendering used consistently less energy with JPGs. More energy could be saved if images above approx 160 pixels in dimension were offloaded to a proxy server to scale before hitting the phone. See page 48 of the published article.

Javascript optimisations could make quite a difference to energy use. The team managed to optimise the javascript in the Wikipedia site to save 30 per cent of the energy used. For Apple.com one of the major drains on battery were the large images and also the CSS files (5 of them). The researchers created a modified Apple page which looked and behaved the same on mobile using a single CSS file which used 5 joules of energy to render rather than 12 joules it previously expended.

The Stanford team concluded that their work shows developers how to implement energy efficient websites. “While web pages are often optimized for speed and beauty, little attention is given to the amount of power needed to download and render the page. We presented an experimental framework for measuring the power consumption of web pages, including specific components on the page. Our approach gives another dimension for evaluating mobile web sites and helps web developers build more energy efficient sites.”

While Apple shunned Adobe Flash for its energy use and instability it’s interesting to see Apple.com at the top of the energy use pile. Previous energy use research showed users what they already thought was true – that banner ad supported free apps eat up your battery. For example the ads enabled in Angry Birds added 20 per cent to the game energy use total. The worst app offender researchers found had a ratio of core app to advertising energy use of 25 per cent to 75 percent!



HEXUS Forums :: 7 Comments

Login with Forum Account

Don't have an account? Register today!
Wouldnt have thought wiki would be so bad.
Ross1
Wouldnt have thought wiki would be so bad.

Yeah I was surprised by that, I thought it seemed a very basic and quick site to load… I'd have thought sites with lots of pictures and dynamic content would be the worst. Shows how good code really is the key. Pretty shameful for Apple though!
Do we have any indication of which of the websites in the test were “mobile” (i.e. useless) sites, and how many were the “full, proper” websites? The article implies that a mixutre were tested, but doesn't clarify which. That would massively skew the results, as mobile sites are usually deliberately cut down and optimised for mobile devices (and 99/100 times this results in ruining the site, but I digress!) whereas a “normal” site wouldn't be.

Apple's website is pretty shocking anyway - seriously no-one needs images that size on their homepage!
I bet the Apple website uses less power if you browse it from an Apple device :p
“…some companies do not have a mobile version of their home page so the full fat version of the page is loaded in the Android browser. These sites were: Apple, Tumblr, Blogger and Wordpress.”
Spud1
Do we have any indication of which of the websites in the test were “mobile” (i.e. useless) sites, and how many were the “full, proper” websites? The article implies that a mixutre were tested, but doesn't clarify which. That would massively skew the results, as mobile sites are usually deliberately cut down and optimised for mobile devices (and 99/100 times this results in ruining the site, but I digress!) whereas a “normal” site wouldn't be.

Apple's website is pretty shocking anyway - seriously no-one needs images that size on their homepage!