What is the difference between Hibernate and Suspend

Logout, Restart and Shutdown are all self explanatory to me.

What are the differences between Suspend and Hibernate on the shutdown menu?

Asked By: Richard Holloway

||

Suspend does not turn off your computer. It puts the computer and all peripherals on a low power consumption mode. If the battery runs out or the computer turns off for some reason, the current session and unsaved changes will be lost.

Hibernate saves the state of your computer to the hard disk and completely powers off. When resuming, the saved state is restored to RAM.

Answered By: Owais Lone

The power-management scripts use these terms:

  • suspend — suspend to ram; some folks call this “sleep”
  • resume — restart after suspend to ram; does not use grub
  • hibernate — suspend to disk; includes power-off, looks like shutdown
  • thaw — restart after suspend to disk; includes a trip through grub

Bonne chance.

Answered By: user11224
  • Logout: Stops user applications specific to users.

  • Shutdown: Completely power off your system viz. PC, laptop.

  • Restart: Power off and then start again.

  • Suspend/sleep: Put your computer at very low power state, screen off but everything else is on but at very low power so that you can resume your work where you left off but if battery die you loose all your unsaved data.

  • Hibernate: suspend to disk; includes power-off, looks like shutdown. Basically, everything in the Ram is copied to swap memory and system shutdown completely. when you start your computer back everything copies back to Ram and you continue where you left off.

Answered By: iShubhamPrakash

Try this command:

pm-suspend-hybrid

Hybrid-suspend is the process where the system does everything it needs to hibernate, but suspends instead of shutting down. This means that your computer can wake up quicker than for normal hibernation if you do not run out of power, and you can resume even if you run out of power.

Answered By: irk3n dev

This is a very old thread, and although it is not asking for how to do either suspend or hibernate, I think it is one of the reasons some people land in this question.

At the time of writing (August 2023) pm-XYZ commands are obsolete and systemctl XYZ commands are to be used.

So, complementing the accepted answer with man systemctl:

  • Suspend: Suspend the system. This will trigger activation of the special target unit suspend.target. This command is asynchronous, and will return after the suspend operation is successfully enqueued. It will not wait for the suspend/resume cycle to complete. systemctl suspend
  • Hibernate: Hibernate the system. This will trigger activation of the special target unit hibernate.target. This command is asynchronous, and will return after the hibernation operation is successfully enqueued. It will not wait for the hibernate/thaw cycle to complete. systemctl hibernate
  • Suspend then Hibernate: Suspend the system and hibernate it after the delay specified in systemd-sleep.conf. This will trigger activation of the special target unit suspend-then-hibernate.target. This command is asynchronous, and will return after the hybrid sleep operation is successfully enqueued. It will not wait for the sleep/wake-up or hibernate/thaw cycle to complete. systemctl suspend-then-hibernate –> This is exactly what @oxwivi commented to the original post.
Answered By: PavoDive
Categories: Answers Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.