Subject: Re: Battery Level on PowerBook 2400
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Bryan Vyhmeister <bsd@hub3.net>
List: port-macppc
Date: 12/18/2002 15:11:42
On Wednesday, December 18, 2002, at 02:48 PM, Nathan J. Williams wrote:

> Bryan Vyhmeister <bsd@hub3.net> writes:
>
>> What would it take to get just a simple battery level on the PowerBook
>> 2400? It is my understanding that the Linux people have this for the
>> 2400/3400/G3 PowerBooks at least although I am not sure about anything
>> newer. Would the Linux code be useful in figuring out what they did?
>
> We have some code that emulates a PC-like APM device in -current as of
> last June; make sure you have:
>
> apm0    at adb?
>
> in your kernel configuration, create the apm device node (cd /dev;
> ./MAKEDEV apm), and you can use the apm(1) command to check battery
> status, or build one of the GUI battery meters in pkgsrc, like
> sysutils/xbattbar.

Great! That's good news. How hard would it be to pull this into 
1.6_STABLE? Thank you for your help.

Bryan