Sleep mode

Last updated
Sleep mode symbol standardized in IEEE 1621 Power sleep 2mm cropped.svg
Sleep mode symbol standardized in IEEE 1621

Sleep mode (or suspend to RAM) is a low power mode for electronic devices such as computers, televisions, and remote controlled devices. These modes save significantly on electrical consumption compared to leaving a device fully on and, upon resume, allow the user to avoid having to reissue instructions or to wait for a machine to boot. Many devices signify this power mode with a pulsed or red colored LED power light.

Contents

Computers

In computers, entering a sleep state is roughly equivalent to "pausing" the state of the machine. When restored, the operation continues from the same point, having the same applications and files open.

Sleep

Sleep mode has gone by various names, including Stand By, Suspend and Suspend to RAM. Machine state is held in RAM and, when placed in sleep mode, the computer cuts power to unneeded subsystems and places the RAM into a minimum power state, just sufficient to retain its data. Because of the large power saving, most laptops automatically enter this mode when the computer is running on batteries and the lid is closed. If undesired, the behavior can be altered in the operating system settings of the computer.

A computer must consume some energy while sleeping in order to power the RAM and to be able to respond to a wake-up event. A sleeping PC is on standby power, and this is covered by regulations in many countries, for example in the United States limiting such power under the One Watt Initiative, from 2010. In addition to a wake-up press of the power button, PCs can also respond to other wake cues, such as from keyboard, mouse, incoming telephone call on a modem, or local area network signal.

Hibernation

Hibernation, also called Suspend to Disk on Linux, saves all computer operational data on the fixed disk before turning the computer off completely. On switching the computer back on, the computer is restored to its state prior to hibernation, with all programs and files open, and unsaved data intact. In contrast with standby mode, hibernation mode saves the computer's state on the hard disk, which requires no power to maintain, whereas standby mode saves the computer's state in RAM, which requires a small amount of power to maintain.

Hybrid sleep

Sleep mode and hibernation can be combined: the contents of RAM are first copied to non-volatile storage like for regular hibernation, but then, instead of powering down, the computer enters sleep mode. This approach combines the benefits of sleep mode and hibernation: The machine can resume instantaneously, but it can also be powered down completely (e.g. due to loss of power) without loss of data, because it is already effectively in a state of hibernation. This mode is called "hybrid sleep" in Microsoft Windows other than Windows XP.

A hybrid mode is supported by some portable Apple Macintosh computers, [1] compatible hardware running Windows Vista or newer, and Linux distributions running kernel 3.6 or newer.[ citation needed ]

ACPI

ACPI (Advanced Configuration and Power Interface) is the current standard for power management, superseding APM (Advanced Power Management) and providing the backbone for sleep and hibernation on modern computers. Sleep mode corresponds to ACPI mode S3. When a non-ACPI device is plugged in, Windows will sometimes disable stand-by functionality for the whole operating system. Without ACPI functionality, as seen on older hardware, sleep mode is usually restricted to turning off the monitor and spinning down the hard drive.

Microsoft Windows

Microsoft Windows 2000 and later support sleep at the operating system level (ACPI S3 state) without special drivers from the hardware manufacturer, except of video adapters. Windows Vista's Hybrid sleep feature saves the contents of volatile memory to hard disk before entering sleep mode. If power to memory is lost, it will use the hard disk to wake up. The user has the option of hibernating directly if they wish. On PCs that enable Modern Standby, Hybrid sleep feature is unavailable.

In older versions prior to Windows Vista, sleep mode was under-used in business environments as it was difficult to enable organization-wide without resorting to third-party software. [2] As a result, these earlier versions of Windows were criticized for wasting energy. [3]

A variety of third-party PC power management software exists for newer versions of Windows, offering features beyond those built into the operating system. [4] [5] [6] Most products offer Active Directory integration and per-user/per-machine settings with the more advanced offering multiple power plans, scheduled power plans, anti-insomnia features and enterprise power usage reporting.

macOS

Sleep on Macs running macOS consists of the traditional sleep, Safe Sleep, and Power Nap. In System Preferences, Safe Sleep [7] is referred to as sleep. Since Safe Sleep also allowed state to be restored in an event of a power outage, unlike other operating systems, hibernate was never offered as an option.

In 2005, some Macs running Mac OS X v10.4 began to support Safe Sleep. The feature saves the contents of volatile memory to the system hard disk each time the Mac enters Sleep mode. The Mac can instantaneously wake from sleep mode if power to the RAM has not been lost. However, if the power supply was interrupted, such as when removing batteries without an AC power connection, the Mac would wake from Safe Sleep instead, restoring memory contents from the hard drive. [8]

Safe Sleep capability is found in Mac models starting with the October 2005 revision of the PowerBook G4 (Double-Layer SD[ vague ]). Mac OS X v10.4 or higher is also required. [9]

In 2012, Apple introduced Power Nap with OS X Mountain Lion (10.8) and select Mac models. [10] Power Nap allows the Mac to perform tasks silently, such as iCloud syncing and Spotlight indexing. Only low energy tasks are performed when on battery power, while higher energy tasks are performed with AC power. [11]

