ACPI

Also known as: Advanced Configuration and Power Interface

On this page 7

ACPI, the Advanced Configuration and Power Interface, is an open specification that defines how firmware describes a computer’s hardware to the operating system and how the operating system then controls power, sleep and device configuration. In operating systems, it sits at the boundary of boot & firmware: the firmware publishes ACPI tables during startup, and the kernel reads them to learn what the machine contains and how to manage it.

ACPI replaced the older Advanced Power Management (APM) and Plug and Play BIOS interfaces, which left power decisions inside the firmware. The central idea of ACPI is OS-directed power management, often abbreviated OSPM: the operating system, not the firmware, decides when a device sleeps, how fast a processor runs and when the machine shuts down.

How ACPI tables and AML describe the hardware

ACPI works by placing a set of in-memory description tables where the operating system can find them, starting from a pointer called the Root System Description Pointer (RSDP). On UEFI systems the firmware passes the RSDP through the EFI configuration table; on legacy BIOS systems the kernel scans a defined memory region for its signature.

Some tables are static data structures with fixed layouts, such as the list of processors and interrupt controllers. Others contain ACPI Machine Language (AML), a compact bytecode compiled from ACPI Source Language (ASL). The kernel runs AML in an interpreter inside the operating system, which allows firmware to describe board-specific behavior without the kernel knowing each motherboard in advance.

The following table lists the tables that matter most in practice.

TableFull nameWhat it provides
RSDPRoot System Description PointerEntry point that locates the XSDT or RSDT
XSDTExtended System Description Table64-bit list of pointers to all other tables
FADTFixed ACPI Description TablePower management registers and sleep control
DSDTDifferentiated System Description TableMain AML namespace of devices and methods
SSDTSecondary System Description TableAdditional AML, often per processor or device
MADTMultiple APIC Description TableProcessors and interrupt controllers
MCFGPCI Express memory-mapped configurationBase address of PCIe configuration space
Core ACPI tables and their roles

Together, the DSDT and SSDTs build the ACPI namespace, a tree of device objects such as \_SB.PCI0 with methods like _STA (device status), _CRS (current resources) and _PS3 (power off). The kernel evaluates these methods when it enumerates devices or changes their power state.

ACPI power states and sleep levels

ACPI defines a hierarchy of power states for the whole system, for individual devices and for processors. The operating system moves the machine between them, and firmware AML performs the hardware-specific steps for each transition.

The system-wide states are the ones users notice most directly.

StateCommon nameContext keptTypical resume time
S0WorkingEverything runningNot applicable
S0ixModern Standby or low-power idleMemory and network contextUnder one second
S3Suspend to RAMMemory powered, CPU offAbout 1-3 seconds
S4HibernateMemory image saved to diskSeveral seconds to a minute
S5Soft offNothing except wake logicFull boot
G3Mechanical offNothingFull boot after power returns
Global and sleep states defined by ACPI

Below the system level, device states D0 to D3 describe individual components, where D0 is fully on and D3cold removes power completely. Processor C-states (C0 active, C1 and deeper idle states) save energy while the CPU waits, and performance states P0 to Pn trade clock speed and voltage for lower power. Deeper states save more energy but add wake-up latency, which is the central trade-off of every ACPI power policy.

Where ACPI fits in the boot process

ACPI becomes active after firmware initialization and before device drivers load. During POST, the UEFI or BIOS firmware builds the tables from board data; the bootloader then hands control to the kernel, which locates the RSDP and parses the tables early in startup.

ACPI is often confused with neighboring firmware concepts, so the comparison below separates their responsibilities.

ComponentMain jobRelation to ACPI
UEFIInitializes hardware and loads the bootloaderPublishes ACPI tables to the operating system
BIOSLegacy firmware with the same basic roleAlso publishes ACPI tables on older PCs
Device TreeStatic hardware description, common on ARMAlternative to ACPI with no runtime bytecode
SMBIOSInventory data such as model and serial numberInformational only, no power control
APMFirmware-driven power managementPredecessor that ACPI replaced
ACPI compared with related firmware components

On x86 PCs, ACPI is effectively mandatory for modern operating systems. On ARM servers, the Server Base Boot Requirements specify ACPI so that one kernel image can run on hardware from several vendors, while many ARM laptops, phones and embedded boards still rely on Device Tree.

Runtime functions beyond power management

Despite its name, ACPI covers far more than sleep and shutdown. The System Control Interrupt (SCI) notifies the kernel of hardware events, and the kernel answers by running AML methods that report what happened.

  • Thermal management: thermal zones define trip points for passive cooling, fan activation and critical shutdown.
  • Battery and AC adapter reporting through control method battery objects.
  • Buttons and lid switches: power button, sleep button and laptop lid events.
  • Hot-plug of PCIe devices, docks and, on servers, processors and memory.
  • Embedded controller access, the small microcontroller that handles keyboards, fans and batteries on laptops.
  • Platform error reporting through tables such as HEST and BERT on servers.

Common ACPI problems and how they are diagnosed

Most ACPI failures come from firmware tables that are buggy or written for one operating system. Vendors often test AML only against Windows, so methods may check the _OSI string and behave differently under Linux or other kernels.

SymptomLikely causeUsual remedy
Laptop does not resume from sleepFaulty S3 or S0ix AML, driver blocking a low-power stateFirmware update, driver update, sleep diagnostics
Battery drains in Modern StandbyDevice prevents entry into S0ixIdentify the blocking device with a sleep study
Fans run at full speedBroken thermal zone or embedded controller methodFirmware update or kernel quirk
Boot messages show AML errorsNamespace conflicts between DSDT and SSDTsOften harmless; report to the vendor
Devices missing after bootIncorrect _STA or _CRS resultsKernel parameter or firmware fix
Typical ACPI symptoms with causes and remedies

Diagnostics differ by platform. On Windows, powercfg /sleepstudy and powercfg /a show which sleep states are available and what blocked them. On Linux, the tools acpidump and iasl extract and disassemble the tables, and kernel parameters such as acpi_osi= can work around specific defects. A common warning applies: disabling ACPI entirely with acpi=off usually breaks multiprocessor support, interrupts and power control, so it is a diagnostic step, not a fix.

ACPI also carries security relevance. Because AML runs with kernel privileges and firmware can inject tables such as the Windows Platform Binary Table, a compromised firmware can influence the operating system. Measured boot and Secure Boot reduce this risk by verifying firmware components before the tables are trusted.

The idea in brief

ACPI is the shared language between the firmware and the operating system. When a computer starts, the firmware hands over a detailed description of the machine: which parts it has, how to switch them on and off, and how to put the whole computer to sleep.

The operating system reads that description and then makes the decisions itself. It is like a building manager receiving a full set of floor plans and switch labels from the builder. With them, the manager can turn off lights in empty rooms, adjust heating and lock up at night without calling the builder each time.

A practical scenario

An IT technician supports a fleet of 200 company laptops. After a Windows feature update, several users report that their laptops are warm and nearly drained after a night in a bag, even though the lids were closed.

The technician runs powercfg /a and confirms that the laptops use S0 low-power idle (Modern Standby) rather than classic S3 sleep. A sleep study report shows that a network adapter driver keeps the system out of its deepest idle state for most of the night, so the processor never reaches its low-power C-states.

The vendor publishes a firmware update with corrected ACPI tables and a new adapter driver. After both are deployed through the management system, overnight battery loss falls from roughly 40 percent to under 5 percent, and the laptops resume within a second when the lid opens.