TechBuzzPro

Enable Hibernation on Windows 11 to Save Battery

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can enable hibernation in Windows 11, which writes the contents of RAM to disk and powers off the PC, giving you battery savings while preserving your session.

What You'll Need

  • A Windows 11 PC with an administrator account.
  • At least as much free disk space as your installed RAM (the hibernation file is roughly the size of RAM).

Step-by-Step

  1. Open the Start menu, type cmd, right‑click Command Prompt and choose Run as administrator. This is required because enabling hibernation changes system power settings.
  2. In the elevated command window type powercfg -h on and press Enter. Windows will create the hiberfil.sys file on the system drive and turn the feature on.
  3. Close the command window. Now open Settings (Windows + I). Navigate to System > Power & battery. The exact wording may vary slightly by version or region, but the path is the same.
  4. Scroll down to the Related settings section and click Additional power settings. This opens the classic Power Options control panel.
  5. Find the power plan you normally use (for example, Balanced) and click Change plan settings, then Change advanced power settings.
  6. In the Advanced settings window locate the Sleep node, expand it, then expand Hibernate after. Set a time in minutes (e.g., 30) for both On battery and Plugged in if you want the PC to automatically hibernate after being idle.
  7. While still in the Advanced settings, expand Power buttons and lid > Power button action and change the setting to Hibernate for both battery and plugged‑in states. This makes the physical power button trigger hibernation instead of sleep.
  8. Click OK to save the changes, then Save changes on the previous screen.
  9. Test the configuration: press the power button or let the PC sit idle for the time you specified. The screen should go dark, the fans stop, and the machine powers off. When you power it back on, you will be returned to the exact state you left.

Common Mistakes

  • Skipping the admin step. Running powercfg -h on without administrator rights fails silently, leaving hibernation disabled.
  • Not reserving enough disk space. If hiberfil.sys cannot be created because the system drive is full, Windows will ignore the command and you will see no hibernate option.
  • Confusing sleep with hibernation. The default power button action is often set to Sleep. Changing the action to Hibernate is a separate step.
  • Disabling Fast Startup. Fast Startup also uses the hibernation file. Turning it off can increase boot time and may give the impression that hibernation is not working.
  • Using a non‑admin account for the command. Only accounts with administrative privileges can modify the hibernation file.

Tips

  • Keep your system drive at least 10 % free to give Windows room to grow hiberfil.sys after a RAM upgrade.
  • If you have a large amount of RAM (32 GB+), consider reducing the hibernation file size with powercfg -h -size X, where X is a percentage (10‑100). Use caution; setting it too low can cause data loss on resume.
  • Combine hibernation with Windows’ built‑in Battery saver mode for maximum endurance on the road.
  • Adjust screen brightness and turn off unnecessary background apps before hibernating; they won’t affect the saved state but will reduce the power drain while the PC is still on.
  • On laptops with a removable battery, ensure the battery is properly seated; a loose connection can cause the system to power off before the hibernation file is written.

Troubleshooting

If the PC does not hibernate as expected, follow these checks in order:

  1. Restart the computer. A simple reboot often clears temporary glitches that prevent the power command from taking effect.
  2. Verify the command succeeded. Open an elevated command prompt and run powercfg -a. The output should list Hibernate as an available sleep state. If it says “The hibernation file is not present,” repeat step 2 of the guide.
  3. Check disk space. Open This PC and ensure the system drive (usually C:) has enough free space for a file the size of your RAM.
  4. Confirm the power button action. Return to the Advanced power settings and double‑check that Power button action is set to Hibernate for the relevant power source.
  5. Update drivers and BIOS. Out‑of‑date chipset or power‑management drivers can block hibernation. Use Windows Update or the manufacturer’s support site to install the latest versions.
  6. Disable hybrid sleep. In the same Advanced settings, expand Sleep > Allow hybrid sleep and set it to Off. Hybrid sleep can interfere with a pure hibernate cycle on some hardware.
  7. Re‑create the hibernation file. Run powercfg -h off followed by powercfg -h on. This forces Windows to delete and rebuild hiberfil.sys.
  8. Check for group policy restrictions. In a corporate environment, an IT admin may have disabled hibernation via a Group Policy. Open gpedit.msc (if available) and navigate to Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings. Ensure “Allow hibernation” is set to Not Configured or Enabled.
  9. Last resort – reset power plans. In an elevated command prompt, type powercfg -restoredefaultschemes. This restores the default power plans and removes any corrupt custom settings that could be blocking hibernation.

If none of the above resolves the issue, consider contacting the PC manufacturer’s support channel, as some ultrabooks have firmware that deliberately disables hibernation to protect SSD endurance.

Frequently Asked Questions

Is hibernation the same as sleep?

No. Sleep keeps the RAM powered so the session can resume instantly, while hibernation writes RAM to disk and powers off completely, using no power.

How much disk space does the hibernation file use?

It is roughly the size of your installed RAM. A system with 8 GB of RAM will create a hiberfil.sys of about 8 GB.

Can I hibernate while plugged into AC power?

Yes. The same steps apply; just set the “On battery” and “Plugged in” timers to the values you prefer.

Why does my laptop sometimes wake up after I thought it was hibernating?

This usually happens when a device (network adapter, USB mouse, or scheduled task) is allowed to wake the computer. Disable “Allow this device to wake the computer” in Device Manager for any peripherals you don’t need.

Will enabling hibernation affect Windows Update?

No. Updates are installed during normal operation. Hibernation only stores the current session; it does not interfere with the update process.

Can I delete the hibernation file to free space?

Yes, by running powercfg -h off. This disables hibernation and removes hiberfil.sys, but you will lose the ability to hibernate until you re‑enable it.