作者: Panagiotis Vekris , Ranjit Jhala , Yuvraj Agarwal , Sorin Lerner
DOI:
关键词:
摘要: The Android OS conserves battery life by aggressively turning off components, such as screen and GPS, while allowing application developers to explicitly prevent part of this behavior using the WakeLock API. Unfortunately, inherent complexity programming model developer errors often lead improper use Wake-Locks that manifests no-sleep bugs. To mitigate problem, we have implemented a tool verifies absence kind energy bugs w.r.t. set Wake-Lock specific policies precise, inter-procedural data flow analysis framework enforce them. We run our on 328 apps utilize WakeLocks, verify 145 them shed light locking patterns employed when these can be harmful. Further, identify challenges remain in order make verification even more precise.