acpiconf does not return proper information about the second battery

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Tue, 25 Feb 2020 22:27:14 +0100
Hello current,

I've upgraded to r358233 recently (from a 13.0-CURRENT snapshot from 
late January).

Since the upgrade, I cannot get full information about my second battery 
with acpiconf (I'm using Lenovo Thinkpad T480).

The number of batteries is detected properly. It is just the details of 
the second one that are not available. Here are the outputs of acpiconf 
invocations:

$ acpiconf -i 0
Design capacity:    24000 mWh
Last full capacity:    18600 mWh
Technology:        secondary (rechargeable)
Battery Swappable Capability:    Non-swappable
Design voltage:        11460 mV
Capacity (warn):    930 mWh
Capacity (low):        200 mWh
Cycle Count:        174
Mesurement Accuracy:    95 %
Max Average Interval:    1000 ms
Min Average Interval:    500 ms
Low/warn granularity:    -1 mWh
Warn/full granularity:    -1 mWh
Model number:        01AV421
Serial number:         4058
Type:            LiP
OEM info:        SMP
State:            high
Remaining capacity:    100%
Remaining time:        unknown
Present rate:        0 mW
Present voltage:    12503 mV



$ acpiconf -i 1
Design capacity:    0 mWh
Last full capacity:    0 mWh
Technology:        primary (non-rechargeable)
Design voltage:        0 mV
Capacity (warn):    0 mWh
Capacity (low):        0 mWh
Cycle Count:        0
Mesurement Accuracy:    0 %
Max Sampling Time:    0 ms
Min Sampling Time:    0 ms
Max Average Interval:    0 ms
Min Average Interval:    0 ms
Low/warn granularity:    0 mWh
Warn/full granularity:    0 mWh
Model number:
Serial number:
Type:
OEM info:
State:            not present
Present voltage:    11513 mV



The "Present voltage" of the second battery changes to "unknown" when 
the battery is removed.
Received on Tue Feb 25 2020 - 20:26:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC