Forum for Science, Industry and Business

Sponsored by:     3M 
Search our Site:

 

Free apps drain smartphone energy on 'advertising modules'

05.04.2012
Researchers have shown that popular free smartphone apps spend up to 75 percent of their energy tracking the user's geographical location, sending information about the user to advertisers and downloading ads.

"It turns out the free apps aren't really free because they contain the hidden cost of reduced battery life," said Y. Charlie Hu, a Purdue University professor of electrical and computer engineering.

Because smartphone batteries must be small and lightweight, power consumption is a major issue, the researcher said. He has led work to create a new tool called eprof - for energy profiler - to analyze how much energy a smartphone app consumes.

New findings show that 65 percent to 75 percent of the energy used to run free apps is spent for advertising-related functions.

"We performed an in-depth case study, the first of its kind, of six popular smartphone apps, including Angry Birds, Facebook and Android Browser," said Purdue doctoral student Abhinav Pathak.

The free Angry Birds app was shown to consume about 75 percent of its power running "advertisement modules" in the software code and only about 25 percent for actually playing the game. The modules perform marketing functions such as sharing user information and downloading ads.

"We believe it is mainly to provide information about the user's geographical location so the ads can be more targeted or customized to that location," Hu said.

Findings will be detailed in a research paper being presented during the EuroSys 2012 conference on April 10-13 in Bern, Switzerland. The paper, written by Pathak, Hu and Ming Zhang, a researcher at Microsoft Research, also suggests a general approach for improving the energy efficiency of smartphone apps.

An application may contain tens of thousands of lines of code, broken down into many components called subroutines, threads and processes. Eprof maps how much energy comes from each component, representing a new way for researchers to study smartphone energy consumption without using a power meter, an expensive and cumbersome piece of laboratory equipment.

"This is the first tool of its kind ever developed for modern smartphones," Pathak said. "We've seen around 1 million apps written since smartphones emerged roughly five years ago, but there has been no systematic way for the developer to see how much energy the different components consume. Using this tool, you can see what should be changed to improve energy efficiency."

The smartphone power drain is caused by a combination of factors including inefficient programs and software glitches called "energy bugs," Hu said.

"Eprof tells you how much energy is spent where," he said. "This may be due to energy bugs or other reasons."

In one case, a piece of advertising software embedded in a free app failed to turn off its connection to the Internet, a function called a socket, requiring another piece of code to resolve the problem and wasting energy.

Inefficient power usage is most likely to occur in interactive programs, which are prevalent in smartphone apps such as games and applications that heavily use built-in phone gadgets like GPS, the camera, compass and "proximity sensor."

A particular source of power inefficiency is a phenomenon called "tails." In principle, after an application sends information to the Internet, the "networking unit" that allows the phone to connect to the Internet should go to a lower power state within a fraction of a second. However, researchers found that after the advertising-related modules finish using the network, the networking unit continues draining power for about seven seconds.

"The past assumption has been that, whenever you see usage you have power consumption, and when there is no usage there is no power consumption," Hu said. "This does not hold true for smartphones."

The tails are a phenomenon of several smartphone hardware components, including 3G, or third-generation wireless systems, GPS and WiFi, not flaws within the app software itself. However, software developers could sidestep the problem by modifying apps to minimize the effect of tails, Hu said.

"Any time you use the 3G network, there will be a tail after the usage," Hu said. "The ad module in Angry Birds obviously uses 3G for network uploading and downloading, while the game itself did not, which is why we blame the ad module for the tail."

Battery drain in smartphones has emerged as a fundamental problem.

"We've been hearing about major problems lately in power usage," Hu said. "A smartphone battery is generally expected to last a day before recharging, but we're hearing about mysterious instances where the battery runs out in a few hours. Users have been complaining about this on Internet forums."

Findings in the paper suggest a way to improve energy efficiency with a technique that has been shown to reduce the energy consumption of four apps by 20 percent to 65 percent.

The ultimate goal is to develop an "energy debugger" that automatically pinpoints flaws in software and fixes them without the intervention of a human software developer, Hu said.

Eprof mirrors a tool created three decades ago called gprof, which tracks how much time is consumed by software components.

"If a program runs for three hours, gprof tells you how much time is spent on each subroutine," Hu said. "We've taken this to a whole new level with eprof to show how much energy is consumed."

