applications running on Android-based mobile
devices. The environment utilizes a National
Instruments battery simulator which provides an
unobtrusive, high-resolution (down to 1 µA) and
high-frequency sampling (down to 5 µs) of the
current drawn by a mobile device. Our custom
program mLViewPowerProfile running on a
workstation interfaces both the mobile device under
test and the battery simulator to synchronize the
collection of samples from the battery simulator and
running applications on the mobile device.
mLViewPowerProfile connects to the mobile device
over Android debug interface and runs script
commands to allow for a full automation of profiling
with no user intervention.
The paper describes several approaches to
profiling Android applications that give software
developers and researchers an opportunity to gain a
deeper insight into application power requirements.
Finally, we present number of case studies that
demonstrate capabilities of the proposed setup and
its usefulness in increasing energy-efficiency of
mobile devices.
ACKNOWLEDGEMENTS
This work has been supported in part by National
Science Foundation grants CNS-1205439 and CNS-
1217470.
REFERENCES
Bircher, W.L., John, L.K., 2012. Complete System Power
Estimation Using Processor Performance Events.
IEEE Trans. Comput. 61, 563 –577.
doi:10.1109/TC.2011.47.
Carroll, A., Heiser, G., 2010. An analysis of power
consumption in a smartphone, in: Proceedings of the
2010 USENIX Conference on USENIX Annual
Technical Conference, USENIXATC’10. USENIX
Association, Berkeley, CA, USA, pp. 21–21.
Cisco, 2016. Cisco Visual Networking Index: Global
Mobile Data Traffic Forecast Update, 2015–2020
White Paper [WWW Document]. Cisco. URL
http://cisco.com/c/en/us/solutions/collateral/service-
provider/visual-networking-index-vni/mobile-white-
paper-c11-520862.html (accessed 2.13.16).
CyanogenMod, 2014. CyanogenMod | Android
Community Operating System [WWW Document].
URL http://www.cyanogenmod.org/ (accessed
6.14.14).
Gartner, Inc., 2016. Worldwide Device Shipments to
Grow 1.9 Percent in 2016, While End-User Spending
to Decline for the First Time [WWW Document].
URL http://www.gartner.com/newsroom/id/3187134
(accessed 2.13.16).
Google, 2015. Android Debug Bridge | Android
Developers [WWW Document]. URL
http://developer.android.com/tools/help/adb.html
(accessed 6.14.15).
Google, 2014a. Nexus - Google [WWW Document]. URL
http://www.google.com/intl/all/nexus (accessed
6.15.14).
Google, 2014b. Android [WWW Document]. URL
http://www.android.com/ (accessed 6.20.14).
Google, 2014c. Log | Android Developers [WWW
Document]. URL http://developer.android.com/
reference/android/util/Log.html (accessed 8.3.14).
IDC, 2016. Apple, Huawei, and Xiaomi Finish 2015 with
Above Average Year-Over-Year Growth, as
Worldwide Smartphone Shipments Surpass 1.4 Billion
for the Year, According to IDC [WWW Document].
www.idc.com. URL http://www.idc.com/getdoc.jsp?
containerId=prUS40980416 (accessed 2.13.16).
Li, T., John, L.K., 2003. Run-time modeling and
estimation of operating system power consumption.
SIGMETRICS Perform Eval Rev 31, 160–171.
doi:10.1145/885651.781048.
Milenkovic, A., Dzhagaryan, A., Burtscher, M., 2013.
Performance and Energy Consumption of Lossless
Compression/Decompression Utilities on Mobile
Computing Platforms, in: Modeling, Analysis
Simulation of Computer and Telecommunication
Systems (MASCOTS), 2013 IEEE 21st International
Symposium on. pp. 254–263.
doi:10.1109/MASCOTS.2013.33.
Milenkovic, A., Milenkovic, M., Jovanov, E., Hite, D.,
Raskovic, D., 2005. An environment for runtime
power monitoring of wireless sensor network
platforms, in: System Theory, 2005. SSST’05.
Proceedings of the Thirty-Seventh Southeastern
Symposium on. pp. 406–410.
Milosevic, M., Dzhagaryan, A., Jovanov, E., Milenković,
A., 2013. An Environment for Automated Power
Measurements on Mobile Computing Platforms, in:
Proceedings of the 51st ACM Southeast Conference,
ACMSE ’13. ACM, New York, NY, USA, p. 6.
doi:10.1145/2498328.2500064.
NI, 2014a. NI PXIe-4154 - National Instruments [WWW
Document]. URL
http://sine.ni.com/nips/cds/view/p/lang/en/nid/209090
(accessed 6.20.14).
NI, 2014b. NI PXIe-1073 - National Instruments [WWW
Document]. URL http://sine.ni.com/nips/cds/view/
p/lang/en/nid/207401 (accessed 6.20.14).
Pathak, A., Hu, Y.C., Zhang, M., 2012. Where is the
energy spent inside my app?: fine grained energy
accounting on smartphones with Eprof, in:
Proceedings of the 7th ACM European Conference on
Computer Systems, EuroSys ’12. ACM, New York,
NY, USA, pp. 29–42. doi:10.1145/2168836.2168841.
Pathak, A., Hu, Y.C., Zhang, M., Bahl, P., Wang, Y.-M.,
2011. Fine-grained power modeling for smartphones
using system call tracing, in: Proceedings of the Sixth