[Bug 234403] [acpi_ibm] Support ThinkPad battery charge start/stop control

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 27 16:39:30 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234403

--- Comment #7 from Manuel Stühn <freebsd at justmail.de> ---
(In reply to Kevin Zheng from comment #6)
I've tried the following:

# sysctl hw.acpi.battery
hw.acpi.battery.info_expire: 5
hw.acpi.battery.units: 2
hw.acpi.battery.state: 1
hw.acpi.battery.time: 156
hw.acpi.battery.life: 57
# sysctl dev.acpi_ibm.0 | grep charge
dev.acpi_ibm.0.bat0_charge_stop: 90
dev.acpi_ibm.0.bat0_charge_start: 50

If i plug in the laptop then, it seems to charge anyway:

# sysctl hw.acpi.battery
hw.acpi.battery.info_expire: 5
hw.acpi.battery.units: 2
hw.acpi.battery.state: 2
hw.acpi.battery.time: -1
hw.acpi.battery.life: 58

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-acpi mailing list