Commit graph

9 commits

Author SHA1 Message Date
lukem
64c295b064 some manual page improvements 2004-04-20 10:31:13 +00:00
mrg
02d38aa6ec rework the previous to not try to use _PATH_SYSMON if it isn't defined.
fixes PR#23355 finally.
2003-11-10 23:53:32 +00:00
mrg
a0b2e7b826 revert part of the previous set of changes: acpiacad is broken on some
machines so we can't use that to detect ac-power.  for now, revert to what
we were doing before.

XXX perhaps acpiacad should be used if it exists, and if it doesn't fall
XXX back to using "acpibat.*discharging".  then people with broken acpiacad
XXX can simply not include that driver in their kernel, but worry about
XXX that again after pkgsrc freeze.

also, check __NetBSD_Version__ to see when various envsys(4) API changes
occured, and avoid using new methods on old systems. this should fix PR#23355.
2003-11-05 07:26:04 +00:00
mycroft
21129e534b More ACPI-related changes:
* Recognize "charge" in addition to "energy".
* Test ENVSYS_FCURVALID.
2003-11-01 09:25:31 +00:00
mrg
89a0711390 make xbattbar work in the presense of multiple acpibat's. also, note
that we're not on AC power via the acpiacad's 'disconnected' entry, not
one of the battery's "discharging" entries, as the latter may be true
even while on AC power.
2003-11-01 04:03:18 +00:00
agc
ab4f8839a0 Update xbattbar to 1.4.2nb3 by adding support for ACPI - if APM
doesn't work, try to use ACPI to get the battery charge value, and AC
charging switch.

Known to work on my Sony VAIO (PCG-GRX315MP) with ACPI, and with thanks to:
	Lubomir Sedlacik for testing on an IBM T22 with ACPI
	Manuel Bouyer for testing on an IBM Thinkpad 600e with APM, and
	Brian A. Seklecki for testing on a Sony PCG-R505
2003-10-19 09:25:02 +00:00
wiz
4353c85a3c Add 'new' NetBSD-apm support, based on patch from Love in pkg/14554.
Bump version to 1.4.2nb1.
2001-11-26 20:07:34 +00:00
jlam
9f86496eea Update xbattbar to 1.4.1. No list of changes from version 1.4. Improve
description somewhat to explain why xbattbar is cooler than the other
X11 battery status indicators.
2001-01-26 01:28:26 +00:00
itojun
68cd3a904b xbattbar, X11 battery graph 2000-12-14 22:20:25 +00:00