It used to work fine: I would close the lid and Ubuntu would nicely suspend and resume when I opened the lid.
Now I find that it does not. What happens first, I don't know, but on reopening the lid, the computer boots up as if from a cold start. The same thing happens when I run
sudo pm-suspend, so it has nothing to do with the lid settings--it's just that the suspend command seems to simply reboot.
I have been messing with
libinput around the time when it happened, installing and uninstalling it and alternating with the synaptics driver, but I'm unsure if this is related.
- OS ver: Linux kernel 4.10.0-28-generic #32~16.04.2-Ubuntu
- System: Dell XPS 13 9350 (late 2015), i7 Skylake processor.