I'm installing Ubuntu 21.10 along side Windows 10 on an HP Probook G10 which is not supported. Since suspend isn't supported, and crashes when attempted, I went ahead and manually enabled hibernation which seems to work fine. Now I'm trying to move all power actions from the default of suspend to the only working option of hibernation. I tried some old methods, but they don't seem to work anymore with 21.10
I tried to set this under the "settings" panel from the Ubuntu desktop (battery icon, top right), but there is no action for lid-close. It seems to only offer "Automatic suspend". I was able to use to old procedure to enable power-button hibernate though. Still doesn't fix lid-close though
I tried setting it in gsettings
which seems to stick, but the settings don't seem to effect lid-close, despite what it reports
I tried the same in dconf
which just showed what gsettings
did, and still had no effect on lid-close, despite what it reports.
Despite the settings, system still attempts (and fails) suspend
/ standby
when I close the lid. Until I can find a "good" fix, I simply replaced systemd-suspend.service
file with systemd-hibernate.service
file, but I wasn't sure if that would "catch them all"?
Thoughts?