Open
Description
A test is missing for receive messages in sleep mode.
To archive this, the test needs to send device to sleep
manual task
Go to Settings
Go to Developer options
Un-check Stay awake (3rd option from the top)
The emulator will go to sleep after 1 min (default setting) if not changed.
Press the power button to wake up the emulator.
command line
To put the device to sleep using command line, run: adb shell input keyevent 223
To wake the device from sleep using command line, run: adb shell input keyevent 224
For more info about key events you can send with ADB, check out the KEYCODE_... constants for KeyEvent,
Metadata
Metadata
Assignees
Labels
No labels