How to use hibernation to extend battery life on Windows 11

Windows 11 power and battery settings
(Image credit: Mauro Huculak)

On Windows 11, you can enable and configure the "Hibernate" feature to extend your device's battery life. The feature works by saving data in memory onto the hard drive using the "Hiberfil.sys" system file. When you turn off the laptop or desktop computer to save power, it resumes where you left off the next time you turn it on.

The feature isn't as fast as sleep mode. However, it is still a great feature to preserve battery when you are not using the device or running low on battery power. Your laptop might be experiencing fast battery-draining issues due to a system or app bug because the battery is depleted, or because you have to replace the battery and can't close the work you are doing.

In this how-to guide, I'll explain how to configure hibernation to extend your laptop's battery life while preserving the current session.

Recent updates

This guide has been updated to reflect the changes of the features with new version of the operating system.

How to enable hibernation on Windows 11

To enable hibernation on Windows 11, use these steps:

  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to confirm the hibernation status and press Enter: powercfg /availablesleepstates

(Image credit: Mauro Huculak)
  1. Confirm whether Hibernate appears disabled.
  2. Type the following command to enable the Windows 11 Hibernate feature and press Enter: powercfg /hibernate on

(Image credit: Mauro Huculak)

Once you complete the steps, hibernation will be enabled on your computer.

This feature is not available on all system configurations. If you can't enable hibernation, there are several reasons why. For example, the graphics card driver does not support the power state, which you could fix by updating the latest video driver.

It could be that hibernation is supported, but it's currently disabled on the Unified Extensible Firmware Interface (UEFI). If this is the case, accessing the motherboard firmware and adjusting the settings using your manufacturer support instructions may resolve the problem.

Also, the hardware may not support hibernation, in which case you won't be able to use the feature.

How to add hibernation option to Power menu on Windows 11

To incorporate the "Hibernate" option in the Power menu of Windows 11, use these steps:

  1. Open Start.
  2. Search for Control Panel and click the top result to open the app.
  3. Click on Hardware and Sound.

(Image credit: Mauro Huculak)
  1. Click on Power Options.

(Image credit: Mauro Huculak)
  1. Click the "Choose what closing the lid does" option from the left pane.
  • Quick tip: If you're using a desktop computer, you can select the "Choose what the power button does" option to get to the settings.

(Image credit: Mauro Huculak)
  1. Click the "Change settings that are currently unavailable" option to modify the Shutdown settings.

(Image credit: Mauro Huculak)
  1. Check the Hibernate option.

(Image credit: Mauro Huculak)
  1. Click the Save changes button.

After you complete the steps, you will now see the "Hibernate" option when opening the Power menu.

How to configure hibernation settings on Windows 11

Once you enable hibernation, there are a few settings you can customize to get the most out of the feature. For example, you can change the power button or laptop lid to put the computer in hibernation mode as soon as you press the button or close the lid. Or, if you want to prolong the battery as much as possible, you can adjust the power settings to allow the device to hibernate automatically after some time of inactivity.

Configure hibernation settings (version 24H2)

Starting on the Windows 11 2024 Update, the Settings app includes new settings to configure hibernation after the feature has been enabled through Command Prompt.

To change the power button and close the lid action on Windows 11, use these steps:

  1. Open Settings.
  2. Click on System.
  3. Click the Power & battery page from the right side.

Power & battery

(Image credit: Mauro Huculak)
  1. Click the "Lid & power button controls" setting.
  2. (Option 1) Choose the Hibernate option for the "Pressing the power button will make my PC" or "Closing the lid will make my PC" option in the "Plugged in" setting.
  3. (Option 2) Choose the Hibernate option for the "Pressing the power button will make my PC" or "Closing the lid will make my PC" option in the "On battery" setting.

Lid & power button controls

(Image credit: Mauro Huculak)

Once you complete the steps, closing the laptop's lid or pressing the power button will cause the device to hibernate.

If you want to change the schedule of when the computer should hibernate after the time of inactivity, if you can't find the option in the Settings app, then you will have to the Control Panel with the instructions below.

Only through the Control Panel can you add or remove the "Hibernate" option from the Start menu.

Configure hibernation settings (all versions)

To change the hibernation settings on Windows 11, use these steps:

  1. Open Start.
  2. Search for Control Panel and click the top result to open the app.
  3. Click on Hardware and Sound.

(Image credit: Mauro Huculak)
  1. Click on Power Options.

(Image credit: Mauro Huculak)
  1. Click the Change plan settings option for the current power plan.

(Image credit: Mauro Huculak)
  1. Click the "Change advanced power settings" option.

(Image credit: Mauro Huculak)
  1. Expand the Sleep settings.
  2. Expand the Hibernate after settings.
  • Quick note: This setting may not be available on all hardware configurations.

(Image credit: Mauro Huculak)
  • Quick note: This setting may not be available on every hardware configuration.
  1. Use the On Battery option to set the number of minutes of inactivity before the device goes into hibernation mode when the laptop is running on battery.
  2. Use the Plugged in option to set the number of minutes of inactivity before the device goes into hibernation mode when the laptop is connected to a power source.
  3. Click the Apply button.
  4. Click the OK button.

Once you complete the steps, the computer will hibernate automatically after the specified time.

Set power button to hibernate

To change the power button or the laptop lid behavior to use hibernation, use these steps:

  1. Open Start.
  2. Search for Control Panel and click the top result to open the app.
  3. Click on Hardware and Sound.

(Image credit: Mauro Huculak)
  1. Click on Power Options.

(Image credit: Mauro Huculak)
  1. Click the Choose what closing the lid does option from the left pane.

(Image credit: Mauro Huculak)
  1. Under the "Power and sleep buttons and lid settings" section, use the "When I press the power button" setting and select the Hibernate option.

(Image credit: Mauro Huculak)
  1. (Optional) Use the "When I press the sleep button" option and select the Hibernate option.
  2. (Optional) Use the "When I close the lid" option and select the Hibernate option.

After you complete these steps, your computer will enter into the hibernation state, depending on your configuration.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.