Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.project > #9850
| From | Martin Steigerwald <martin@lichtvoll.de> |
|---|---|
| Newsgroups | linux.debian.project |
| Subject | Re: Power-Management |
| Date | 2018-04-26 16:40 +0200 |
| Message-ID | <vIQdX-5xT-1@gated-at.bofh.it> (permalink) |
| References | <vIyK6-1PQ-5@gated-at.bofh.it> <vIOc9-4cp-7@gated-at.bofh.it> <vIOYy-4KO-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Marc Haber - 26.04.18, 15:12: > On Thu, Apr 26, 2018 at 10:12:40PM +1000, Russell Stuart wrote: > > laptop-mod-mode tools seems to put the laptop into pretty optimal > > settings without me having to touch anything, or so powertop says. > > Can Laptop-mode-tools in Thinkpads also limit charging of that battery > to 70 % or another non-100 percentage? > > Unfortunately laptop-mode-tools conflicts tlp which is currently my > tool to implement the battery saving charge limit. tp-smapi can: /sys/bus/platform/drivers/smapi/smapi/BAT0> ls -l st*_charge_thresh -rw-r--r-- 1 root root 4096 Apr 26 16:21 start_charge_thresh -rw-r--r-- 1 root root 4096 Apr 26 16:21 stop_charge_thresh /sys/bus/platform/drivers/smapi/smapi/BAT0> echo "80" > stop_charge_thresh /sys/bus/platform/drivers/smapi/smapi/BAT0> cat stop_charge_thresh 80 Oh, it can even set the start charge threshold meanwhile, nice: /sys/bus/platform/drivers/smapi/smapi/BAT0> echo 95 > stop_charge_thresh /sys/bus/platform/drivers/smapi/smapi/BAT0> LANG=C echo 90 > start_charge_thresh /sys/bus/platform/drivers/smapi/smapi/BAT0> I think I set just the start_charge_threshold, I am not sure of the benefit of stopping charging at below the maximum capacity the battery can still hold. But charging for just a few percent of capacity having been used up does not make sense. You need tp-smapi-dkms debian package. ThinkPad T520 with 4.16.3 self compiled kernel. Its getting somewhat off-topic here as its not about what the project can do anymore. Well it could provide some defaults, probably. Thanks, -- Martin
Back to linux.debian.project | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Power-Management ismael.alsabea@gmail.com - 2018-04-25 22:00 +0200
Re: Power-Management Chris Lamb <lamby@debian.org> - 2018-04-26 10:40 +0200
Re: Power-Management Marc Haber <mh+debian-project@zugschlus.de> - 2018-04-26 11:10 +0200
Re: Power-Management Geert Stappers <stappers@stappers.nl> - 2018-04-26 11:40 +0200
Re: Power-Management Martin Steigerwald <martin@lichtvoll.de> - 2018-04-26 11:50 +0200
Re: Power-Management Russell Stuart <russell-debian@stuart.id.au> - 2018-04-26 14:30 +0200
Re: Power-Management Marc Haber <mh+debian-project@zugschlus.de> - 2018-04-26 15:20 +0200
Re: Power-Management Martin Steigerwald <martin@lichtvoll.de> - 2018-04-26 16:40 +0200
Re: Power-Management Marc Haber <mh+debian-project@zugschlus.de> - 2018-04-26 17:00 +0200
Re: Power-Management Russell Stuart <russell-debian@stuart.id.au> - 2018-04-27 01:40 +0200
Re: Power-Management Jeroen Dekkers <jeroen@dekkers.ch> - 2018-04-27 13:50 +0200
Re: Power-Management Andrey Rahmatullin <wrar@debian.org> - 2018-04-27 14:00 +0200
Re: Power-Management Hideki Yamane <henrich@iijmio-mail.jp> - 2018-05-06 06:10 +0200
csiph-web