How can I see which wakelocks are active

前端 未结 8 2130
时光说笑
时光说笑 2020-12-12 16:02

For some reason my Android phone won\'t go to sleep. I assume that a wakelock is keeping it awake, but there is no way to tell which wakelocks are active. The running servic

相关标签:
8条回答
  • 2020-12-12 16:26

    To see active wake-locks run :

    adb shell dumpsys power|grep -i wake

    0 讨论(0)
  • 2020-12-12 16:31

    You can check "Wakelock Detector" app which is available in Google Play

    It has a simple UI which shows detail list of acquired wakelocks per each application and as you mentioned, it shows active running apps on the top, which might have wakelock present at the moment.

    Wakelock detector

    0 讨论(0)
提交回复
热议问题