Are Batttery Dis/Charge Thresholds any use?

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Are Batttery Dis/Charge Thresholds any use?

Postby debbiethekiwi » 2020-02-28 05:04

On laptops other than Lenovo? If so, why after all these years does tlp have threshold settings only for Thinkpads? Yes, some people have reported trying it on other brand laptops, but they can't load the Lenovo specific kernel module.

Is there anything for Debian that at least warns the user, if not actully switching charge on/off, at some known threshold. The latest tlp 1.3.1 from buster-backports has the default settings of 75%-80%, with the comment (ThinkPad only)
debbiethekiwi
 
Posts: 18
Joined: 2019-08-31 04:15

Re: Are Batttery Dis/Charge Thresholds any use?

Postby Hallvor » 2020-02-28 06:51

Are they useful? Short answer: Yes, they will prolong your battery's lifetime.

Long answer: Read this:
https://batteryuniversity.com/index.php ... _batteries

Charging is almost always managed by hardware, not software, so if you don't have a Thinkpad, you are probably out of luck.

It shouldn't be too hard to write a script that gives you a notification once your battery has reached a certain level, but it seems pointless to me, since the average battery life on a laptop is relatively short and you can't float charge like Thinkpads. The hassle would be greater than the gain, in my humble opinion.
Lenovo ThinkPad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Buster (KDE)
Lenovo ThinkPad X240, Intel Core i5-4300U CPU @ 2.90GHz, 8 GB RAM, 120 GB SSD, Debian Buster (KDE)
User avatar
Hallvor
 
Posts: 1087
Joined: 2009-04-16 18:35
Location: Norway

Re: Are Batttery Dis/Charge Thresholds any use?

Postby Deb-fan » 2020-02-29 02:31

^ +1 him. :)

Never taken much interest in this area but if someones scripting skills are good enough (mine mostly byte)should be easily done to set up a crontab or systemd timer and do almost anything of this nature. Including switching power profiles or setting adjustments based on system state. Check out things like that one nixer in it provides a script example you could look over. Looked good to me you might play with it. Plus 2 birds, 1 stone ... You also get to play with bash scripts too. Being gnu/Linux would be shocked if there isn't more than a few well polished solutions for something this simple. Seen plenty of battery applets that can be installed independent of which desktop a person's using and have visual indication of charge level, turn color/red when hitting a certain discharge level etc.

Might also consider using conky, it can no doubt easily monitor and display something like battery level or anything else. Conky's ridiculously versatile and be warned can be addictive, once you start playing with conky, you may never stop messing with it.

Edit: Not kidding, that is the nature of conky. Will be like ... PERFECTION! Never before has there been a more appealing, nor useful conky on earth! Then won't be able to help screwing with it some more. People freely share their .conkyrc files etc too. Whole sites dedicated to the thing. :)
Most powerful FREE tech-support tool on the planet * HERE. *
Deb-fan
 
Posts: 968
Joined: 2012-08-14 12:27


Return to Hardware

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable