[Goodies-dev] [Bug 4673] adjust conditions for showing “Charging”

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Dec 27 18:15:08 CET 2010


http://bugzilla.xfce.org/show_bug.cgi?id=4673

--- Comment #24 from Landry Breuil <landry at rhaalovely.net> 2010-12-27 18:15:07 CET ---
As of now, on *bsd, the plugin does the following:

on netbsd & openbsd, ioctl() on /dev/apm. Legacy, but works, and will still
work for a damn long time. The only change which could be done would be
querying sysctls.
on freebsd, it checks sysctl hw.acpi.battery.units (no idea if it works), and
seems to fallback to /dev/apm ?

regarding hal/upower.. upower is available on freebsd because someone wrote the
compat layer for it in src/freebsd, and it is of course not portable as-is for
other BSDs. I've had a look at it and gave up.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Goodies-dev mailing list