~/talk

The Power-Supply Subsystem

links:none on file
slides:none on file

Overview of the Linux power-supply subsystem: it exposes batteries and chargers under sysfs power_supply with properties in microvolts/microamps, supports device-tree instantiation via a template driver and probe path that registers with power_supply_register, and reads/writes via regmap/I2C handlers. A patch adds custom attribute support (4.21) to avoid races. Work in progress adds device-tree curves to convert open‑circuit voltage to percent capacity. Known gaps: no clean way to represent one battery driven by multiple fuel gauges, and no unified kernel charging manager for embedded devices.

AI-written summary · about

  1. 0:00Intro
  2. 0:23The power supply
  3. 1:21Userspace Interface
  4. 4:03Power Supply Types
  5. 4:31Smart Batteries
  6. 5:27Driver Construct
  7. 5:59Device Tree
  8. 6:59Probe Function 2/2
  9. 11:34Power Supply property sette 1/2
  10. 12:43Power Supply - DONE
  11. 14:17power supply documentation
  12. 14:57Power Supply - Supply Chain 1/2
  13. 21:38Shortcoming Charger Manager
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.