| Age | Commit message (Collapse) | Author |
|
- remove suspect pointer fudgery when interpreting PMU battery data
now if we had any idea what units these data are in...
|
|
now emergency shutdown on low battery works
|
|
|
|
- work around a bug in envsys which expects a valid value for sensors with
states that have text descriptions even if the sensor is invalid
|
|
AC power
fixes spontaneous power down with two smartbat instances present
|
|
SME_CLASS_BATTERY, register the former only on unit 0 so we don't end up
with two of them on powerbooks that have two battery slots. Now userland has
a fighting chance to find the AC status.
TODO: make the battery sensors look more like acpibat's
|
|
|
|
roto-till.)
|
|
|
|
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
|
|
|
|
From Magnus Henoch.
This needs more testing, especially on older PowerBooks which may have more thanone battery.
|
|
|
|
|