Evaluating Impact of Cross-platform Frameworks in Energy Consumption of Mobile Applications

Matteo Ciman, Ombretta Gaggi

2014

Abstract

In this paper we analyze energy consumption of mobile applications using different smartphones sensors, e.g., GPS, accelerometer, etc., and features, e.g., acquiring video or audio from the environment. In particular, we have studied how the use of frameworks for mobile cross-platform development may influence the amount of required energy for the same operation. We use an hardware and software tool to measure energy consumption of the same application, using different sensors, when developed natively or using two frameworks, Titanium and PhoneGap. Our experiments have shown that frameworks have a significant impact on energy consumption which greatly increases compared to an equal native application. Moreover, the amount of consumed energy is not the same for all frameworks.

References

  1. Apache Software Foundation (2013). Phonegap, http:// phonegap.com/.
  2. Appcelerator Inc. (2013a). Titanium, http:// www.appcelerator.com/platform/titanium-platform/.
  3. Appcelerator Inc. (2013b). Titanium Mobile Kitchen Sink Demo, https://github.com/appcelerator/KitchenSink.
  4. Balasubramanian, N., Balasubramanian, A., and Venkataramani, A. (2009). Energy consumption in mobile phones: a measurement study and implications for network applications. In Proceedings of the 9th ACM SIGCOMM conference on Internet Measurement Conference, IMC 7809, pages 280-293.
  5. Bloom, L., Eardley, R., Geelhoed, E., Manahan, M., and Ranganathan, P. (2004). Investigating the relationship between battery life and user acceptance of dynamic, energy-aware interfaces on handhelds. In Proceedings of the International Conference Human Computer Interaction with Mobile Devices & Services, pages 13- 24.
  6. Charland, A. and Leroux, B. (2011). Mobile application development: web vs. native. Communications of ACM, 54(5):49-53.
  7. Ciman, M., Gaggi, O., and Gonzo, N. (2014). Crossplatform mobile development: A study on apps with animations. In Proceedings of the 29th Annual ACM Symposium on Applied Computing, SAC'14.
  8. Firtman, M. (2012). jQuery Mobile: Up and Running - Using HTML5 to Design Web Apps for Tablets and Smartphones. O'Reilly Media.
  9. Firtman, M. (2013). jquery mobile, http://jquerymobile.com/.
  10. Flinn, J. and Satyanarayanan, M. (1999a). Energy-aware adaptation for mobile applications. In Proceedings of the seventeenth ACM Symposium on Operating Systems Principles, SOSP 7899, pages 48-63.
  11. Flinn, J. and Satyanarayanan, M. (1999b). Powerscope: A tool for profiling the energy usage of mobile applications. In Proceedings of the Second IEEE Workshop on Mobile Computer Systems and Applications, WMCSA 7899, Washington, DC, USA. IEEE Computer Society.
  12. Heitkötter, H., Hanschke, S., and Majchrzak, T. (2013). Evaluating cross-platform development approaches for mobile applications. In Cordeiro, J. and Krempels, K.-H., editors, Web Information Systems and Technologies, volume 140 of Lecture Notes in Business Information Processing, pages 120-138. Springer Berlin Heidelberg.
  13. Kurka, D. (2013). mgwt - Making gwt Work with Mobile. http://www.m-gwt.com/.
  14. Mittal, R., Kansal, A., and Chandra, R. (2012). Empowering developers to estimate app energy consumption. In Proceedings of the 18th annual International Conference on Mobile Computing and Networking, MobiCom 7812, pages 317-328.
  15. Monologue Inc. (2013). Mono framework, http://www. mono-project.com/.
  16. Monsoon Solutions Inc. (2013). http://www.msoon.com/ LabEquipment/PowerMonitor/.
  17. MoSync Inc. (2013). MoSync http://www.mosync.com.
  18. Motorola Solutions, Inc (2013). Rhodes http://www.motorolasolutions.com/us-en/rhomobile+ suite/rhodes.
  19. Palmieri, M., Singh, I., and Cicchetti, A. (2012). Comparison of cross-platform mobile development tools. In 16th International Conference on Intelligence in Next Generation Networks, ICIN 7812, pages 179-186.
  20. Panacoda GmbH. (2013). The-m-project http://www.them-project.org/.
  21. Pathak, A., Hu, Y. C., and Zhang, M. (2012a). 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 7812, pages 29-42.
  22. Pathak, A., Jindal, A., Hu, Y. C., and Midkiff, S. P. (2012b). What is keeping my phone awake?: Characterizing and detecting no-sleep energy bugs in smartphone apps. In Proceedings of the 10th International Conference on Mobile Systems, Applications, and Services, MobiSys 7812, pages 267-280.
  23. Raj, R. and Tolety, S. (2012). A study on approaches to build cross-platform mobile applications and criteria to select appropriate approach. In Annual IEEE India Conference, INDICON 7812, pages 625-629.
  24. Sencha Inc. (2013). Sencha touch, http://www.sencha. com/products/touch.
  25. Seregon Solutions Inc. (2013). dragonrad http://dragonrad. com/.
  26. Thompson, C., Schmidt, D. C., Turner, H. A., and White, J. (2011). Analyzing mobile application software power consumption via model-driven engineering. In Benavente-Peces, C. and Filipe, J., editors, PECCS, pages 101-113. SciTePress.
  27. Yoon, C., Kim, D., Jung, W., Kang, C., and Cha, H. (2012). Appscope: Application energy metering framework for android smartphones using kernel activity monitoring. In Proceedings of the 2012 USENIX Conference on Annual Technical Conference, USENIX ATC'12, pages 36-36, Berkeley, CA, USA. USENIX Association.
Download


Paper Citation


in Harvard Style

Ciman M. and Gaggi O. (2014). Evaluating Impact of Cross-platform Frameworks in Energy Consumption of Mobile Applications . In Proceedings of the 10th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST, ISBN 978-989-758-023-9, pages 423-431. DOI: 10.5220/0004857604230431


in Bibtex Style

@conference{webist14,
author={Matteo Ciman and Ombretta Gaggi},
title={Evaluating Impact of Cross-platform Frameworks in Energy Consumption of Mobile Applications},
booktitle={Proceedings of the 10th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,},
year={2014},
pages={423-431},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004857604230431},
isbn={978-989-758-023-9},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 10th International Conference on Web Information Systems and Technologies - Volume 1: WEBIST,
TI - Evaluating Impact of Cross-platform Frameworks in Energy Consumption of Mobile Applications
SN - 978-989-758-023-9
AU - Ciman M.
AU - Gaggi O.
PY - 2014
SP - 423
EP - 431
DO - 10.5220/0004857604230431