For thinkpads this is possible using the following sysfs nodes:
echo 40 > /sys/devices/platform/smapi/BAT0/start_charge_thresh
echo 70 > /sys/devices/platform/smapi/BAT0/stop_charge_thresh
This will start charging when remaining charge drops below 40% and stop 
charging when charged for 70%.

One could consider looking in the smapi directory, loop over the
batteries, and set preset values for start and stop.

This functionality requires the tp_smapi module, which is not included
in the main tree, but also provides some other useful features (hard
disk protection).

-- 
Support for battery recharge thresholds
https://bugs.launchpad.net/bugs/120457
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kde-guidance in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to