On 2020-01-01 19:29, Ryan Stone wrote: > Thanks, but in my case, the biggest issue isn't closing the lid but > some magic extra function button on the keyboard that something has > decided should trigger a suspend. In addition to hw.acpi.lid_switch_state there is hw.acpi.sleep_button_state, is that the sysctl which you say has no effect?