mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 23:01:04 +07:00
3f57fe28f8
Add a driver to control the charging algorithm used on Wilco devices. See Documentation/ABI/testing/sysfs-class-power-wilco for the userspace interface and other info. Signed-off-by: Nick Crews <ncrews@chromium.org> Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
What: /sys/class/power_supply/wilco-charger/charge_type
|
|
Date: April 2019
|
|
KernelVersion: 5.2
|
|
Description:
|
|
What charging algorithm to use:
|
|
|
|
Standard: Fully charges battery at a standard rate.
|
|
Adaptive: Battery settings adaptively optimized based on
|
|
typical battery usage pattern.
|
|
Fast: Battery charges over a shorter period.
|
|
Trickle: Extends battery lifespan, intended for users who
|
|
primarily use their Chromebook while connected to AC.
|
|
Custom: A low and high threshold percentage is specified.
|
|
Charging begins when level drops below
|
|
charge_control_start_threshold, and ceases when
|
|
level is above charge_control_end_threshold.
|
|
|
|
What: /sys/class/power_supply/wilco-charger/charge_control_start_threshold
|
|
Date: April 2019
|
|
KernelVersion: 5.2
|
|
Description:
|
|
Used when charge_type="Custom", as described above. Measured in
|
|
percentages. The valid range is [50, 95].
|
|
|
|
What: /sys/class/power_supply/wilco-charger/charge_control_end_threshold
|
|
Date: April 2019
|
|
KernelVersion: 5.2
|
|
Description:
|
|
Used when charge_type="Custom", as described above. Measured in
|
|
percentages. The valid range is [55, 100].
|