Unicode

Because of widespread use of this symbol, a campaign was launched to add a set of power characters to Unicode. [12] In February 2015, the proposal was accepted by Unicode and the characters were included in Unicode 9.0. [13] The characters are in the "Miscellaneous Technical" block, with code points 23FB-FE. [14]

The symbol is ⏾ (⏾)—defined as "Power Sleep Symbol". [14]

Wake-on-LAN

A physical Wake-on-LAN connector (white object in foreground) featured on the IBM PCI Token-Ring Adapter 2 Wake on LAN connector.JPG
A physical Wake-on-LAN connector (white object in foreground) featured on the IBM PCI Token-Ring Adapter 2

Wake-on-LAN (WoL or WOL) is an Ethernet or Token Ring computer networking standard that allows a computer to be turned on or awakened from sleep mode by a network message.

Equivalent terms include wake on WAN, remote wake-up, power on by LAN, power up by LAN, resume by LAN, resume on LAN and wake up on LAN. If the computer being awakened is communicating via Wi-Fi, a supplementary standard called Wake on Wireless LAN (WoWLAN) must be employed. [15]

The message is usually sent to the target computer by a program executed on a device connected to the same local area network. It is also possible to initiate the message from another network by using subnet directed broadcasts or a WoL gateway service.

The WoL and WoWLAN standards are often supplemented by vendors to provide protocol-transparent on-demand services, for example in the Apple Bonjour wake-on-demand (Sleep Proxy) feature. [16]

See also

Related Research Articles

<span class="mw-page-title-main">BIOS</span> Firmware for hardware initialization and OS runtime services

In computing, BIOS is firmware used to provide runtime services for operating systems and programs and to perform hardware initialization during the booting process. The BIOS firmware comes pre-installed on an IBM PC or IBM PC compatible's system board and exists in some UEFI-based systems to maintain compatibility with operating systems that do not support UEFI native operation. The name originates from the Basic Input/Output System used in the CP/M operating system in 1975. The BIOS originally proprietary to the IBM PC has been reverse engineered by some companies looking to create compatible systems. The interface of that original system serves as a de facto standard.

<span class="mw-page-title-main">Gigabyte</span> Unit of digital information

The gigabyte is a multiple of the unit byte for digital information. The prefix giga means 109 in the International System of Units (SI). Therefore, one gigabyte is one billion bytes. The unit symbol for the gigabyte is GB.

<span class="mw-page-title-main">Wake-on-LAN</span> Mechanism to wake up computers via a network

Wake-on-LAN is an Ethernet or Token Ring computer networking standard that allows a computer to be turned on or awakened from sleep mode by a network message.

<span class="mw-page-title-main">AirPort</span> Discontinued line of products by Apple Inc.

AirPort is a discontinued line of wireless routers and network cards developed by Apple Inc. using Wi-Fi protocols. In Japan, the line of products was marketed under the brand AirMac due to previous registration by I-O Data.

Power management is a feature of some electrical appliances, especially copiers, computers, computer CPUs, computer GPUs and computer peripherals such as monitors and printers, that turns off the power or switches the system to a low-power state when inactive. In computing this is known as PC power management and is built around a standard called ACPI which superseded APM. All recent computers have ACPI support.

<span class="mw-page-title-main">Connectix</span> Software and hardware company

Connectix Corporation was a software and hardware company, noted for having released innovative products that were either made obsolete as Apple Computer incorporated the ideas into system software, or were sold to other companies once they became popular. It was formed in October 1988 by Jon Garber; dominant board members and co-founders were Garber, Bonnie Fought, and close friend Roy McDonald. McDonald was still Chief Executive Officer and president when Connectix finally closed in August 2003.

Advanced Configuration and Power Interface (ACPI) is an open standard that operating systems can use to discover and configure computer hardware components, to perform power management, auto configuration, and status monitoring. It was first released in December 1996. ACPI aims to replace Advanced Power Management (APM), the MultiProcessor Specification, and the Plug and Play BIOS (PnP) Specification. ACPI brings power management under the control of the operating system, as opposed to the previous BIOS-centric system that relied on platform-specific firmware to determine power management and configuration policies. The specification is central to the Operating System-directed configuration and Power Management (OSPM) system. ACPI defines hardware abstraction interfaces between the device's firmware, the computer hardware components, and the operating systems.

Hibernation in computing is powering down a computer while retaining its state. When hibernation begins, the computer saves the contents of its random access memory (RAM) to a hard disk or other non-volatile storage. When the computer is turned on the RAM is restored and the computer is exactly as it was before entering hibernation. Hibernation was first implemented in 1992 and patented by Compaq Computer Corporation in Houston, Texas.

The Amiga computer can be used to emulate several other computer platforms, including legacy platforms such as the Commodore 64, and its contemporary rivals such as the IBM PC and the Macintosh.

<span class="mw-page-title-main">Live USB</span> USB drive with a full bootable operating system

