| Summary: | acpiconf with remaining battery life and time | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Rudolf Čejka <cejkar> | ||||||||||
| Component: | bin | Assignee: | freebsd-acpi (Nobody) <acpi> | ||||||||||
| Status: | Closed FIXED | ||||||||||||
| Severity: | Affects Only Me | ||||||||||||
| Priority: | Normal | ||||||||||||
| Version: | 5.3-STABLE | ||||||||||||
| Hardware: | Any | ||||||||||||
| OS: | Any | ||||||||||||
| Attachments: |
|
||||||||||||
State Changed From-To: open->closed Committed variants of these, hope to MFC them to 6.0-RELEASE. Thanks. Responsible Changed From-To: freebsd-bugs->freebsd-acpi Committed variants of these, hope to MFC them to 6.0-RELEASE. Thanks. |
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: