In Windows, you choose what closing the lid does in Control Panel under Power Options > Choose what closing the lid does, where three columns (On battery / Plugged in) let you pick Do nothing, Sleep, Hibernate, or Shut down, plus a fourth setting for when you press the power button. The default depends on your PC's power mode: Modern Standby laptops (labeled "S0 Low Power Idle" in the firmware) often ship at "Sleep," while older S3 systems typically also default to "Sleep." Change it once and it applies to both the lid action and, on many machines, the sleep state Windows enters.
The Lid Action Control Panel Page and Its Four Columns
The setting lives on one of Windows' oldest screens, and it has barely changed in twenty years. Open Control Panel, choose Power Options, then click "Choose what closing the lid does" in the left rail. You'll see a grid: three rows—"When I press the power button," "When I press the sleep button," and "When I close the lid"—and two columns, "On battery" and "Plugged in." Each cell is a dropdown with up to four choices: Do nothing, Sleep, Hibernate, or Shut down. Hibernate only appears as an option if hibernation is enabled in your firmware and in Windows; if the dropdown is missing Hibernate and shows Sleep, Shut down, and Do nothing only, hibernation is disabled—turn it on with the command prompt or the powercfg utility before this page offers it.
If the page appears without the two battery/plug columns—just one column of choices—you're on a desktop without a battery. Desktops don't have lids, so the "When I close the lid" row won't exist, but the power and sleep button rows still work. Laptops with a detachable keyboard, like the Surface Pro line, sometimes expose lid behavior through the Type Cover rather than a full hinge; check the "When I close the lid" row and, if it's greyed out, the device has no lid sensor the OS recognizes.
The page also has a "Change settings that are currently unavailable" link at the top. If your power plan is a custom or managed profile—common on corporate-issued ThinkPads, Latitudes, and EliteBooks—the dropdowns may be locked. Click that link: it elevates the page and unlocks the greyed cells, but only if your admin group policy (often a Group Policy Object named something like "Select the lid close action") doesn't override it. On managed machines, the policy wins; you'll change the setting and it will revert on next logon.
One more quirk: the page is a shortcut that launches a dedicated Control Panel applet. You can get there directly by running control.exe powercfg.cpl,,3 from the Run box—that index number, 3, opens the lid-action tab specifically. That shortcut is worth knowing because Microsoft has been slowly migrating Power Options into Settings, and in some Insider builds of Windows 11 the classic applet is the only route to the lid action.
Windows 11's Settings App Path and Where It Falls Short
The Settings app (Win + I) reaches power behavior through System > Power & battery, but the "lid" control isn't fully migrated there as of Windows 11 23H2. The Power & battery page gives you screen and sleep timeouts, "Power mode" (Best power efficiency, Balanced, Best performance), and battery saver. For lid actions, you still get dumped into Control Panel unless your PC maker has shipped a custom bridge.
On Surface devices, the same setting is sometimes exposed in the Surface app or through a UEFI/firmware page, but the reliable path remains the classic Control Panel shortcut. Dell's Command | Power Manager, Lenovo Vantage, and HP's Power Manager all wrap the same underlying Windows power scheme; changing the action in the vendor utility usually writes back to the Windows settings so both agree. If they disagree, the vendor utility usually wins at the firmware level.
Windows 11's S0 Modern Standby machines behave differently enough that some lid actions are effectively cosmetic. When a Modern Standby laptop is set to Sleep and you close the lid, the machine doesn't fully power down—it enters a connected standby state, keeps network for background tasks, and occasionally wakes for scheduled tasks. Switching the lid action to Hibernate forces a true suspend-to-disk, which is the only way to guarantee no background activity while the lid is closed.
The Settings app's sleep timeout fields have a subtle dependency: if the "On battery" sleep timeout is set to Never but the lid action is Sleep, closing the lid still triggers sleep. Lid action overrides idle timeout, not the other way around. This is why two identical laptops can behave differently with the same display settings—one has Never at idle, the other has 15 minutes, but both sleep the moment the hinge closes.
Modern Standby vs S3: Why Sleep Is Not One Thing
Windows has two sleep models, and the lid setting sends the machine into whichever one your firmware supports. Traditional S3 sleep—sometimes called "Suspend to RAM"—cuts power to most components except RAM, drawing roughly 0.5 to 2 watts in tested laptops. Modern Standby (S0 Low Power Idle, or S0ix) keeps the CPU in a low-power state with network connectivity alive; idle draw is higher, often 1 to 5 watts, and background email sync, updates, and even some telemetry continue.
Microsoft's documentation labels Modern Standby as the preferred model for connected devices, and it has been the default on most laptops since roughly the 2017–2018 model years, intensifying through the 2020s. The trade-off: battery drain during a closed lid in Sleep mode is frequently 3–8% per hour on Modern Standby laptops versus under 1% per hour on a well-behaved S3 machine. That drain is the entire reason the lid action matters.
You can check which model your laptop uses by running powercfg /a in an elevated command prompt. The output lists "Standby (S0 Low Power Idle)" or "Standby (S3)" as available states. If S0 is listed and S3 is not, you're on Modern Standby. Some laptops support both but default to S0 in firmware; the BIOS may offer a toggle under names like "Sleep State," "Modern Standby," or "S3/S0ix."
The practical consequence: on Modern Standby hardware, setting the lid to Sleep and tossing the laptop in a bag overnight can leave the machine warm and the battery at 60% by morning. Setting it to Hibernate drops it to a cold state in seconds and resumes from SSD in roughly 5–15 seconds depending on the drive. The difference is not an abstract technicality—it's the difference between a laptop that's ready when you open it and one that's dead.
Choosing Do Nothing, Sleep, Hibernate, or Shut Down
Each dropdown choice has a distinct niche, and the wrong pick is usually a mismatch between the setting and how you use the machine.
| Choice | What it does | Typical idle draw | Resume time | Best for |
|---|---|---|---|---|
| Do nothing | Lid closes, system runs as-is | 8–25 W (full system) | 0 seconds | Docked laptops, downloading, presentations |
| Sleep (Modern Standby) | Keeps RAM powered, network alive | 1–5 W | 1–2 seconds | Short breaks, daily carry with a charger |
| Sleep (S3) | RAM powered, network off | 0.5–2 W | 1–2 seconds | Older laptops, overnight set-downs |
| Hibernate | RAM written to disk, full power off | 0 W | 5–15 seconds | Travel, Modern Standby battery drain, dust-prone spaces |
| Shut down | Full power off, no session saved | 0 W | 20–60 seconds + sign-in | Extended storage, shared machines |
The numbers in the idle-draw column are typical ranges from manufacturer spec sheets and independent testing of laptop power states over the past decade—Microsoft's Modern Standby guidance documents list similar ballparks, but exact figures vary by CPU generation and vendor tuning. Treat them as ordering, not gospel.
Do nothing is the choice for docked setups. A ThinkPad or MacBook style setup where the lid is closed and the machine drives a monitor is the classic use case, and on Windows that usually involves either the lid set to Do nothing or the laptop configured for "clamshell mode" via display and dock settings. Do nothing is also useful for a desktop-replacement laptop that stays plugged in and is never really "mobile"—closing the lid becomes a keyboard cover.
Hibernate is the sleeper pick (pun intended). It's disabled by default on many Windows 11 installs, and that's why some users can't find it in the dropdown. Enable it administratively with powercfg /hibernate on in an elevated prompt, then return to the Control Panel page and Hibernate appears. On laptops with a soldered SSD and no RAM failure risk, hibernate is the most reliable way to guarantee a dead-silent, cold machine in a backpack.
Turn On Hibernate When the Dropdown Omits It
The Hibernate entry can vanish for three reasons: hibernation is disabled in Windows, the firmware doesn't support suspend-to-disk, or "Fast Startup" has been toggled off in Power Options > System settings, which some builds tie to hibernate availability. The first fix is the command prompt one—powercfg /hibernate on—and it takes about 200 milliseconds. If the command returns an error about hibernate not supported, the firmware is the blocker and no Windows setting will surface it.
Fast Startup (also called "fast boot") uses a hibernate-like file—hiberfil.sys—to speed boot, and it often co-exists with hibernation. Turning hibernation off removes hiberfil.sys entirely; turning it back on recreates it. On laptops with a 256 GB SSD, hiberfil.sys eats roughly 40% of RAM in disk space—about 6.4 GB on a 16 GB machine. If disk space is tight, that's a real cost. On a 128 GB eMMC tablet, it's a non-starter.
Check available space before enabling hibernate on small-capacity devices. If the laptop has 8 GB RAM, hiberfil.sys will be roughly 3.2 GB; with 32 GB RAM it swells to around 12.8 GB. The rule Microsoft documents is hiberfil.sys is sized at 40% of physical RAM by default, tunable with powercfg /hibernate /size N where N is a percentage. Shrinking to 20% can leave less headroom for hibernating with a lot of RAM in use, so don't set it below 40% unless you rarely fill memory.
Once enabled, the Control Panel page's lid dropdown immediately gains Hibernate. There's no reboot required for the dropdown to update, though the hiberfil.sys creation runs in the background and the first hibernate may fail if the file isn't fully allocated. Give it a minute.
Battery Drain Math for a Closed Lid Overnight
A practical comparison: a 60 Wh battery in a 2021-era Ultrabook running Modern Standby in Sleep draws about 2.5 W at idle with Wi-Fi connected. Over a 10-hour overnight, that's 25 Wh—42% of the battery. Set the lid action to Hibernate and draw falls to 0 W after the disk write, saving the 25 Wh; waking takes 8–10 seconds on a mid-range NVMe drive. That comparison uses round figures typical of published Modern Standby drain complaints (Dell and Lenovo support forums, Microsoft's Modern Standby documentation), not a precise test.
Translate that to an eight-hour workday in a bag. If your commute plus meetings leaves the lid closed five hours, at 2.5 W you lose roughly 12.5 Wh—21% of a 60 Wh pack. Two days of that without a charge and the laptop won't boot. Hibernate loses zero. The trade-back is resume latency, which on most modern NVMe laptops is under 10 seconds.
For S3 laptops, the math is friendlier: at roughly 1 W idle, 10 hours costs 10 Wh—about 17% on a 60 Wh pack—so Sleep closed overnight is tolerable if you charge daily. Do the arithmetic on your own machine: watt draw during sleep × hours closed ÷ battery Wh = the percentage you'll lose. A phone-based watt meter or the laptop's own battery report (powercfg /batteryreport) gives you the numbers.
The battery report itself is underused. It logs drain curves and design capacity versus current capacity. If you run it after a week of Sleep-lid use, the drain slope tells you whether your laptop is one of the machines that stays effectively asleep or one that wakes up for background tasks. Machines with high drain in sleep are the exact candidates for switching to Hibernate.
Group Policy, Vendor Apps, and Registry Overrides
On a machine managed by IT, Group Policy beats the Control Panel. The relevant policy sits under Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings and includes "Allow standby states (S1-S3) when sleeping (plugged in)" and lid-close action policies on some builds. When these are set, the Control Panel dropdowns show the policy value and greying—you can't change them. Check gpresult /h report.html for the applied GPO list if you're unsure why a change reverts.
Vendor utilities usually write back to Windows' power scheme, but not always cleanly. Lenovo Vantage's battery and power panel, Dell Optimizer's power section, and HP's Power Manager each have their own version of the lid-close dropdown; changing one typically changes the underlying setting in Windows within a minute or on reboot. If the two disagree persistently, the firmware is likely feeding the Control Panel from a vendor driver and ignoring the classic setting.
Registry overrides are the least pleasant route. The lid action is stored under HKLM in the power scheme GUIDs, and hand-editing is risky. The powercfg command provides a safer interface: powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 1 sets lid action on AC power, where 1=Sleep, 2=Hibernate, 3=Shut down, 0=Do nothing. The same command with /setdcvalueindex handles battery. Run powercfg /setactive SCHEME_CURRENT to apply. This is the path when the GUI is broken, greyed by a corrupt profile, or when scripting a fleet.
That scripting angle is worth noting: for a family laptop, a small PowerShell script using powercfg commands can enforce "Hibernate on battery, Do nothing on AC" at each logon, dodging the GUI entirely. It's a two-line script and a scheduled task, and it survives Windows updates better than hand-clicking the dropdown.
Edge Cases: Docks, External Displays, and Overheating
Closing the lid doesn't always do what you expect when external displays are attached. On a docked laptop with an external monitor, the lid-close action may be superseded by a display setting—if Windows detects the external display as "extend," closing the lid sends the laptop to sleep regardless of the Do nothing setting unless the dock's own power delivery keeps the system awake. The reliable docked-mode recipe: set lid to Do nothing and ensure power settings keep the system awake when an external display is active (under Power & battery > Screen and sleep, set "When plugged in, turn off my screen after" to a value or Never).
Heat is the other edge. A Do nothing lid setting in a backpack will cook the laptop—the fan runs against fabric, the CPU throttles, and the battery warms. This is the classic failure case. A high-end 2023 gaming laptop at 25 W idle closed in a bag can reach internal temperatures that drain the battery in under an hour and, in worst cases seen on support forums, trigger thermal shutdown. If the laptop must travel with the lid closed, use Sleep or Hibernate, never Do nothing.
Some hinge or lid sensors fail. On older MacBooks the equivalent setting lives in Energy Saver preferences and a failing hall sensor or sleep magnet causes lid-close events to be missed; Windows laptops don't have a Mac's magnetic sensor in the same way, but a failing lid switch (a hall-effect sensor near the hinge) can register the lid as permanently open. Symptom: the laptop stays awake despite the lid being shut, or wakes the moment it's set down. Check by opening the battery report and looking for sleep transitions after lid-close timestamps, or use powercfg /requests to see what's holding the system awake.
Windows also distinguishes between lid close and system "away mode." Away Mode was designed for media center PCs to keep recording tasks running while the screen turned off; if your PC has some variation of a media role enabled, the lid action can produce an away-mode state rather than sleep. It's rare on modern laptops but present on older HTPCs. The Power Options advanced settings tree shows "Away Mode" under sleep settings if it's available.
What macOS, Linux, and Chromebooks Do Differently
The same concept exists everywhere, but the menu path differs enough to confuse anyone switching platforms. On macOS, the setting lives in System Settings > Battery > Options (or Power Adapter for plugged-in behavior) and lid-close sleep is usually not user-configurable on laptops—Apple's default is sleep on lid close, and forcing a clamshell mode requires the external-display and power-adapter combination plus third-party utilities like Amphetamine or pmset commands. There's no equivalent to Windows' dropdown grid.
On Linux, the setting is distributed across desktop environments. GNOME exposes lid behavior under Settings > Power in recent releases, and systemd's logind manages the action via /etc/systemd/logind.conf with the HandleLidSwitch= directive, accepting values like suspend, hibernate, poweroff, ignore, or lock. The default on most distributions is suspend. Distributions differ: Fedora's default leans on suspend, Ubuntu on suspend, and on some Debian installs you'll find the file prefers hibernate only if swap is configured. This is one place where "which distro" genuinely changes the answer.
Chromebooks are simpler: closing the lid always sleeps, and there is no user-facing setting to change it. That's a deliberate choice in ChromeOS and one of the few places a mainstream OS declines to give users the choice. For a Chromebook in a bag, sleep drain is typically under 1% per hour, so the policy holds up in practice without configurable options.
The platform comparison matters for one practical reason: if you're troubleshooting a laptop that won't sleep on lid close, and it's a Chromebook, you're troubleshooting a hardware sensor—there's no setting to check. On macOS, you're checking for a Bluetooth wake event or a dangling peripheral. On Windows, you're checking the dropdown first, then the lid sensor, then any policy.
FAQ
Does closing the lid always put a Windows laptop to sleep?
No—that's only the factory default. The lid action is a user setting on the Choose what closing the lid does page, and many corporate-issued laptops ship with "Do nothing" on AC power so they survive docking. Check the Plugged-in column specifically; it's frequently different from the On battery column even on machines you set up yourself.
Why is Hibernate missing from the lid action dropdown?
Hibernate only appears when hibernation is enabled at the OS level and the firmware supports suspend-to-disk. Run powercfg /hibernate on in an elevated Command Prompt; if it fails with "hibernate is not supported," no setting will bring the option back, and you're limited to Sleep, Shut down, or Do nothing. Enabling it permanently creates a hiberfil.sys file sized at 40% of installed RAM.
Will closing the lid with Do nothing overheat the laptop?
Yes, in a bag—that's the main risk of the Do nothing setting. With the lid shut and the CPU idle at 15–25 W, fabric traps heat and the machine can throttle or shut down within an hour. Do nothing makes sense docked to an external monitor, never for travel; switch to Sleep or Hibernate before the laptop leaves the desk.
Does the lid action change when an external monitor is connected?
Not automatically, but the two settings interact. If you set lid to Sleep and connect an external display, the laptop may still sleep on close—Windows doesn't detect docked clamshell mode without an assist. The docked-mode recipe is lid action Do nothing plus "Never" for screen timeout on AC power, and the dock's own display detection handles the rest.
How much battery does a laptop lose overnight in Sleep?
On Modern Standby hardware, plan for 3–8% per hour with Wi-Fi connected, so a 10-hour overnight can cost 30–80% on a typical 60 Wh battery. On older S3 machines the drain is often under 1% per hour. Run powercfg /batteryreport after a few overnight Sleeps to see your machine's actual curve rather than a rule of thumb.
Can I set the lid action from Command Prompt or PowerShell?
Yes. powercfg /setacvalueindex SCHEME_CURRENT SUB_BUTTONS LIDACTION 0 sets "Do nothing" on AC power (1=Sleep, 2=Hibernate, 3=Shut down), and the same with /setdcvalueindex sets the battery value. Follow with powercfg /setactive SCHEME_CURRENT to apply. This bypasses the Control Panel page entirely, which is useful on managed machines where Group Policy greys out the dropdowns.
Is Hibernate bad for my SSD?
No—the modern consensus is that the write volume is trivial. Hibernating once per day writes about 8 GB on a 16 GB RAM system, which is negligible against an SSD's typical 300–600 TBW endurance rating. Two hibernations daily for a decade would cross a few percent of rated endurance at most. If disk space is tight, lower hiberfil.sys with powercfg /hibernate /size 40, not by disabling hibernation.
Why does my laptop wake up immediately after the lid closes?
A device or driver is waking the system. Run powercfg /requests to see what's holding it awake, then check powercfg /devicequery wake_armed for the wake-enabled peripherals—a Bluetooth mouse or a network adapter is the usual culprit. A failing lid sensor produces the same symptom, distinguish it by confirming with a quick powercfg /lastwake immediately after the unintended wake.