Score:1

Hibernate while in sleep on critical battery

pe flag

Is there any way to configure Ubuntu 22.04 to hibernate on some critical battery percentage, say 5%, when already in sleep? Suppose you go to sleep at 20% battery and remain in sleep for a long time so the battery eventually drains. Is there any way to prevent that by hibernating while in sleep?

I know I can hibernate while in sleep after a predefined delay but that's not what I want.

David avatar
cn flag
What version of Ubuntu are you using?
bagratte avatar
pe flag
@David 22.04 jammy
ar flag
See the ["Ubuntu 16.04 and Above" section of this answer](https://askubuntu.com/questions/145443/how-do-i-use-pm-suspend-hybrid-by-default-instead-of-pm-suspend/781957#781957) Also see the ["In Ubuntu 17.10 and below hybrid-sleep was the closest" part of this ansser](https://askubuntu.com/questions/1048159/does-linux-have-a-hybrid-deep-sleep-mode-like-the-mac/1048196#1048196). What you want is `hybrid-sleep`. It does not work exactly the way you want, but does pretty much the same thing.
I sit in a Tesla and translated this thread with Ai:

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.