Is there a way to check if Android device screen is locked via adb?
<p>I know that PowerManager and/or KeyguardManager can help me check if a device screen is locked/unlocked. Is there a way to check this via adb? </p>