OpenGamepadUI icon indicating copy to clipboard operation
OpenGamepadUI copied to clipboard

Add charge limit to supported battery models

Open pastaq opened this issue 2 years ago • 1 comments

Some batteries provide a sysfs character file to limit charging to a specified percentage and only start again after reaching another. We should expose sliders in PowerTools to set the charge limit if /sys/class/power_supply/BAT*/charge_control_end_threshold and/or /sys/class/power_supply/BAT*/charge_control_start_threshold exist to allow users to limit battery degradation while docked.

pastaq avatar May 31 '23 18:05 pastaq

This issue is more complicated and will need some different logic for different devices.

pastaq avatar Jun 30 '25 08:06 pastaq