auto-clock-speed icon indicating copy to clipboard operation
auto-clock-speed copied to clipboard

Set Charging Threshold

Open Shuzhengz opened this issue 3 years ago • 5 comments

Set a manual or automatic charging threshold so that the laptop stops charging at a specific point (i.e. 60%) so it doesn't damage the battery when used as a desktop while plugged in

Shuzhengz avatar Jan 22 '22 08:01 Shuzhengz

Do we know of a way to stop something from charging? I'll look into it, but if anyone knows, post here

JakeRoggenbuck avatar Feb 20 '22 03:02 JakeRoggenbuck

I found something helpful https://unix.stackexchange.com/questions/48534/how-to-adjust-charging-thresholds-of-laptop-battery#190728

JakeRoggenbuck avatar Feb 20 '22 03:02 JakeRoggenbuck

I found the path in /sys/class/power_supply/BAT0/charge_stop_threshold/

Shuzhengz avatar Jun 18 '22 20:06 Shuzhengz

but then theres the charge_control_end_threshold, which seems to do the same thing

Shuzhengz avatar Jun 18 '22 20:06 Shuzhengz

This might be different for other laptops.

For example, on my Framework I need to call a program that writes commands to the firmware controller.

The Steam Deck doesn't have this feature exposed to the user either, but does automatically limit max charge if plugged in for a long time.

taotien avatar Apr 15 '23 20:04 taotien