! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
FR: set and show stop_charge_thresh if exists
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-battery-plugin
Component:
General

Comments

Description unhammer+dill 2011-12-21 15:46:59 CET
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.
Comment 1 Yves-Alexis Perez editbugs 2011-12-21 21:44:58 CET
This is a very specific features:

* only present on thinkpad laptops
* not supported by mainline Linux (needs tp-smapi module)
* needs root permissions.
Comment 2 unhammer+dill 2011-12-22 09:11:33 CET
Ah, I thought remaining_capacity was read from the same directory anyway. Didn't know the feature was that uncommon.
Comment 3 Landry Breuil editbugs 2014-11-23 21:43:16 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 4 Git Bot editbugs 2020-05-22 23:07:49 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-battery-plugin/-/issues/2.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #8264

Reported by:
unhammer+dill
Reported on: 2011-12-21
Last modified on: 2020-05-22

People

Assignee:
Xfce-Goodies Maintainers
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information