Subject: Re: AC Power handling broken for desktops

From: Segher Boessenkool <[email-masked]>
Date: Thu, 25 Aug 2005 17:10:45 +0200

>> 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