Laptop ignores power settings, closing lid always sleeps/hibernates, why?
powercfg might give you some hints.
Open a command window and run:
powercfg -getactivescheme
The GUID of the active scheme will be returned:
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
Now query the default scheme:
powercfg -q a1841308-3541-4fab-bc81-f71556f20b4a
This will return the contents of the active scheme. Look for the section containing Power buttons and lid:
Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347 (Power buttons and lid) Power Setting GUID: 5ca83367-6e45-459f-a27b-476b1d01c936 (Lid close action) Possible Setting Index: 000 Possible Setting Friendly Name: Do nothing Possible Setting Index: 001 Possible Setting Friendly Name: Sleep Possible Setting Index: 002 Possible Setting Friendly Name: Hibernate Possible Setting Index: 003 Possible Setting Friendly Name: Shut down Current AC Power Setting Index: 0x00000000 Current DC Power Setting Index: 0x00000000
The above is part of my default scheme. You can see that the value for this entry is 0x00000000 which corresponds to index: 000 (do nothing).
Check your value is set to what you think it should be (and check the remaining entries as well)
How do I change my ower settings?
powercfg can be used to change some settings from the command line:
- Switch power scheme
- Change timeout values for disk, display, sleep and hibernate.
To change other values:
- "Start" > "Run" > "Control Panel" > "Hardware and Sound" > "Power Options" > "Change Plan Settings" > "Change Advanced Power Settings" as mentioned in the answer by Tyler B. Long.
Further Reading
- An A-Z Index of the Windows CMD command line - An excellent reference for all things Windows cmd line related.
- powercfg - Control power settings, configure Hibernate/Standby modes.