From owner-cvs-src@FreeBSD.ORG Wed Nov 24 16:02:20 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FF0916A4CE; Wed, 24 Nov 2004 16:02:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C71E43D54; Wed, 24 Nov 2004 16:02:20 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iAOG2KVB041927; Wed, 24 Nov 2004 16:02:20 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iAOG2K68041926; Wed, 24 Nov 2004 16:02:20 GMT (envelope-from imp) Message-Id: <200411241602.iAOG2K68041926@repoman.freebsd.org> From: Warner Losh Date: Wed, 24 Nov 2004 16:02:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/acpi/acpiconf acpiconf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 16:02:20 -0000 imp 2004-11-24 16:02:20 UTC FreeBSD src repository Modified files: usr.sbin/acpi/acpiconf acpiconf.c Log: o Report charge/discharge rate and remaining capacity in the proper units (as specified in _BIF). (noted by Bruno Ducrot) o In looking in the standard, if the cap numbers are 0xffffffff, then acpi is reporting unknown for that field. Report unknown numbers properly. o Update the state to reflect charging, discharging and critical. Revision Changes Path 1.22 +38 -7 src/usr.sbin/acpi/acpiconf/acpiconf.c