brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: powercfg /a lists the sleep states your Windows PC really supports

Windows
~/tips/tip-windows-powercfg-sleep-states

powercfg /a

See which sleep and hibernate modes the machine offers and why others don't.

Is hibernate missing from the power menu, or does your laptop sleep differently from what you expected? Windows can tell you what the hardware and drivers allow.

I open a terminal and run:

powercfg /a

The long form is powercfg /availablesleepstates. The output has two parts. The first lists the sleep states that are available on this system, such as Standby, Hibernate or Fast Startup. The second lists the ones that are not available, and Windows tries to give a reason under each.

Those reasons are the useful bit. A firmware that doesn’t support a state, or hibernation that was switched off, shows up here in plain words, which saves a round of guessing in the BIOS.

If hibernation is the missing one and the only reason is that it’s disabled, you can turn it on from an administrator terminal:

powercfg /hibernate on

Bear in mind that hibernate writes a file to the system drive that holds the contents of memory, so it costs disk space. On a small SSD you may prefer to leave it off. Also, the command only reports what is possible. It says nothing about why a PC woke up, which is a separate question for powercfg.

Further reading: Powercfg command-line options

More Windows tips Win+Ctrl+C Win+Shift+Left arrow Win+Ctrl+Left arrow Alt+PrtScn Left Alt + Left Shift + Print Screen All Windows tips (33) All topics

Link