You can customize what your Windows 10 laptop does when you close the lid — sleep, hibernate, shut down, or do nothing — through the Power Options control panel. This guide shows you exactly where to find the setting, how to change it for battery and plugged-in modes, and what to do if the options are missing or grayed out.
Why the Lid Close Action Matters
By default, most Windows 10 laptops are set to Sleep when you close the lid. That’s fine for quick breaks, but it can be annoying if you:
- Connect your laptop to an external monitor and use it with the lid closed.
- Want to keep downloads or backups running while the lid is shut.
- Prefer your laptop to shut down completely to save battery.
- Find that sleep doesn’t work reliably and your laptop wakes up in your bag.
The lid close action is part of Windows’ power plan settings, and you can set it separately for when the laptop is on battery power and when it’s plugged in. The same screen also lets you control what happens when you press the power button or the sleep button.
How to Change the Lid Close Action
The setting lives in the classic Control Panel, not in the modern Settings app. Here’s the quickest way to reach it:
- Press Windows + R, type
control, and press Enter. - Click Hardware and Sound.
- Under Power Options, click Choose what closing the lid does.
Alternatively, you can right-click the battery icon in the system tray and select Power Options, then click Choose what the power buttons do on the left sidebar.
On the screen that opens, you’ll see two columns: On battery and Plugged in. Next to When I close the lid, use the drop-down menus to pick one of these actions:
- Do nothing — the laptop keeps running with the lid closed.
- Sleep — saves your session to RAM and uses a small amount of power.
- Hibernate — saves your session to the hard drive and uses zero power.
- Shut down — closes all programs and powers off.
After making your selection, click Save changes. The new behavior takes effect immediately.
What Each Action Actually Does
Understanding the difference between sleep, hibernate, and shutdown helps you choose the right one for your workflow.
- Sleep (also called Suspend-to-RAM) keeps your RAM powered so your open apps and files are instantly available when you open the lid. It uses a small amount of battery — typically a few percent per day. If the battery drains completely, your session is lost unless Windows has set up hibernation as a fallback.
- Hibernate writes the entire contents of RAM to a file on your hard drive (
C:\hiberfil.sys) and then powers off completely. It takes a few seconds longer to resume than sleep, but uses zero power. This is the safest option for long periods away from a charger. - Shut down closes all programs and ends the Windows session. You’ll need to restart everything when you open the lid. This is best if you never use your laptop in clamshell mode and want to avoid any background activity.
- Do nothing keeps the laptop fully on. The screen will turn off according to your display timeout settings, but the system continues running. This is essential for docking stations and external monitors.
Note that hibernate may not be available on all systems if it has been disabled in your power settings or if your hardware doesn’t support it. You can re-enable it by running powercfg /hibernate on in an elevated Command Prompt.
Common Problems and Fixes
Sometimes the lid close options are missing or grayed out. Here are the most frequent issues and how to resolve them.
1. The drop-down menus are grayed out. This usually means your PC manufacturer has locked the settings, or you’re not logged in as an administrator. Try clicking Change settings that are currently unavailable at the top of the window — this unlocks the options. If they remain grayed out, your laptop’s BIOS or manufacturer software may override Windows. Check your vendor’s power management utility (like Lenovo Vantage or Dell Power Manager) for lid settings.
2. Hibernate is not listed in the drop-down. As mentioned, hibernation can be disabled. Open an elevated Command Prompt (search for “cmd”, right-click, and select “Run as administrator”), then type powercfg /hibernate on and press Enter. After that, the Hibernate option should appear.
3. The laptop still sleeps even when set to “Do nothing.” This can happen if your display timeout is set to a very short duration and you mistake the screen turning off for sleep. Check your power plan’s display and sleep timeouts by clicking Change plan settings next to your active plan, then Change advanced power settings. Expand Sleep and make sure “Sleep after” is set to a value you want (or “Never”).
4. Closing the lid shuts down the PC unexpectedly. This is often caused by a manufacturer power plan that overrides your choice. Reset your power plan to default by clicking Change plan settings → Restore default settings for this plan, then re-apply your lid preference.
How It Compares to Power Button Settings
The same Power Options screen also lets you set what happens when you press the power button or the sleep button. These are separate settings, so you can have the lid close do nothing while the power button shuts down, for example. This is useful if you use a docking station and want to avoid accidentally putting the laptop to sleep when you close the lid, but still want a quick way to turn it off.
There’s also a setting for what happens when you press the sleep button (if your keyboard has one). These options are independent, so you can tailor each action to your preference.
Advanced: Using Command Line and Power Plans
If you prefer the command line or need to change settings on multiple PCs, you can use the powercfg tool. The lid close action is controlled by the LidAction setting in the current power plan. For example, to set the lid close action to “Do nothing” while on AC power, you would run:
powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0
powercfg /setactive SCHEME_CURRENT
The values are: 0 = Do nothing, 1 = Sleep, 2 = Hibernate, 3 = Shut down. You can replace SCHEME_CURRENT with a specific power plan GUID if needed. This method is handy for IT administrators or power users who want to script the change.
Keep in mind that some laptops have additional lid-related options in the advanced power settings, such as “Lid open action” (what happens when you open the lid). This is separate from the close action and is also found under Power buttons and lid in the advanced settings tree.
Safety and Battery Considerations
Choosing the right lid action can affect your battery health and data safety. Here are a few practical tips:
- If you close the lid with Do nothing and the laptop is in a bag, it will overheat because there’s no ventilation. Always make sure the laptop is on a hard surface with airflow if you plan to run it with the lid closed.
- If you use Sleep, be aware that if the battery dies completely, you lose unsaved work. Windows typically creates a hibernation file as a backup, but it’s not guaranteed on all systems.
- Hibernate is the safest for long-term storage because it saves your session and uses no power. However, it writes a large file to your SSD, which causes wear over time — though modern SSDs handle this fine for years.
- If you’re troubleshooting a laptop that won’t wake from sleep, setting the lid close action to Hibernate or Shut down can be a workaround until you fix the driver issue.
Remember that these settings only apply to the current power plan. If you switch between power plans (e.g., Balanced vs. High Performance), you’ll need to set the lid action for each plan separately.
Frequently Asked Questions
Q: Can I set different lid actions for battery and plugged-in?
Yes. The Power Options screen has separate drop-downs for “On battery” and “Plugged in.” You can set one to Sleep and the other to Do nothing, for example.
Q: Why is the Hibernate option missing from the list?
Hibernation is disabled by default on some systems. Run powercfg /hibernate on in an elevated Command Prompt to enable it, then the option should appear.
Q: Will changing the lid action affect my battery life?
Yes. Sleep uses a small amount of power, while Hibernate and Shut down use none. Do nothing keeps the laptop fully on, which uses the most power. Choose based on how long you’ll be away from a charger.
Q: Does the lid close action work on desktop PCs?
No, this setting only applies to laptops and other portable devices with a lid. Desktop PCs don’t have this option in Power Options.
Q: Can I use the lid close action to wake the PC remotely?
No, closing the lid doesn’t affect network wake features. If you want to wake your laptop remotely, you need to configure Wake-on-LAN in the BIOS and Windows, and the lid must be open or set to Do nothing.
Q: What if I close the lid and the screen stays on?
That’s not normal. If you’ve set the action to Do nothing, the screen should still turn off after the display timeout. If it stays on, check your display timeout settings or update your graphics driver.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Disable Autocorrect on iPhone or iPad: Quick Guide
- Microsoft Store Error 0x80073d12: Fixes That Work
- View Notification Count on iPhone: Full Guide
- Custom Keyboard Shortcuts on Windows 11 & macOS
- Restore Windows 11 Display Scaling to Recommended
- Semiconductor Cycle: How Investors Track It0.0