When your computer hibernates, the contents of physical memory (RAM) are stored onto the hard drive and the computer is physically turned off. As a result, the system does not consume any more power than if it was shut down (but see exception below).
When you turn your computer back on, early in the boot process, the system will detect that it went into hibernation and will restore from the memory image on the hard drive. A system with legacy BIOS will likely go through POST as if it is starting up from a full shutdown. A system with UEFI will often be aware that the system had hibernated (having been notified so by the operating system) and bypass POST, instead proceeding directly to the bootloader.
Do not confuse sleep with hibernate. Sleep, or standby, mode places the computer into a low-power state to allow you to quickly resume your session. If power is lost, data may be lost as this is equivalent to a hard shutdown.
Newer versions of Windows support hybrid sleep, where the contents of physical memory are written to the hard drive as with hibernation, but the system remains in a low-power state rather than turning off altogether. This allows for quick resuming while preventing data loss should power be lost--the computer will simply load from the memory image stored on the hard drive.
On Windows, the file hiberfil.sys
in the root of the system volume is used to reserve space for the contents of physical memory for hibernation.
Note, however, that if wake-on-LAN (WOL) is enabled, the system will keep the network adapter on to permit the system to resume automatically on a WOL message. Depending on BIOS configuration, the network adapter may or may not be on when the system is fully shut down, and it may be possible to configure WOL in the BIOS setup so that WOL is enabled in hibernate but not when fully shut down. Otherwise, there would be no power difference.
On some systems, and once again depending on BIOS configuration, there may indeed be a nontrivial difference between a full shutdown and hibernate. For example, a computer may keep USB ports powered in hibernation to permit resuming by pressing a key or moving the mouse. In any case, a power failure will not cause a system in hibernation to lose data.
7Modern PCs use power even when shutdown. – Celeritas – 2013-03-05T18:31:10.223
@Celeritas: Yes, which is why I asked if "does hibernation use more power than shutdown?" – user541686 – 2013-03-05T18:35:44.433
Depends on the system, and what you mean by a "full shutdown". Full "Off" (S5) uses more power than unplugging it from the wall. Check out Intel's All about System Power States (S0-S5) for some good info.
– Ƭᴇcʜιᴇ007 – 2013-03-05T18:54:08.873@techie007: Is that link wrong, too? It says: "Power State S4: The system is almost at an OFF state, expect for a trickle power." [...] "Note that in power state S4 the system can restart from the context data stored on the disk, but in S5 the system requires a reboot." That makes no sense to me -- it would seem to imply that if I remove my laptop's batteries (or if it runs out of power) when it is hibernated, then the OS won't be able to resume from hibernation. That's not true is, it? – user541686 – 2013-03-05T18:59:37.253
@Downvoters: Care to comment? – user541686 – 2013-03-05T19:00:28.550
On modern computers S4 and S5 both have trickle power (or else the soft power button on the front of your chassis wouldn't work to turn it on). The difference is that S4 saved RAM to disk before shutting down, and will restore it on boot. S5 just dumps RAM when it shuts down. – Ƭᴇcʜιᴇ007 – 2013-03-05T19:01:15.440
3If you yanked the cord while it was in S4, it will still resume (from disk) once you give it power again and turn it on. The fact that most computers draw SOME power in both S4 and S5 has nothing to do with a difference between S4 and S5. :) – Ƭᴇcʜιᴇ007 – 2013-03-05T19:03:02.910
@techie007: How is S4 different from S5 then? Wouldn't it do exactly the same thing in either case? Why would S4 use more power than S5? – user541686 – 2013-03-05T19:07:08.377
The difference is that S4 saved RAM to disk before shutting down, and will restore it on boot. S5 just dumps RAM when it shuts down :) – Ƭᴇcʜιᴇ007 – 2013-03-05T19:07:33.533
@techie007: Uh what? So S4 dumps the RAM and restores it on boot, whereas S5 dumps the RAM but doesn't restore it on boot?! What's the point of dumping RAM then, just for fun? – user541686 – 2013-03-05T19:08:04.210
I think your lack of understanding and amount of questions go beyond what SU can provide due to what the site is for. Perhaps jump into chat, or hit a forum where you can have multiple questions answered to help you understand. – Ƭᴇcʜιᴇ007 – 2013-03-05T19:10:19.943
S4 dump the contents of RAM to DISK. S5 just turns off the RAM (and therefore losing it's contents). – Ƭᴇcʜιᴇ007 – 2013-03-05T19:11:15.357
3@techie007: Ahh, it's so confusing when you say S5 "dumps RAM", because a "dump" means writing contents to disk (crash dumps, core dumps, etc.), but when you said "dump" you meant discard, which confused the heck out of me. Okay, I see what you're saying now, but it still doesn't make sense: S5 is a state, not an action. It can't do anything, can it? The action is a transition, and it seems like going from S4 to S1 is equivalent to going from S5 to S1 -- either way, the system restores the contents of RAM and powers all devices back on, so what makes S4 use more power than S5? – user541686 – 2013-03-05T19:12:44.533
@Mehrdad - Your conclusion would be correct. – Ramhound – 2013-03-05T19:54:42.290
5My computer will react to keyboard presses when in S4 (and will power up), it will not when in S5. So there is a behavioral difference. The OS doesn't care though; if you unplug/replug the PC, it will go to S5, but the system will restore itself just fine. – avakar – 2013-03-05T22:16:15.310
@avakar: Please post that as an answer! :) – user541686 – 2013-03-05T23:23:09.670
3How in the world is this question "not constructive"? I don't see how these votes to close are justified... – bwDraco – 2013-03-05T23:34:37.353