BATTERY_PMU(4)

πŸ“¦ version 11.0, in nixpkgs unstable

πŸŽ€ battery_pmu(4) πŸŽ€

okay bestie, meet battery_pmu(4) from the Kernel Interfaces Manual β€” it’s the driver situation for batteries and hardware sensors in PCI-based Apple Powerbooks, and it’s giving very specific vintage-laptop energy. πŸ’»βœ¨


🌸 NAME 🌸

battery_pmu β€” battery and sensor support for PCI-based Apple Powerbooks πŸ“


✨ SYNOPSIS ✨

battery* at pmu?

πŸ’– DESCRIPTION πŸ’–

so the battery_pmu driver provides support for batteries and hardware sensors found in first generation PCI-based PowerBooks β€” i.e. the Apple Powerbook 2400, 3400 and 3500 (also known as Original PowerBook G3). iconic lil machine era, no cap. πŸ‘‘

currently it only exports a few sensors via the envsys(4) interface, including battery charge, voltage, CPU and battery temperature and AC power availability. that’s the whole sensor menu for now, bestie. πŸ”‹πŸŒ‘οΈβš‘


πŸ¦‹ SEE ALSO πŸ¦‹

go read those if you wanna complete the lore. iykyk πŸ’…


πŸ’€ BUGS πŸ’€

heads up, bestie: there is no APM emulation right now, and the battery current sensor may return misleading or wrong data. don’t trust it with your whole heart. 😭

also, this driver is considered preliminary and may be replaced at some point. so yeah β€” cute, useful, but still a work in progress. 🫢


mwah πŸ’‹ β€” page credit: Debian, May 18, 2009. slay and goodbye. 🌈

πŸ“¦ where this page comes from