Subject: CVS commit: src/sys/dev/acpi
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 09/02/2007 19:38:32
Module Name: src
Committed By: xtraeme
Date: Sun Sep 2 19:38:32 UTC 2007
Modified Files:
src/sys/dev/acpi: acpi_bat.c
Log Message:
Add a new sensor of type ENVSYS_GSTRING. This is useful to print
the current battery charge state.
$ envstat -dacpibat0 -s"acpibat0 charge state"
acpibat0 charge state: NORMAL
$
It will show WARNING, CRITICAL, LOW or NORMAL depending on the
state it is.
To generate a diff of this commit:
cvs rdiff -r1.54 -r1.55 src/sys/dev/acpi/acpi_bat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.