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
To see active wake-locks run :
adb shell dumpsys power|grep -i wake
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