Monitoring battery status in X via acpi

Mark Santcroos marks at ripe.net
Tue Jul 8 01:31:44 PDT 2003


On Tue, Jul 01, 2003 at 10:47:14PM +0200, Markus D. wrote:
> Hm, there really is a /dev/apm, and it IS displaying correct values
> (ac-line, battery percentage etc.). Perhaps some sort of "compatibilty mode" ;-) 

Well, indeed, the /dev/apm while using acpi is just an emulation layer
around acpi so that old programs still work.

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

Does this get rid of the complaints?
# apm -e enable

-- 
Mark Santcroos                    RIPE Network Coordination Centre
http://www.ripe.net/home/mark/    New Projects Group/TTM


More information about the freebsd-mobile mailing list