Bug 83672

Summary: acpiconf with remaining battery life and time
Product: Base System Reporter: Rudolf Čejka <cejkar>
Component: binAssignee: freebsd-acpi (Nobody) <acpi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.3-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
file.diff
none
file.diff none

Description Rudolf Čejka 2005-07-18 15:40:33 UTC
	There are four patches:

	Patch #1: Just style fix, which renames deprecated
	ACPIIO_CMBAT_GET_B* to ACPIIO_BATT_GET_B*.

	Patch #2: Just another style fix, which changes some upper letters
	to the lower letters, so all lines are printed in the same style -
	with just first upper letter.

	Patch #3: This patch adds two lines in acpiconf -i0 output after
	Remaining capacity line, so that remaining energy is printed in
	three forms: capacity in mAh/mWh and newly in percentage and in
        time form, like apm did (so I can finally switch from apm to
        acpiconf :o).

	Patch #4: Consumption rate is in mA/mW, not in mAh/mWh, so this
	patch fixes the printed unit.

Fix: Patch #1:

Patch #2:

Patch #3:

Patch #4:
Comment 1 njl freebsd_committer freebsd_triage 2005-07-28 20:37:29 UTC
State Changed
From-To: open->closed

Committed variants of these, hope to MFC them to 6.0-RELEASE.  Thanks. 



Comment 2 njl freebsd_committer freebsd_triage 2005-07-28 20:37:29 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-acpi

Committed variants of these, hope to MFC them to 6.0-RELEASE.  Thanks.