"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:
Emil Venere | EurekAlert!
On patrol in social networks
25.01.2017 | Fraunhofer-Institut für Arbeitswirtschaft und Organisation IAO
Tile Based DASH Streaming for Virtual Reality with HEVC from Fraunhofer HHI
03.01.2017 | Fraunhofer-Institut für Nachrichtentechnik Heinrich-Hertz-Institut
Astronomers from Bonn and Tautenburg in Thuringia (Germany) used the 100-m radio telescope at Effelsberg to observe several galaxy clusters. At the edges of these large accumulations of dark matter, stellar systems (galaxies), hot gas, and charged particles, they found magnetic fields that are exceptionally ordered over distances of many million light years. This makes them the most extended magnetic fields in the universe known so far.
The results will be published on March 22 in the journal „Astronomy & Astrophysics“.
Galaxy clusters are the largest gravitationally bound structures in the universe. With a typical extent of about 10 million light years, i.e. 100 times the...
Researchers at the Goethe University Frankfurt, together with partners from the University of Tübingen in Germany and Queen Mary University as well as Francis Crick Institute from London (UK) have developed a novel technology to decipher the secret ubiquitin code.
Ubiquitin is a small protein that can be linked to other cellular proteins, thereby controlling and modulating their functions. The attachment occurs in many...
In the eternal search for next generation high-efficiency solar cells and LEDs, scientists at Los Alamos National Laboratory and their partners are creating...
Silicon nanosheets are thin, two-dimensional layers with exceptional optoelectronic properties very similar to those of graphene. Albeit, the nanosheets are less stable. Now researchers at the Technical University of Munich (TUM) have, for the first time ever, produced a composite material combining silicon nanosheets and a polymer that is both UV-resistant and easy to process. This brings the scientists a significant step closer to industrial applications like flexible displays and photosensors.
Silicon nanosheets are thin, two-dimensional layers with exceptional optoelectronic properties very similar to those of graphene. Albeit, the nanosheets are...
Enzymes behave differently in a test tube compared with the molecular scrum of a living cell. Chemists from the University of Basel have now been able to simulate these confined natural conditions in artificial vesicles for the first time. As reported in the academic journal Small, the results are offering better insight into the development of nanoreactors and artificial organelles.
Enzymes behave differently in a test tube compared with the molecular scrum of a living cell. Chemists from the University of Basel have now been able to...
20.03.2017 | Event News
14.03.2017 | Event News
07.03.2017 | Event News
24.03.2017 | Materials Sciences
24.03.2017 | Physics and Astronomy
24.03.2017 | Physics and Astronomy