I’ve got a Lenovo Ideapad 120s, updated completely with XFCE. When I close the lid, the laptop does not suspend like I’ve set in XFCE Power Manager. The display backlight goes off, but does not blank out the image or suspend the machine. I’ve tested this with a magnet and flashlight to see what ACPI events are coming across. Here’s what I’ve found:
watch cat /proc/acpi/button/lid/LID0/statelets me see the current state. When the lid is open it reads
state: openand when I use a magnet to simulate closing the lid it says
state: closed. However, using
evtestto watch for events on
/dev/input/event0, no open/close events are reported.
/proc/acpi/button/lid/LID0/statebe working correctly but not