Issue
I need to know in my script whether or not the device's screen is off. Is there any simple command to obtain such information using ADB?
Solution
dumpsys power | grep mScreenOn
Answered By - Alex P.
I need to know in my script whether or not the device's screen is off. Is there any simple command to obtain such information using ADB?
dumpsys power | grep mScreenOn
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.