How Android app developers manage power consumption? An empirical study by mining power management commits

As Android platform becomes more and more popular, a large amount of Android applications have been developed. When developers design and implement Android applications, power consumption management is an important factor to consider since it affects the usability of the applications. Thus, it is im...

Full description

Saved in:
Bibliographic Details
Main Authors: BAO, Lingfeng, David LO, XIA, Xin, WANG, Xinyu, TIAN, Cong
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2016
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/3563
https://ink.library.smu.edu.sg/context/sis_research/article/4564/viewcontent/How_Android_app_developers_manage_power_consumption__1_.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-4564
record_format dspace
spelling sg-smu-ink.sis_research-45642018-12-05T04:30:51Z How Android app developers manage power consumption? An empirical study by mining power management commits BAO, Lingfeng David LO, XIA, Xin WANG, Xinyu TIAN, Cong As Android platform becomes more and more popular, a large amount of Android applications have been developed. When developers design and implement Android applications, power consumption management is an important factor to consider since it affects the usability of the applications. Thus, it is important to help developers adopt proper strategies to manage power consumption. Interestingly, today, there is a large number of Android application repositories made publicly available in sites such as GitHub. These repositories can be mined to help crystalize common power management activities that developers do. These in turn can be used to help other developers to perform similar tasks to improve their own Android applications. In this paper, we present an empirical study of power management commits in Android applications. Our study extends that of Moura et al. who perform an empirical study on energy aware commits; however they do not focus on Android applications and only a few of the commits that they study come from Android applications. Android applications are often different from other applications (e.g., those running on a server) due to the issue of limited battery life and the use of specialized APIs. As subjects of our empirical study, we obtain a list of open source Android applications from F-Droid and crawl their commits from Github. We get 468 power management commits after we filter the commits using a set of keywords and by performing manual analysis. These 468 power management commits are from 154 different Android applications and belong to 15 different application categories. Furthermore, we use open card sort to categorize these power management commits and we obtain 6 groups which correspond to different power management activities. Our study also reveals that for different kinds of Android application (e.g., Games, Connectivity, Navigation, Internet, Phone & SMS, Time, etc.), the dominant power management activities differ. For example, the percentage of power management commits belonging to Power Adaptation activity is larger for Navigation applications than those belonging to other categories. 2016-05-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/3563 info:doi/10.1145/2901739.2901748 https://ink.library.smu.edu.sg/context/sis_research/article/4564/viewcontent/How_Android_app_developers_manage_power_consumption__1_.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Empirical study Mining software repository Power consumption Power management Communication Technology and New Media Technology and Innovation
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Empirical study
Mining software repository
Power consumption
Power management
Communication Technology and New Media
Technology and Innovation
spellingShingle Empirical study
Mining software repository
Power consumption
Power management
Communication Technology and New Media
Technology and Innovation
BAO, Lingfeng
David LO,
XIA, Xin
WANG, Xinyu
TIAN, Cong
How Android app developers manage power consumption? An empirical study by mining power management commits
description As Android platform becomes more and more popular, a large amount of Android applications have been developed. When developers design and implement Android applications, power consumption management is an important factor to consider since it affects the usability of the applications. Thus, it is important to help developers adopt proper strategies to manage power consumption. Interestingly, today, there is a large number of Android application repositories made publicly available in sites such as GitHub. These repositories can be mined to help crystalize common power management activities that developers do. These in turn can be used to help other developers to perform similar tasks to improve their own Android applications. In this paper, we present an empirical study of power management commits in Android applications. Our study extends that of Moura et al. who perform an empirical study on energy aware commits; however they do not focus on Android applications and only a few of the commits that they study come from Android applications. Android applications are often different from other applications (e.g., those running on a server) due to the issue of limited battery life and the use of specialized APIs. As subjects of our empirical study, we obtain a list of open source Android applications from F-Droid and crawl their commits from Github. We get 468 power management commits after we filter the commits using a set of keywords and by performing manual analysis. These 468 power management commits are from 154 different Android applications and belong to 15 different application categories. Furthermore, we use open card sort to categorize these power management commits and we obtain 6 groups which correspond to different power management activities. Our study also reveals that for different kinds of Android application (e.g., Games, Connectivity, Navigation, Internet, Phone & SMS, Time, etc.), the dominant power management activities differ. For example, the percentage of power management commits belonging to Power Adaptation activity is larger for Navigation applications than those belonging to other categories.
format text
author BAO, Lingfeng
David LO,
XIA, Xin
WANG, Xinyu
TIAN, Cong
author_facet BAO, Lingfeng
David LO,
XIA, Xin
WANG, Xinyu
TIAN, Cong
author_sort BAO, Lingfeng
title How Android app developers manage power consumption? An empirical study by mining power management commits
title_short How Android app developers manage power consumption? An empirical study by mining power management commits
title_full How Android app developers manage power consumption? An empirical study by mining power management commits
title_fullStr How Android app developers manage power consumption? An empirical study by mining power management commits
title_full_unstemmed How Android app developers manage power consumption? An empirical study by mining power management commits
title_sort how android app developers manage power consumption? an empirical study by mining power management commits
publisher Institutional Knowledge at Singapore Management University
publishDate 2016
url https://ink.library.smu.edu.sg/sis_research/3563
https://ink.library.smu.edu.sg/context/sis_research/article/4564/viewcontent/How_Android_app_developers_manage_power_consumption__1_.pdf
_version_ 1770573329365729280