Add lid test script and definition
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