>> Not sure :) I don't fully know how to decode those power things in the >> device-tree... There are bits in darwin tho. > > Maybe just check for !PowerBook and force PMU_PWR_AC_PRESENT in this > case. Or just if battery count is 0, assume AC power ;-) Segher