summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorOgnjen Galic <smclt30p@gmail.com>2018-02-07 15:58:44 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-21 23:27:13 +0100
commit2801b9683f740012863f7f0b1f0bc770c417fe72 (patch)
tree4d1c1cdb48d483b08cb3f792e71a6534eb4824b7 /drivers/acpi
parent285995d15d3b1725d021a8a274e55f2ce30ccfa0 (diff)
downloadlinux-2801b9683f740012863f7f0b1f0bc770c417fe72.tar.gz
linux-2801b9683f740012863f7f0b1f0bc770c417fe72.tar.bz2
linux-2801b9683f740012863f7f0b1f0bc770c417fe72.zip
thinkpad_acpi: Add support for battery thresholds
1) Charge start threshold /sys/class/power_supply/BATN/charge_start_threshold Valid values are [0, 99]. A value of 0 turns off the start threshold wear control. 2) Charge stop threshold /sys/class/power_supply/BATN/charge_stop_threshold Valid values are [1, 100]. A value of 100 turns off the stop threshold wear control. This must be configured first. Signed-off-by: Ognjen Galic <smclt30p@gmail.com> Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions