No idea what's wrong with my laptop. On the Power settings page, it's set to Suspend when the lid is closed, but for the last few days – out of nowhere, having not edited any power settings myself – whenever I open up my laptop lid the laptop boots up from scratch, so it clearly isn't going into hibernation anymore.
It's a Dell XPS 13 (9350) on 16.04 if that helps.
Thank you!
Best Answer
With
sudo
powers open up/etc/systemd/logind.conf
and look for the following two lines:If they begin with a hash tag (
#
) remove it and set your option to ignore, poweroff, reboot, halt, suspend, hibernate, hybrid-sleep, lock or kexec. More details can be found at Power ManagementThis worked for me and hopefully works for you too.
Bug Reports
There are many bug reports starting in August 2016 with Linux Suspend / Resume issues. This bug report has lots of solutions. One comment #140 has grub command line changes that are confirmed to work:
If this doesn't work, by all means check out the other solutions in this bug report. Also check out other bug reports using google search string: "Resume shuts down 16.04"