| Summary: | tp_smapi, exposes some SMAPI funtionality via a sysfs interface | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Christian Dersch <christian.dersch> |
| Component: | New RPM package request | Assignee: | Kernel and Drivers maintainers <kernel> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | doktor5000, fri, mageia.org, marja11, matija, pterjan, tmb |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://sourceforge.net/projects/tpctl/files/tp_smapi/ | ||
| See Also: | https://bugs.mageia.org/show_bug.cgi?id=21542 | ||
| Whiteboard: | |||
| Source RPM: | tp_smapi | CVE: | |
| Status comment: | |||
|
Description
Christian Dersch
2011-06-12 08:57:43 CEST
Marja Van Waes
2011-10-20 10:26:09 CEST
URL:
(none) =>
http://sourceforge.net/projects/tpctl/files/tp_smapi/ set version to cauldron, because package requests will usually be done for cauldron first and then be available in next stable release Source RPM:
(none) =>
tp_smapi still no tp_smapi ( or at least urpmf tp-smapi find nothing ) mageia killed my lithium ion thinkpad x220 in less than a year ). I fear this tp_smapi feature is most needed for thinkpad users, or a workaround for most lithium ion battery users ). . . CC:
(none) =>
mageia.org err i meant killed the x220 _battery_ in less than a year, not the laptop itself. ( I cant edit my comment above so i have to post a second comment, sorry for this ) (In reply to Neo Futur from comment #3) > err i meant killed the x220 _battery_ in less than a year, not the laptop > itself. ( I cant edit my comment above so i have to post a second comment, > sorry for this ) Yeah, I killed one battery too fast, too, by assuming all ThinkPads are the same :-/ Some ThinkPads seem to come with good default setting: not doing anything works fine and the battery lives long. For some other ThinkPads, the limits (for when to start loading the battery and when to stop) that are set in Windows right after the laptop was bought, are also honoured in Linux. And for some, like the one I'm writing this on, and the mentioned one which battery I killed, it isn't even possible to set any limit in Windows. I doubt tp_smapi will work on such laptops. I take out he battery now, when using a power outlet nearby and it is 90% full or more. But it is too easy to load it further than desired upper limit of 95% :-/ When not really needing the battery, it can also be taken out and stored for a long time when it is 70% full (or whichever % Lenovo advised for that battery), which will keep it in a good shape. CC:
(none) =>
doktor5000, tmb As an alternative and for newer thinkpads, this script http://www.thinkwiki.org/wiki/Tpacpi-bat can be used, unfortunately it also requires the additional acpi_call kernel module. Also TLP would be a good idea: http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes. You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager Assignee:
bugsquad =>
pkg-bugs I second the idea to include TLP. Florian, since you brought it up, do you mind creating a new bug report for it? CC:
(none) =>
matija
Marja Van Waes
2017-08-16 10:53:30 CEST
See Also:
(none) =>
https://bugs.mageia.org/show_bug.cgi?id=21542 TLP was packaged for cauldron last year (see bug 21542), but it still needs the tp-smapi and acpi-call kernel modules to be fully functional. Reassigning this request to the kernel & drivers maintainers. Assignee:
pkg-bugs =>
kernel
Morgan Leijström
2019-03-04 15:55:06 CET
CC:
(none) =>
fri Since kernel 4.17 it is possible to read or change the battery charging thresholds via /sys/class/power_supply/BAT0/charge_{start,stop}_threshold
Are those still needed for something else?CC:
(none) =>
pterjan TLP has support for that native interface https://github.com/linrunner/TLP/blob/5934be84c8d934d8d37b73db28a291751d1f6831/func.d/35-tlp-func-batt#L29 |