摘要
Android操作系统提供了唤醒锁机制用于避免系统进入休眠状态.但若存在唤醒锁的误用,将导致设备能耗的加剧并严重影响用户体验.本文分析总结了常见的唤醒锁误用类型及原因,并实现了一款安卓应用,用以检测当前系统中持有唤醒锁的进程,并根据某些策略释放误用的唤醒锁.结合具体实机测试数据,本文提出的检测机制及功耗优化方法,可有效降低功耗,提高用户体验.
The Android PowerManager provides a programming interface called WakeLock to protect critical computation from system hibernation.The WakeLock acquisition and release in the application can have a significant impact on power dissipation.However,the misuse of WakeLock increases the energy dissipation of the device and seriously affects the user experience.This article analyzes and summarizes the types and causes of WakeLock misuse.Furthermore,we developed an Android application that can detect and optimize the WakeLock misuses to reduce the power dissipation.
作者
来庆波
陈博
茆蕾
汪福翔
司俊超
LAI Qing-Bo;CHEN Bo;MAO Lei;WANG Fu-Xiang;SI Jun-Chao(School of Software Engineering, University of Science and Technology of China (Suzhou Institutes, University of Science andTechnology of China), Suzhou 215123, China)
出处
《计算机系统应用》
2019年第1期256-261,共6页
Computer Systems & Applications
基金
苏州市科技计划项目(SYG201731)~~
关键词
安卓休眠机制
唤醒锁误用
唤醒锁检测
功耗优化
Android PowerManager
WakeLock misuse
WakeLock detection
power optimization