Skip to content

Add lid test script and definition

Laura Nao requested to merge wip/lid-test into master

Add simple test to check the lid status and raise an exception when the lid detected as closed. Look for devices named "Lid Switch" first; if no device with such name is present, query the lid switch state on all input events as a fallback. To detect the lid status, query the lid switch state on all input events.

Signed-off-by: Laura Nao laura.nao@collabora.com

Edited by Laura Nao

Merge request reports