Reputation: 344
I'm writing an app to find all the wake locks which are acquired and the time in which they were active? Is there any android SDK API available to get this information?
Answers in below qn suggests to get the information using proc through adb shell. Is it the only way to fetch the wakelock information or is there any workaround to get it in android framework?
How can I see which wakelocks are active
Upvotes: 1
Views: 1107
Reputation: 1006644
Is there any android SDK API available to get this information?
Not at the present time.
Upvotes: 2