The same researchers first created a model making the new profiler tool possible and presented a paper about the model at last year's EuroSys conference. The model estimates how much power a smartphone is using while an app is running.

Pathak is supported by an Intel Ph.D. fellowship.

Related website:

Y. Charlie Hu:
https://engineering.purdue.edu/ECE/People/profile?resource_id=3351
Abstract on the research in this release is available at: http://www.purdue.edu/newsroom/research/2012/120404HuSmartphone.html

Emil Venere | EurekAlert!
Further information:
http://www.purdue.edu

More articles from Communications Media:

nachricht Arguments, Emotions, and News distribution in social media - Leibniz-WissenschaftsCampus Tübingen
04.05.2018 | Leibniz-Institut für Wissensmedien

nachricht High Number of Science Enthusiasts in Switzerland
05.02.2018 | Universität Zürich

All articles from Communications Media >>>

The most recent press releases about innovation >>>

Die letzten 5 Focus-News des innovations-reports im Überblick:

Im Focus: Temperature-controlled fiber-optic light source with liquid core

In a recent publication in the renowned journal Optica, scientists of Leibniz-Institute of Photonic Technology (Leibniz IPHT) in Jena showed that they can accurately control the optical properties of liquid-core fiber lasers and therefore their spectral band width by temperature and pressure tuning.

Already last year, the researchers provided experimental proof of a new dynamic of hybrid solitons– temporally and spectrally stationary light waves resulting...

Im Focus: Overdosing on Calcium

Nano crystals impact stem cell fate during bone formation

Scientists from the University of Freiburg and the University of Basel identified a master regulator for bone regeneration. Prasad Shastri, Professor of...

Im Focus: AchemAsia 2019 will take place in Shanghai

Moving into its fourth decade, AchemAsia is setting out for new horizons: The International Expo and Innovation Forum for Sustainable Chemical Production will take place from 21-23 May 2019 in Shanghai, China. With an updated event profile, the eleventh edition focusses on topics that are especially relevant for the Chinese process industry, putting a strong emphasis on sustainability and innovation.

Founded in 1989 as a spin-off of ACHEMA to cater to the needs of China’s then developing industry, AchemAsia has since grown into a platform where the latest...

Im Focus: First real-time test of Li-Fi utilization for the industrial Internet of Things

The BMBF-funded OWICELLS project was successfully completed with a final presentation at the BMW plant in Munich. The presentation demonstrated a Li-Fi communication with a mobile robot, while the robot carried out usual production processes (welding, moving and testing parts) in a 5x5m² production cell. The robust, optical wireless transmission is based on spatial diversity; in other words, data is sent and received simultaneously by several LEDs and several photodiodes. The system can transmit data at more than 100 Mbit/s and five milliseconds latency.

Modern production technologies in the automobile industry must become more flexible in order to fulfil individual customer requirements.

Im Focus: Sharp images with flexible fibers

An international team of scientists has discovered a new way to transfer image information through multimodal fibers with almost no distortion - even if the fiber is bent. The results of the study, to which scientist from the Leibniz-Institute of Photonic Technology Jena (Leibniz IPHT) contributed, were published on 6thJune in the highly-cited journal Physical Review Letters.

Endoscopes allow doctors to see into a patient’s body like through a keyhole. Typically, the images are transmitted via a bundle of several hundreds of optical...

All Focus news of the innovation-report >>>

Anzeige

Anzeige

VideoLinks
Industry & Economy
Event News

Munich conference on asteroid detection, tracking and defense

13.06.2018 | Event News

2nd International Baltic Earth Conference in Denmark: “The Baltic Sea region in Transition”

08.06.2018 | Event News

ISEKI_Food 2018: Conference with Holistic View of Food Production

05.06.2018 | Event News

 
Latest News

Graphene assembled film shows higher thermal conductivity than graphite film

22.06.2018 | Materials Sciences

Fast rising bedrock below West Antarctica reveals an extremely fluid Earth mantle

22.06.2018 | Earth Sciences

Zebrafish's near 360 degree UV-vision knocks stripes off Google Street View

22.06.2018 | Life Sciences

VideoLinks
Science & Research
Overview of more VideoLinks >>>