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

被引:1
|
作者
Groza, Claudiu [1 ]
Dumitru-Cristian, Apostol [1 ]
Marcu, Marius [1 ]
Bogdan, Razvan [1 ]
机构
[1] Polyethn Univ Timisoara, Fac Automat & Comp, Timisoara 300006, Romania
关键词
power consumption; software design patterns; bad patterns; energy code smells;
D O I
10.3390/s24196469
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
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.
引用
收藏
页数:15
相关论文
共 50 条
  • [21] Measuring power consumption in mobile devices for energy sustainable app development: A comparative study and challenges
    Khan, Muhammad Umair
    Abbas, Shanza
    Lee, Scott Uk-Jin
    Abbas, Asad
    SUSTAINABLE COMPUTING-INFORMATICS & SYSTEMS, 2021, 31
  • [22] Adoption of Third-party Libraries in Mobile Apps: A Case Study on Open-source Android Applications
    Polese, Aidan
    Hassan, Safwat
    Tian, Yuan
    9TH IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS, MOBILESOFT 2022, 2022, : 125 - 135
  • [23] Assessing employment in renewable energy technologies: A case study for wind power in Brazil
    Simas, Moana
    Pacca, Sergio
    RENEWABLE & SUSTAINABLE ENERGY REVIEWS, 2014, 31 : 83 - 90
  • [24] Toward using Software Metrics as Indicator to Measure Power Consumption of Mobile Application: A Case Study
    Keong, Ching Kin
    Wei, Koh Tieng
    Abd Ghani, Abdul Azim
    Sharif, Khaironi Yatim
    2015 9TH MALAYSIAN SOFTWARE ENGINEERING CONFERENCE (MYSEC2015), 2015, : 172 - 177
  • [25] Assessing Energy Generation and Consumption Patterns in Times of Crisis: COVID-19 as a Case Study
    Ofir, Ron
    Zargari, Noa
    Navon, Aviad
    Levron, Yoash
    Belikov, Juni
    2021 IEEE MADRID POWERTECH, 2021,
  • [26] Energy Consumption and Saved Emissions of a Hydrogen Power System for Ultralight Aviation: A Case Study
    Donateo, Teresa
    Bonatesta, Andrea Graziano
    Ficarella, Antonio
    Lecce, Leonardo
    ENERGIES, 2024, 17 (13)
  • [27] Sea Water Desalination and Energy Consumption: A Case Study of Wave Energy Converters (WEC) to Desalination Applications in Sicily
    Viola, A.
    Curto, D.
    Franzitta, V.
    Trapanese, M.
    OCEANS 2016 MTS/IEEE MONTEREY, 2016,
  • [28] Optimization of energy consumption in residential housing within the framework of energy sustainability strategies. A case study in the Canary Islands
    Espino-Gonzalez, Francisco
    Armas-Cabrera, Mariaeugenia
    Montesdeoca-Martinez, Fernando
    Velazquez-Medina, Sergio
    JOURNAL OF BUILDING ENGINEERING, 2024, 94
  • [29] MobDL: A Framework for Profiling Deep Learning Models: A Case Study using Mobile Digital Health Applications
    Forkan, Abdur Rahim Mohammad
    Jayaraman, Prem Prakash
    Kaul, Rohit
    Zhang, Yuxin
    McCarthy, Chris
    Haghighi, Pari Delir
    Ranjan, Rajiv
    PROCEEDINGS OF THE 17TH EAI INTERNATIONAL CONFERENCE ON MOBILE AND UBIQUITOUS SYSTEMS: COMPUTING, NETWORKING AND SERVICES (MOBIQUITOUS 2020), 2021, : 405 - 414
  • [30] A methodological framework for optimizing the energy consumption of deep neural networks: a case study of a cyber threat detector
    Karamchandani A.
    Mozo A.
    Gómez-Canaval S.
    Pastor A.
    Neural Computing and Applications, 2024, 36 (17) : 10297 - 10338