ArticleslgStudy

computer science

ACPI

ACPI is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ACPI rather than just read about it. In short: Advanced Configuration and Power Interface (ACPI) is an open standard for operating systems, directed configuration and power management. Launched in December 1996 and first available in Windows 98 and Windows 2000, ACPI replaced Advanced Power Management (APM), the MultiProcessor Specification, and the Plug and Play BIOS (PnP) Specification.

ACPI — main illustration
ACPI — illustration

Key takeaways

  • ACPI belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ACPI to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ACPI from memory before moving on to harder problems.

Reference excerpt

Advanced Configuration and Power Interface (ACPI) is an open standard for operating systems, directed configuration and power management. Launched in December 1996 and first available in Windows 98 and Windows 2000, ACPI replaced 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 (e.g. BIOS, UEFI), the computer hardware components, and the operating systems. Internally, ACPI advertises the available components and their functions to the operating system kernel using instruction lists ("methods") provided through the system firmware (UEFI or BIOS), which the kernel parses. ACPI then executes the desired operations written in ACPI Machine Language (such as the initialization of hardware components) using an embedded minimal virtual machine. Intel, Microsoft and Toshiba originally developed the standard, while HP, Huawei and Phoenix also participated later. In October 2013, ACPI Special Interest Group (ACPI SIG), the original developers of the ACPI standard, agreed to transfer all assets to the UEFI Forum, in which all future development will take place. The latest version of the standard 6.6 was released in 13 May 2025.

Architecture The firmware-level ACPI has three main components: the ACPI tables, the ACPI BIOS, and the ACPI registers. The ACPI BIOS generates ACPI tables and loads ACPI tables into main memory. Much of the firmware ACPI functionality is provided in bytecode of ACPI Machine Language (AML), a Turing-complete, domain-specific low-level language, stored in the ACPI tables. To make use of the ACPI tables, the operating system must have an interpreter for the AML bytecode. A reference AML interpreter implementation is provided by the ACPI Component Architecture (ACPICA). At the BIOS development time, AML bytecode is compiled from ACPI Source Language (ASL) code.

ACPI Component Architecture (ACPICA) The ACPI Component Architecture (ACPICA), mainly written by Intel's engineers, provides an open-source platform-independent reference implementation of the operating system–related ACPI code. The ACPICA code is used by Linux, Haiku, ArcaOS and FreeBSD, which supplement it with their operating-system specific code.

History The first revision of the ACPI specification was released in December 1996, supporting 16, 24 and 32-bit addressing spaces. It was not until August 2000 that ACPI received 64-bit address support as well as support for multiprocessor workstations and servers with revision 2.0. In 1999, then Microsoft CEO Bill Gates stated in an e-mail that Linux would benefit from ACPI without them having to do work and suggested to make it Windows-only. In September 2004, revision 3.0 was released, bringing to the ACPI specification support for SATA interfaces, PCI Express bus, multiprocessor support for more than 256 processors, ambient light sensors and user-presence devices, as well as extending the thermal model beyond the previous processor-centric support. Released in June 2009, revision 4.0 of the ACPI specification added various new features to the design; most notable are the USB 3.0 support, logical processor idling support, and x2APIC support. Initially ACPI was exclusive to x86 architecture; Revision 5.0 of the ACPI specification was released in December 2011, which added the ARM architecture support. The revision 5.1 was released in July 2014. The latest revision 6.6, which was released in May 2025, added the RISC-V support.

Operating systems

Microsoft's Windows 98 was the first operating system to implement ACPI, but its implementation was somewhat buggy or incomplete, although some of the problems associated with it were caused by the first-generation ACPI hardware. Other operating systems, including later versions of Windows, macOS (x86 macOS only), eComStation, ArcaOS, FreeBSD (since FreeBSD 5.0), NetBSD (since NetBSD 1.6), OpenBSD (since OpenBSD 3.8), HP-UX, OpenVMS, Linux, GNU/Hurd and PC versions of Solaris, have at least some support for ACPI. Some newer operating systems, like Windows Vista, require the computer to have an ACPI-compliant BIOS, and since Windows 8, the S0ix/Modern Standby state was implemented. Windows operating systems use acpi.sys to access ACPI events. The 2.4 series of the Linux kernel had only minimal support for ACPI, with better support implemented (and enabled by default) from kernel version 2.6.0 onwards. Old ACPI BIOS implementations tend to be quite buggy, and consequently are not supported by later operating systems. For example, Windows 2000, Windows XP, and Windows Server 2003 only use ACPI if the BIOS date is January 2, 1999 or later. Linux kernel 2.6 also only use ACPI if the BIOS date is January 1, 2001 or later. Linux-based operating systems can provide handling of ACPI events via acpid.

OSPM responsibilities Once an OSPM-compatible operating system activates ACPI, it takes exclusive control of all aspects of power management and device configuration. The OSPM implementation must expose an ACPI-compatible environment to device drivers, which exposes certain system, device and processor states.

Power states

Global states The ACPI Specification defines the following four global "Gx" states and six sleep "Sx" states for an ACPI-compliant computer system:

The specification also defines a Legacy state: the state of an operating system which does not support ACPI. In this state, the hardware and power are not managed via ACPI, effectively disabling ACPI.

Device states The device states D0–D3 are device dependent:

D0 or Fully On is the operating state. As with S0ix, Intel has D0ix states for intermediate levels on the SoC. D1 and D2 are intermediate power-states whose definition varies by device. D3: The D3 state is further divided into D3 Hot (has auxiliary power), and D3 Cold (no power provided): Hot: A device can assert power management requests to transition to higher power states. Cold or Off has the device powered off and unresponsive to its bus.

CPU states The CPU states C0–C3 are defined as follows:

… excerpt ends here. Continue reading the full article.

Illustrations

ACPI: The "It's now safe to turn off your computer" screen in Windows NT 4.0. Unlike Windows 9x and later NT releases, most of the essential computer peripherals are working normally, so the user can opt to restart instead of powering off their computer.
The "It's now safe to turn off your computer" screen in Windows NT 4.0. Unlike Windows 9x and later NT releases, most of the essential computer peripherals are working normally, so the user can opt to restart instead of powering off their computer.
ACPI: The "It's now safe to power off the system" screen in Windows 10 and 11.
The "It's now safe to power off the system" screen in Windows 10 and 11.

Worked examples

Example 1 — a first encounter with ACPI

Start with the simplest possible case. Write down what ACPI claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ACPI before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ACPI ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ACPI

In research
ACPI appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ACPI in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ACPI is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application programming interfaces, BIOS, Computer hardware standards, so understanding it makes those chapters shorter.
In everyday life
Look for ACPI outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ACPI” →

How to study ACPI in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ACPI means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ACPI out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ACPI in simple terms?

Advanced Configuration and Power Interface (ACPI) is an open standard for operating systems, directed configuration and power management. Launched in December 1996 and first available in Windows 98 and Windows 2000, ACPI replaced Advanced Power Management (APM), the MultiProcessor Specification, an…

Why does ACPI matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ACPI?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ACPI.

Tags

  • Application programming interfaces
  • BIOS
  • Computer hardware standards
  • Computer hardware tuning
  • Electric power
  • Open standards
  • Operating system technology
  • System administration
  • Unified Extensible Firmware Interface

Keep exploring