[all variants] 'True' hybrid-suspend / suspend-to-both / suspend-and-hibernate?

[all variants] 'True' hybrid-suspend / suspend-to-both / suspend-and-hibernate?

 
I have hibernate working, and I can also trigger ‘true’ hybrid-suspend from the command line or my power menu, but I want to configure Ubuntu 20.04 to hybrid-suspend when idle rather than just suspend or hibernate.

When I say ‘true’ hyrbrid-suspend I mean ‘true’ hybrid-sleep, suspend-and-hibernate, suspend-to-both, where my desktop will suspend and hibernate at the same time – if it has power when I turn it back on it will resume from RAM, if not it will resume from disk. There is some confusion around this as hybrid-sleep is sometimes used to refer to suspend-then-hibernate, suspend first and hibernate after a set period of time, and why the former, and my desired setup, is often denoted ‘true’.

There are several articles explaining how to do this, like How to Use Hybrid Suspend in Ubuntu but that method references a directory that does not exist:

Code:

/etc/pm/config.d/


Similarly, How do I use pm-suspend-hybrid by default instead of pm-suspend? has a section for 18.04 but reports:

Quote:

In the hybrid-sleep mode, the hibernate part gets effective only when the battery is critically low and the system shuts down.


Whereas I want it to suspend to both from the beginning. In the same post there is a section for 16.04 which references hybrid-sleep but it has already said that hybrid-sleep but as quoted this hybrid-sleep will only hibernate when the battery is critically low.

How can I set this up please?

 

Previous [ubuntu] New extension: mounted drives on desktop
Next Cannot print until I flush iptables
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

Correct way to edit file

hi, im using Ubuntu 20.04 LTS and would like to ask the correct way to edit a file, especially config file. I am using Nano as the editor, i hv

Ubuntu Dsicussions 0 Comments

How to boot into Ubuntu 19.10

I am currently running Ubuntu 20.04, and have no problems with it, except that I have software (namely Turboprint) which will only run under Ubuntu 19.10 and older. So, my

Ubuntu Dsicussions 0 Comments

SMART output, how to interpret general and badly formed scsi parameters

Generally, I’m looking for a source of information about what the heck all the stuff SMART tools produce. More specific, I got output from long test in SMART tools that

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply