Skip to content

Long running tessts in sleep mode #604

Open
@hannesa2

Description

@hannesa2

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 image 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions