Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[Q] ADB and wakelocks

$
0
0
Is it possible to determine from ADB what process holds a wakelock. In particular I'm interested in what process on my Samsung S4 GT9505 running 4.3 is holding the wifi multicast wakelock, ie if any app is using WifiManager.MulticastLock

http://developer.android.com/referen...icastLock.html

I'm trying to debug standby power drain -- it's wifi wakelocks. I've quietened my home network has best I can, but I'm interested in whether
a) the stock kernel leaves multicast enabled even in standby (unlike the nexus)
AND/OR
b) Any app - perhaps stock bloatware - has acquired the multicast wakelock

I couldn't see anything in logcat, but perhaps if I knew what I was looking for...

Tips welcome.

Note - I'm not rooted. Mostly due to needing to use apps that have too good root detection (sky go)

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>