Skip to content

FR: set and show stop_charge_thresh if exists

Submitted by unh..@..@mm.st

Assigned to Xfce-Goodies Maintainers

Link to original bug (#8264)

Description

Currently I do

echo 70 |sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh

to set the charge stop threshold (in order to prolong li-ion battery life) and then

echo 100 |sudo tee /sys/devices/platform/smapi/BAT0/stop_charge_thresh

the few times I want a full charge.

A nice feature would be to be able to show and set the stop_charge_thresh value from the battery plugin.