Battery chargers, fuel gauges, and AC/USB power-supply controllers
A large collection of drivers and the shared class framework that report battery state, manage charging, and expose AC/USB/DC power inputs to userspace on laptops, tablets, phones, handheld gaming devices, embedded boards, and some UPS hardware. It covers chips from vendors like Texas Instruments, Analog Devices/Maxim, X-Powers, and Microsoft Surface controllers.
recommendation
It should stay because this is one of the kernel's actively developed core subsystems, with hundreds of commits over the last five years and patch traffic continuing into 2025-2026 on both the class core and individual chip drivers. The hardware it supports is universal in modern portable and embedded Linux devices, and IC families it controls (such as TI BQ24190 chargers and Analog Devices MAX17201 fuel gauges) are still in active production and sold new today.
repository signals
sources
- lore.kernel.org
Recent 2026 linux-pm patch touching the power-supply core shows ongoing upstream feature work rather than retirement.
- lore.kernel.org
Recent maintenance patches still touch in-tree power-supply device drivers such as surface_battery, indicating active upkeep.
- docs.kernel.org
Kernel documentation describes the power_supply class as the standard userspace-facing framework for batteries, UPS, AC, and DC supplies, confirming this directory is a live subsystem rather than a legacy one-off driver.
- ti.com
TI lists BQ24190 as ACTIVE and orderable, showing Linux-supported charger IC families in this directory are still sold new.
- analog.com
Analog Devices lists MAX17201 as PRODUCTION with sample-and-buy availability, showing Linux-supported fuel-gauge IC families in this directory are still in current production.
codex reasoning notes (technical)
This is an active driver subsystem, not a dead leaf: phase-1 already showed 873 substantive commits in 5 years, and tool evidence matches that. `mcp__lore_http__.lore_activity` on `drivers/power/supply/power_supply_core.c` returned a 2026 linux-pm patch adding battery-technology support; a second `lore_activity` call on `surface_battery.c` showed 2024 maintenance traffic; an earlier `lore_activity` call on `axp20x_battery.c` also showed late-2025 cross-subsystem updates acked for power-supply. Removal-search attempts (`lore_regex`, `lei`) did not yield usable removal evidence here; no active deprecation/removal series was surfaced in the allotted budget. Local file inspection via shell confirmed this directory contains many real charger/fuel-gauge/battery drivers plus the class core. Deployment is still high because batteries/chargers/fuel gauges remain ubiquitous in laptops, tablets, phones, handhelds, embedded systems, and some UPS/platform niches, and vendor product pages found by `web.search_query` show supported IC families still sold in 2025. No single replacement driver exists because this directory is the current upstream subsystem for the use case.