|
|
1
2
|
\section{Introduction}
|
|
|
3
4
5
|
Measuring app energy consumption\footnote{\small To avoid confusion between
app and energy usage, we use \textit{consumption} exclusively when referring
to energy usage and \textit{usage} exclusively when referring to user
|
|
|
6
|
interaction with apps.} on mobile devices is nearly a solved problem. This is due to
|
|
|
7
8
|
great strides made in both generating and validating energy models that
deliver accurate runtime energy consumption
|
|
|
9
10
11
12
13
|
estimates~\cite{mansdi,vedge-nsdi13,pathak2011,pathak2012,yoon} and in
accurately attributing energy consumption, even for asynchronous and shared
resources~\cite{cinder-eurosys11,osdi08-quanto}. Accurate energy models bring
us closer to the goal of effective energy management on battery-constrained
devices.
|
|
|
14
|
|
|
|
15
16
17
18
19
|
But accurate energy measurement alone is not enough, because even
perfectly-accurate measurements of energy consumption are insufficient to
answer critical energy-related questions faced by users and developers,
including:
%
|
|
|
20
21
22
23
|
\begin{itemize}
\item Which of the following two apps is more energy efficient?
|
|
|
24
|
\item Will this change to an app make it more energy efficient?
|
|
|
25
|
|
|
|
26
|
\item Is a particular app an \textit{energy virus}?
|
|
|
27
28
29
30
31
|
\item How should the limited energy resources on a given app be prioritized?
\end{itemize}
|
|
|
32
33
34
|
Unifying all of these questions is one missing component: a measure of app
\textit{value}, which can be used alone or combined with energy consumption
to compute energy \textit{efficiency}:
|
|
|
35
36
37
38
39
40
41
|
%
\[\frac{value}{energy} \]
%
Armed with a measure of value we can return to the difficult questions posed
above. By computing efficiency users can perform apples-to-apples comparisons
of apps in order to evaluate two video conferencing tools, web browsers, or
email clients. Developers can determine whether a new feature delivers value
|
|
|
42
|
more or less efficiently than the rest of their app and better understand the
|
|
|
43
|
differences in energy consumption across different users. Measuring value
|
|
|
44
45
|
allows a rigorous definition of an \textit{energy virus} as an app that
delivers little or no value per joule, and for systems to reward efficient
|
|
|
46
47
48
49
|
apps by prioritizing limited resources based on app value or energy
efficiency. After all the progress we have made in computing the
denominator---energy consumption---we believe that the search for the missing
numerator is the most important open challenge in energy management.
|
|
|
50
51
52
53
54
55
56
57
|
Developing such a measure, however, is difficult. To be effective it must
work across almost the entire spectrum of smartphone apps, which represent an
incredible diversity of different goals, interfaces, and interaction
patterns. It must also work across a variety of different users with
different usage patterns. It must be efficient to compute, since it should
not compete for the same limited energy resources that it is intended to help
manage. Ideally it should require little to no user input, since this will
|
|
|
58
|
make it burdensome and error-prone. And to make matters worse, there is no
|
|
|
59
|
obvious way to measure ground truth to compare against---even in a lab.
|
|
|
60
61
62
63
|
Despite all these challenges, however, even a semi-accurate value measure
would greatly benefit energy management on battery-constrained smartphones.
With users continuing to report battery lifetime as their top concern with
smartphones~\cite{jdpowerbatterylife-url}, we believe this effort is
|
|
|
64
65
66
|
worthwhile.
In this paper we motivate the idea of a value measure and describe an early
|
|
|
67
68
69
70
71
|
failure at developing one. We begin in Section~\ref{sec-usage} by describing
how useful such a measure would be while also formulating design requirements
for the value measure itself. Section~\ref{sec-measure} presents an overview
of possible inputs into such a measure and discussion of how each could be
measured and how useful it might be. In Section~\ref{sec-results} we present
|
|
|
72
|
our initial effort at formulating a value measure based on content delivered through the video
|
|
|
73
74
75
|
display and audio output---an attempt that we consider a failure based on the
result of a user survey, but a failure that we hope sheds some light on this
difficult challenge.
|