Detecting Wake Lock Leaks in Android Apps Using Machine Learningopen access
- Authors
- Khan, Muhammad Umair; Lee, Scott Uk Jin; Abbas, Shanza; Abbas, Asad; Bashir, Ali Kashif
- Issue Date
- Sep-2021
- Publisher
- Institute of Electrical and Electronics Engineers Inc.
- Keywords
- Android apps; call graphs; over sampling; support vector machine; wake lock
- Citation
- IEEE Access, v.9, pp 125753 - 125767
- Pages
- 15
- Indexed
- SCIE
SCOPUS
- Journal Title
- IEEE Access
- Volume
- 9
- Start Page
- 125753
- End Page
- 125767
- URI
- https://scholarworks.bwise.kr/erica/handle/2021.sw.erica/113860
- DOI
- 10.1109/ACCESS.2021.3110244
- ISSN
- 2169-3536
- Abstract
- The popularity of Android devices has increased exponentially with an increase in the number of mobile devices. Millions of online apps are used in these devices. Energy consumption of a device is a major concern for end-users, who want a long usage time on a single battery charge. The energy consumed by the app must be optimized by developers, and the available APIs must be used carefully. A wake-lock is used in apps to control the power state of the Android device and often leads to energy leakage. In this study, we detected wake-lock leaks in Android apps using machine learning. We pre-processed apps by extracting wake-lock related APIs to obtain the structural information of wake-lock usage and oversampled the data using the synthetic minority oversampling technique (SMOTE) to balance the dataset. The machine learning algorithms used to detect wake-lock leaks were first optimized using grid search to determine the best parameters. These parameters were then used in training to detect wake-lock leaks in these apps. We employed various machine learning algorithms and divided them into simple and ensemble algorithms to evaluate their efficacy. The support vector machine (SVM) and stochastic gradient boosting (SGB) were the most effective, producing 97 % and 98 % accuracy, respectively.
- Files in This Item
-
Go to Link
- Appears in
Collections - COLLEGE OF COMPUTING > ERICA 컴퓨터학부 > 1. Journal Articles
![qrcode](https://api.qrserver.com/v1/create-qr-code/?size=55x55&data=https://scholarworks.bwise.kr/erica/handle/2021.sw.erica/113860)
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.