When the laptop is charged to 95%, I want to stop charging...
Code:
# hwstat
Current Unit
[Coretemp]
CPU0: Cannot get temperature
CPU1: Cannot get temperature
CPU2: Cannot get temperature
CPU3: Cannot get temperature
CPU4: Cannot get temperature
CPU5: Cannot get temperature
CPU6: Cannot get temperature
CPU7: Cannot get temperature
[ACPI Thermal]
tz0: 56.1 C
[ACPI Battery (sysctl)]
Cap remain: 75 percents
Life time: 148 Min(s)
State: 1
Units: 2
[battery0]
Present: yes
Design capacity: 21330 mWh
Last full capacity: 22930 mWh
Technology: secondary (rechargeable)
Design voltage 11400 mV
Capacity (warn): 1146 mWh
Capacity (low): 200 mWh
Low/warn granularity: -1 mWh
Warn/full granularity: -1 mWh
Model number: 00HW022
Serial number: 1020
Type: LiP
OEM info: LGC
State: discharging
Remaining capacity: 37 percent
Remaining time: 0:29
Present rate: 17566 mW
Voltage: 11097 mV
[battery1]
Present: yes
Design capacity: 71100 mWh
Last full capacity: 35020 mWh
Technology: secondary (rechargeable)
Design voltage 11250 mV
Capacity (warn): 1751 mWh
Capacity (low): 200 mWh
Low/warn granularity: -1 mWh
Warn/full granularity: -1 mWh
Model number: 01AV492
Serial number: 852
Type: LION
OEM info: LGC
State: high
Remaining capacity: 100 percent
Remaining time: 1:59
Present rate: 0 mW
Voltage: 12307 mV
Code:
# uname -a
FreeBSD bleakwind.xxx.com 12.2-RELEASE-p6 FreeBSD 12.2-RELEASE-p6 GENERIC amd64
Code:
# dmidecode -t 1
System Information
Manufacturer: LENOVO
Product Name: 20L5A01UHH
Version: ThinkPad T480