On Chrome device, several wake sources are expected to wake the system from sleep. Not all wake sources will turn the display back on after resume (if Dark Resume is enabled). Only wakes that are triggered by input devices will cause a full Resume (turn the display on).
This test thus makes sure that wakes from input devices cause a Full Resume. This test also makes sure that RTC triggers a Dark Resume.
The steps below describe how to run the test with a Servo V4. The steps should be similar for other Servos too.
$ sudo servo_updater
$ test_that ${DUT_ipaddr} power_WakeSources
BASE_ATTACH=SKIPPED BASE_DETACH=SKIPPED INTERNAL_KB=PASS LID_OPEN=PASS PWR_BTN=PASS RTC=PASS TABLET_MODE_OFF=PASS TABLET_MODE_ON=PASS USB_KB=FAIL
FAIL
. For example USB_KB
in the above result did not trigger a full wake.SKIPPED
, please test it manually.The steps below describe how to test wake sources manually.
$ powerd_dbus_suspend --print_wakeup_type
[0916/110326.423855 :INFO:powerd_dbus_suspend.cc(57)] Wakeup type : input
.[0916/110326.423855 :INFO:powerd_dbus_suspend.cc(57)] Wakeup type : other
.