Score:0

How to enable hibernation for ALL power actions (button, idle, lid-close) on 21.10?

cn flag
Dan

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

enter image description here

I tried setting it in gsettings which seems to stick, but the settings don't seem to effect lid-close, despite what it reports

enter image description here

I tried the same in dconf which just showed what gsettings did, and still had no effect on lid-close, despite what it reports.

enter image description here

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?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.