Poorly designed mobile sites 'drain smartphone battery'

  • Published
A screenshot of the entry for "batteries" on Wikipedia
Image caption,

Mobile sites such as Wikipedia could be tweaked to save battery life, the researchers said

Poorly coded websites are causing smartphone batteries to drain more than necessary, research has suggested.

A team at Stanford University compared the energy consumption of leading websites including Wikipedia and the Internet Movie Database.

Tests were run using an Android smartphone, with Google Mail declared as the "greenest" mobile site tested.

Last month, research showed that free mobile apps were also overly draining battery power.

Power drain

<link> <caption>The findings</caption> <url href="http://www.bbc.co.uk/news/technology-17431109" platform="highweb"/> </link> blamed built-in systems for retrieving and displaying advertisements with the app.

However, these more recent tests on mobile websites blamed poor coding choices for the higher-than-neccessary consumption.

"Despite the growing popularity of mobile web browsing, the energy consumed by a phone browser while surfing the web is poorly understood," <link> <caption>the report said</caption> <url href="http://www2012.wwwconference.org/proceedings/proceedings/p41.pdf" platform="highweb"/> </link> .

"We hope this paper demonstrates the importance of building a mobile site optimised for mobile devices.

"Sites who do not, end up draining the battery of visiting phones. This can potentially reduce traffic to the site."

The researchers revealed that by analysing and tweaking the design of Wikipedia, energy consumption could be reduced by 30% - without affecting the user experience.

The report added: "Our results show that for popular sites, downloading and parsing cascade style sheets and Javascript consumes a significant fraction of the total energy needed to render the page."

Power-hungry

Other tweaks suggested by the report include using the .jpeg image format instead of other file types like .gif and .png.

Apple.com came out worst in the test - but this is largely due to the site not having a version optimised for mobile use.

Google's email offering Gmail was declared the most efficient site in the findings, a fact credited to its use of HTML for key functions rather than the more power-hungry Javascript.

"Our experiments suggest that using links instead of Javascript greatly reduces the rendering energy for the page," the researchers said.

"Thus, by designing the mobile version of the site differently than its desktop version, Gmail was able to save energy on the phone."

The research is to be presented at the World Wide Web 2012 conference in Lyon this week.