Monitoring battery status in X via acpi

Markus D. sm4tnp8 at gmx.net
Tue Jul 1 13:47:17 PDT 2003


> On Tue, Jul 01, 2003 at 07:46:37AM +0200, Markus D. wrote:
> > Hello
> > 
> > After upgrading to 5.1 the gnome battstat applet complains about not
> enabled
> > APM. Obviously it does not support ACPI. Does anyone know a battery
> monitor
> > for use within Gnome or X that does support ACPI in 5.x?
> 
> Funny. I'm running 5.1 and wmapm, which hasn't been rewritten for acpi,
> works just fine.
> 
> The acpi code would appear to emulate a /dev/apm device.
> 
> BMS
> 
Hm, there really is a /dev/apm, and it IS displaying correct values
(ac-line, battery percentage etc.). Perhaps some sort of "compatibilty mode" ;-) 

Gnome battstat just complains about disabled apm, but displays correct
values nevertheless.

Thanks
Markus



More information about the freebsd-mobile mailing list