Wake Lock Leak Detection in Android Apps Using Multi-Layer Perceptronopen access
- Authors
- Khan, Muhammad Umair; Lee, Scott Uk-Jin; Wu, Zhiqiang; Abbas, Shanza
- Issue Date
- Sep-2021
- Publisher
- MDPI AG
- Keywords
- wake lock; Android; oversampling; power consumption; multi-layer perceptron
- Citation
- Electronics (Basel), v.10, no.18, pp 1 - 22
- Pages
- 22
- Indexed
- SCIE
SCOPUS
- Journal Title
- Electronics (Basel)
- Volume
- 10
- Number
- 18
- Start Page
- 1
- End Page
- 22
- URI
- https://scholarworks.bwise.kr/erica/handle/2021.sw.erica/108218
- DOI
- 10.3390/electronics10182211
- ISSN
- 2079-9292
2079-9292
- Abstract
- With the proliferation of mobile devices, the popularity of Android applications (apps) has increased exponentially. Efficient power consumption in a device is essential from the perspective of the user because users want their devices to work all day. Developers must properly utilize the application programming interfaces (APIs) provided by Android software development kit to optimize the power consumption of their app. Occasionally, developers fail to relinquish the resources required by their app, resulting in a resource leak. Wake lock APIs are used in apps to manage the power state of the Android smartphone, and they frequently consume more power than necessary if not used appropriately (also called energy leak). In this study, we use a multi-layer perceptron (MLP) to detect wake lock leaks in Android apps because the MLP can solve complex problems and determine similarities in graphs. To detect wake lock leaks, we extract the call graph as features from the APK and embed the instruction and neighbor information in the node's label of the call graph. Then, the encoded data are input to an MLP model for training and testing. We demonstrate that our model can identify wake lock leaks in apps with 99% accuracy.
- 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/108218)
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.