Systemctl suspend and hibernate
I use desktop before and never make my pc sleep, until I got the notebook. I need my notebook to save power.
Found that it is quite simple for system have systemctl if you want to control system sleep:
Just type:
- systemctl suspend
there have some advance commands to use:
- systemctl hibernate
- systemctl hybrid-sleep
The different is:
Suspend:
- Suspend to RAM
- save the current pc state into computer RAM.
- power off most parts of the machine. (But still waste the power for keep RAM active)
- wake up quickly than other.
Hibernate:
- Suspend to disk
- save the state into disk (swap)
- Not simple swap, it must be swap for hibernate.It need to config.
- Recommand at least 16GB space for swap space.
- Most power save option. Completely cut off all the machine.
- Wake up slow.
Hybrid-sleep:
- do both
- save ram and save to disk
- but if machine have power, wake up from RAM, else wake up from disk.
- good for you want to wake up PC quickly but worry your pc battery not enough.
In my option, after tested on my PC. When my laptop is not in charge, using hibernate. It save more power then save to RAM(suspend). When device in charging, change to suspend. It can easily done with xfce4-power-manager
References: