Early
Windows PCs generally lacked the ability to control power through software, and power keys were not physically possible. The increasing use of USB connections allowed these. Power keys did become relatively common on some
multimedia keyboards, where they were known as
power management keys. Special
keycodes are associated with these functions, e05e for Power, e05f for Sleep, and e063 Wake. These are supported in
Microsoft Windows and various
Unix-like systems. On many notebook and desktop PCs sold today, the power button on front of the box can also be configured as a power on/power off button or a sleep/wake button, in addition to buttons that may be present separately on keyboards. Notebooks also include an invisible button in the screen lid, so that closing the screen on the keyboard will activate the sleep function. In Windows, this can be configured to enter one of the "sleeping modes", i.e. "suspend to RAM" (with fast wake up by pressing any key) or "suspend to disk" (i.e. hibernation, where waking up will require pressing the power button, restoring all running applications in their current running state), or to shutdown the PC completely (closing all running applications and services, pressing the power button will reboot the PC, possibly in "fast boot" mode if enabled in BIOS/EFI settings and Windows settings). Pressing any of these keyboard or case buttons, or using the desktop Start menu to simply "shutdown" the PC will not apply pending system updates immediately (as it could be lengthy and could use too much energy if the battery power level is too low), but will delay them until the next "restart" menu option is selected, or an administrative update for Windows instructs the PC (with a sufficient battery level or connected to an AC power source) to restart to apply updates during the shutdown, and normal restart (with fast boot temporarily disabled to terminate all system updates preinstalled during the shutdown phase). == References ==