Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2020 22:27:14 +0100
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   acpiconf does not return proper information about the second battery
Message-ID:  <22aa2ae6-088c-8d6c-8080-71a5db2eee4c@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22aa2ae6-088c-8d6c-8080-71a5db2eee4c>