Next Article in Journal
STORMS: A Pilot Feasibility Study for Occupational TeleRehabilitation in Multiple Sclerosis
Previous Article in Journal
An Improved YOLOv8-Based Foreign Detection Algorithm for Transmission Lines
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

A Developer-Oriented Framework for Assessing Power Consumption in Mobile Applications: Android Energy Smells Case Study

Faculty of Automation and Computers, Polyethnic University of Timisoara, 300006 Timisoara, Romania
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(19), 6469; https://doi.org/10.3390/s24196469 (registering DOI)
Submission received: 22 August 2024 / Revised: 26 September 2024 / Accepted: 4 October 2024 / Published: 7 October 2024
(This article belongs to the Section Wearables)

Abstract

Currently, people spend a lot of time using their mobile devices. With such ubiquity of mobile devices in our daily life, battery capacity and quality are of utmost importance. Running software applications (called apps) are one of the major factors influencing the power consumption in mobile devices. In order to meet user needs, mobile apps are becoming inherently complex and resource greedy. Therefore, fulfilling these requirements at the pace imposed by the market may degrade software construction quality and insert so-called energy code smells: bad patterns in the source code of an app that indicate a deeper problem and adversely affect power consumption. This work proposes a developer-oriented framework for identifying and fixing patterns via analyzing different application code flavors in a user-driven test scenario. A special app was designed in order to validate the Android implementation of the proposed methodology. The study results have shown significant improvement regarding energy efficiency after correcting one or more energy code smells, with a 4 to 30 percent decrease in battery drain. Additionally, the power consumption signature term is defined in the context of mobile applications. This paper presents a developer-oriented framework for assessing power consumption in mobile applications. Our key contributions include identifying significant energy code smells, demonstrating their impact on power consumption, and providing a toolset for developers to improve energy efficiency.
Keywords: power consumption; software design patterns; bad patterns; energy code smells power consumption; software design patterns; bad patterns; energy code smells

Share and Cite

MDPI and ACS Style

Groza, C.; Dumitru-Cristian, A.; Marcu, M.; Bogdan, R. A Developer-Oriented Framework for Assessing Power Consumption in Mobile Applications: Android Energy Smells Case Study. Sensors 2024, 24, 6469. https://doi.org/10.3390/s24196469

AMA Style

Groza C, Dumitru-Cristian A, Marcu M, Bogdan R. A Developer-Oriented Framework for Assessing Power Consumption in Mobile Applications: Android Energy Smells Case Study. Sensors. 2024; 24(19):6469. https://doi.org/10.3390/s24196469

Chicago/Turabian Style

Groza, Claudiu, Apostol Dumitru-Cristian, Marius Marcu, and Razvan Bogdan. 2024. "A Developer-Oriented Framework for Assessing Power Consumption in Mobile Applications: Android Energy Smells Case Study" Sensors 24, no. 19: 6469. https://doi.org/10.3390/s24196469

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop