# Zephyr: Simple, Ready-to-use Software-based Power Evaluation for Background Sensing Smartphone Applications

### http://www2.eecs.berkeley.edu/Pubs/TechRpts/2018/EECS-2018-168.pdf

Innovations in mobile hardware and software need corresponding advances in the accurate assessment of power consumption under realistic conditions. This is especially relevant for smartphone-based background sensing applications. Assessing the power consumption of such applications requires ease of use, deployment \emph{in situ} and well-understood error characteristics.

Existing measurement methods, based on external power meters or power models, are increasingly unable to keep up with these requirements. External power meters require access to device batteries and do not capture context-sensitive power drain. Power models must be rebuilt for each specific device, adapted to each new OS version, and require administrator access to instrument fine-grained system-level APIs. These limitations impede the inclusion of accurate, universal evaluations in the research literature.

We propose a simple and portable alternative, Zephyr, which infers an application's power drain using the relative State of Charge change rate (SoCCR) via the phone's battery sensor. We validate our methodology through experiments that characterize SoCCR on Android and iOS devices and show that they are consistent with hardware readings, across identical phones, for the same phone over time and over both slowly and quickly varying workloads.

The Zephyr implementation is modular, open source, and available for Android and iOS today.

BibTeX citation:

@techreport{Shankari:EECS-2018-168,
Author = {Shankari, K. and Fürst, Jonathan and Wang, Yawen and Bonnet, Philippe and Culler, David E. and Katz, Randy H.},
Title = {Zephyr: Simple, Ready-to-use Software-based Power Evaluation for Background Sensing Smartphone Applications},
Institution = {EECS Department, University of California, Berkeley},
Year = {2018},
Month = {Dec},
URL = {http://www2.eecs.berkeley.edu/Pubs/TechRpts/2018/EECS-2018-168.html},
Number = {UCB/EECS-2018-168},
Abstract = {Innovations in mobile hardware and software need corresponding advances in the accurate assessment of power consumption under realistic conditions. This is
especially relevant for smartphone-based background sensing applications. Assessing the power consumption of such applications requires ease of use, deployment \emph{in situ} and well-understood error characteristics.

Existing measurement methods, based on external power meters or power models, are increasingly unable to keep up with these requirements. External power meters require access to device batteries and do not capture context-sensitive power
drain. Power models must be rebuilt for each specific device, adapted to each new OS version, and require administrator access to instrument fine-grained
system-level APIs. These limitations impede the inclusion of accurate, universal evaluations in the research literature.

We propose a simple and portable alternative, Zephyr, which infers an application's power drain using the relative State of Charge change rate (SoCCR) via the phone's battery sensor. We validate our methodology through experiments that characterize SoCCR on Android and iOS devices and show
that they are consistent with hardware readings, across identical phones, for the same phone over time and over both slowly and quickly varying workloads.

The Zephyr implementation is modular, open source, and available for Android and iOS today.}
}


EndNote citation:

%0 Report
%A Shankari, K.
%A Fürst, Jonathan
%A Wang, Yawen
%A Bonnet, Philippe
%A Culler, David E.
%A Katz, Randy H.
%T Zephyr: Simple, Ready-to-use Software-based Power Evaluation for Background Sensing Smartphone Applications
%I EECS Department, University of California, Berkeley
%D 2018
%8 December 13
%@ UCB/EECS-2018-168
%U http://www2.eecs.berkeley.edu/Pubs/TechRpts/2018/EECS-2018-168.html
%F Shankari:EECS-2018-168