Module Name: src Committed By: drochner Date: Wed Jan 27 22:17:28 UTC 2010
Modified Files: src/sys/dev/acpi: acpi_bat.c Log Message: the "Battery Present Rate" is only required to be valid if the battery is discharging; it might make sense when charging, but it doesn't make sense if neither is the case -- remove a wrong assertion and arrange the code to make this obvious (actually, the ACPI spec says that the requirement is only for rechargeable batteries) To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79 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.