Bug 194601

Summary: FreeBSD 10.1-RC3 does not update acpi battery status from discharging when charging
Product: Base System Reporter: Juha Nygård <moertael>
Component: kernAssignee: freebsd-acpi (Nobody) <acpi>
Status: Closed Feedback Timeout    
Severity: Affects Many People CC: fernape
Priority: ---    
Version: 10.1-STABLE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
dmesg none

Description Juha Nygård 2014-10-25 19:51:34 UTC
Created attachment 148643 [details]
dmesg

On HP Elitebook 2530p with latest bios (no idea if bios related or not) acpiconf -i0 does not show updated battery status. Like 173408 but without the often part. Shows discharging even though battery is charging. IIRC with 100 % battery charging/discharging indication worked normally.

root@elite:~ # acpiconf -i0
Design capacity:        5100 mAh
Last full capacity:     4806 mAh
Technology:             secondary (rechargeable)
Design voltage:         10800 mV
Capacity (warn):        200 mAh
Capacity (low):         100 mAh
Low/warn granularity:   100 mAh
Warn/full granularity:  100 mAh
Model number:           Primary
Serial number:          02365 2010/03/11
Type:                   LIon
OEM info:               Hewlett-Packard
State:                  discharging <----------------
Remaining capacity:     98%
Remaining time:         5:59
Present rate:           791 mA (9650 mW)
Present voltage:        12201 mV
Comment 1 Marcus von Appen freebsd_committer freebsd_triage 2015-02-18 11:54:22 UTC
Updated 10.1-BETA and 10.1-RC versioned bugs to 10.1-STABLE.
Comment 2 Ian Smith 2015-03-12 05:13:45 UTC
This looks like another that may/should have been fixed by r277579
(see https://svnweb.freebsd.org/changeset/base/277579) in relation
to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162859

which was merged to stable/10 and stable/9 on 2015-01-26 21:21:42 UTC
although Marcus' Feb 18 comment suggests he should have picked that up?

If your /sys/dev/acpica/acpi_ec.c is not >= r277579 then you should
update stable/10 again .. otherwise there is perhaps still an issue?

Ian
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2023-01-24 16:28:04 UTC
This not a supported FreeBSD version anymore.

Also, feedback timeout.