A live USB is a portable USB-attached external data storage device containing a full operating system that can be booted from. The term is reminiscent of USB flash drives but may encompass an external hard disk drive or solid-state drive, though they may be referred to as "live HDD" and "live SSD" respectively. They are the evolutionary next step after live CDs, but with the added benefit of writable storage, allowing customizations to the booted operating system. Live USBs can be used in embedded systems for system administration, data recovery, or test driving, and can persistently save settings and install software packages on the USB device.

<span class="mw-page-title-main">Parallels Desktop for Mac</span> Virtual machine software

Parallels Desktop for Mac is software providing hardware virtualization for Macintosh computers with Intel processors, and since version 16.5 also for Apple silicon-based Macintosh computers. It is developed by Parallels, since 2018 a subsidiary of Corel.

<span class="mw-page-title-main">Shutdown (computing)</span> Remove power from a computers main components in a controlled way

To shut down or power off a computer is to remove power from a computer's main components in a controlled way. After a computer is shut down, main components such as CPUs, RAM modules and hard disk drives are powered down, although some internal components, such as an internal clock, may retain power.

On Apple computers, pmset is a command line utility to manipulate power management settings under the Darwin and macOS operating systems. It can assign sleep settings, schedule sleep and wake times, and display power information.

Apple's Bonjour Sleep Proxy service is an open source component of zero-configuration networking, designed to assist in reducing power consumption of networked electronic devices. It allows a device providing services, such as file sharing, printer sharing, or remote log-in, to sleep, i.e. enter a low-power mode, while its services remain available, even world-wide, by registering with a sleep proxy server on the local network. The sleep proxy server continues to both advertise the services on the local network on behalf of the sleep host, and listen for incoming connections whether the services are available only locally or across the Internet. When any device attempts to use any proxied service, the proxy server wakes the sleeping device and the service works as if the sleeping device had remained fully powered.

In computing, rebooting is the process by which a running computer system is restarted, either intentionally or unintentionally. Reboots can be either a cold reboot in which the power to the system is physically turned off and back on again ; or a warm reboot in which the system restarts while still powered up. The term restart is used to refer to a reboot when the operating system closes all programs and finalizes all pending input and output operations before initiating a soft reboot.

InstantGo, also known as InstantOn or Modern Standby, is a Microsoft specification for Windows 8 hardware and software that aims to bring smartphone-type power management capabilities to the PC platform, as well as increasing physical security.

An Embedded Controller (EC) is a microcontroller in computers that handles various system tasks. Now it is usually merged with Super I/O, especially on mobile platforms.

<span class="mw-page-title-main">Power key</span> Computer key

The power key, or power button, is a key found on many computer keyboards during the 1980s and into the early 2000s. They were introduced on the first Apple Desktop Bus keyboards in the 1980s and have been a standard feature of many Macintosh keyboards since then. They are also found on an increasing number of Microsoft Windows keyboards, sometimes supplanted with additional keys for sleep. The power key is becoming increasingly rare, as most modern personal computers using USB allow the system to be started up by pressing any key on the keyboard.

Suspend and resume may refer to:

References

  1. "About safe sleep". Apple Inc. Archived from the original on April 2, 2012.
  2. "PowerMAN PC Power Management Software Documentation". www.datasynergy.co.uk.
  3. "EcoGeek - How Windows XP Wasted $25 Billion of Energy". Archived from the original on 2006-11-27. Retrieved 2011-04-19.
  4. "Power Management Software for Windows Workstations".
  5. "Activating Power Management: Commercial Software Packages". www.energystar.gov.
  6. The Headmasters' and Headmistresses' Conference. "HMC: A Practical Guide to Sustainable Building for Schools". Archived from the original on 2012-03-15.
  7. "OS X Lion: What is safe sleep?".
  8. "What is safe sleep on Mac?". Apple Support.
  9. "How to Safe Sleep (Hibernate) Your Mac - AndrewEscobar.com". January 5, 2008. Archived from the original on 2008-01-05.
  10. LLC, Kyle Media. "What is Power Nap? Power Nap Macs & Hack Possibilities @ EveryMac.com". www.everymac.com. Retrieved 2017-02-02.
  11. "How Power Nap works on your Mac". Apple Support. Retrieved 2017-02-02.
  12. "Unicode Proposal 14009 Power Symbol" (PDF). Unicode. Unicode Consortium. Retrieved Dec 23, 2015.
  13. West, Andrew (2016-01-10). "What's new in Unicode 9.0?".
  14. 1 2 "Unicode Chart - Miscellaneous Technical - Range: 2300–23F" (PDF). 2016-06-22.
  15. von Nagy, Andrew (8 November 2010). "Wake on Wireless LAN". Revolution Wi-Fi Blog. Retrieved 28 October 2015.
  16. Fleishman, Glenn (28 August 2009). "Wake on Demand lets Snow Leopard sleep with one eye open". Macworld . Archived from the original on 16 September 2009. Retrieved 15 September 2009. How it works, Energy Saver preference pane