Title :
WLCleaner: Reducing Energy Waste Caused by WakeLock Bugs at Runtime
Author :
Xigui Wang ; Xianfeng Li ; Wen Wen
Author_Institution :
Eng. Lab. on Intell. Perception for Internet of Things, Peking Univ., Shenzhen, China
Abstract :
Energy consumption is a first-order concern for battery-driven smartphones. To maximize battery life, Android employs an aggressive Power Management policy. The WakeLock mechanism is the key feature of Android Power Management, which allows application developers to explicitly prevent the critical resources including CPU, screen and keyboard from entering sleep state using WakeLock API. If abused, the application can drain the battery at a fast rate even when the application is not running. Unfortunately, the current programming environment of Android does not offer a reliable facility to identify Wakelock bugs in programs. To solve this problem, we have implemented a novel tool called WLCleaner that can detect WakeLock bugs and automatically handle it at runtime to minimize the power waste for users. We evaluate WLCleaner with real-world applications running on two Android smartphones, and the results show that when WakeLock bugs are removed by WLCleaner, the energy consumption at screen-off time is reduced by half.
Keywords :
Android (operating system); application program interfaces; battery management systems; energy consumption; power aware computing; program debugging; programming environments; smart phones; telecommunication power management; Android power management; Android smartphone; CPU; WLCleaner; WakeLock API; WakeLock bugs; WakeLock mechanism; Wakelock bugs; battery life; battery-driven smartphone; energy consumption; energy waste; keyboard; power management policy; power waste; programming environment; screen-off time; sleep state; Androids; Batteries; Computer bugs; Humanoid robots; Kernel; Linux; Smart phones; Android; Power Management; WakeLock;
Conference_Titel :
Dependable, Autonomic and Secure Computing (DASC), 2014 IEEE 12th International Conference on
Conference_Location :
Dalian
Print_ISBN :
978-1-4799-5078-2
DOI :
10.1109/DASC.2014.83