本文已被:浏览 2204次 下载 3974次
Received:June 03, 2018 Revised:June 27, 2018
Received:June 03, 2018 Revised:June 27, 2018
中文摘要: Android操作系统提供了唤醒锁机制用于避免系统进入休眠状态.但若存在唤醒锁的误用,将导致设备能耗的加剧并严重影响用户体验.本文分析总结了常见的唤醒锁误用类型及原因,并实现了一款安卓应用,用以检测当前系统中持有唤醒锁的进程,并根据某些策略释放误用的唤醒锁.结合具体实机测试数据,本文提出的检测机制及功耗优化方法,可有效降低功耗,提高用户体验.
Abstract: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.
文章编号: 中图分类号: 文献标志码:
基金项目:苏州市科技计划项目(SYG201731)
引用文本:
来庆波,陈博,茆蕾,汪福翔,司俊超.Android唤醒锁检测及功耗优化机制.计算机系统应用,2019,28(1):256-261
LAI Qing-Bo,CHEN Bo,MAO Lei,WANG Fu-Xiang,SI Jun-Chao.Detection and Optimization of WakeLock on Android Platform.COMPUTER SYSTEMS APPLICATIONS,2019,28(1):256-261
来庆波,陈博,茆蕾,汪福翔,司俊超.Android唤醒锁检测及功耗优化机制.计算机系统应用,2019,28(1):256-261
LAI Qing-Bo,CHEN Bo,MAO Lei,WANG Fu-Xiang,SI Jun-Chao.Detection and Optimization of WakeLock on Android Platform.COMPUTER SYSTEMS APPLICATIONS,2019,28(1):256-261