I just learned that some Lenovo laptops include a utility that offers to limit battery charging capacity to within 0–80% in order to slow the attenuation of the battery lifespan:
How can I do this in Ubuntu?
|
I just learned that some Lenovo laptops include a utility that offers to limit battery charging capacity to within 0–80% in order to slow the attenuation of the battery lifespan: How can I do this in Ubuntu? |
|||||
|
|
The charging thresholds are, very unfortunately, firmware and vendor specific. The Lenovo ThinkPad user is luckily provided with a solution outlined on ThinkWiki. It basically says that you would have to install and load the
and write the desired charging thresholds to virtual files in
Then it will stop charging once it reached 80% and only start charging when it drops below 40%. Toshiba and others might have a similar kernel module that exposes firmware functionality to the |
|||||||||||||||||||||
|
|
The accepted answer does not work on my new Lenovo T440s. Apparently the firmware changed. Following http://www.thinkwiki.org/wiki/Tpacpi-bat, I did
For reference, I did this on debian testing but I'm sure it works in ubuntu just as well. |
|||
|
|
|
There's a somewhat nicer application now available to Ubuntu (and other distributions):
One of the parameters it controls is maintaining battery charging limits. It still works only for Thinkpads, but given the nature of the project—if the appropriate drivers for other devices will become available, it is likely these will get integrated into this project too. So if you're reading this comment in few years, check the documentation, maybe your device is actually supported. Ubuntu packages are available in the official repository. |
||||
|
|
|
On my Toshiba R830 running Windows 8.1, I installed the Toshiba Power Saver application in order to limit the battery charge to 80% When I boot on Linux (Ubuntu, Mint, etc), the maximum charge is still limited to 80%. Therefore, the Toshiba Power Saver seems to store its configuration into the bios. The only drawback is that if I want to travel with a fully charged battery, I have to reboot on Windows and change the Power Saver configuration. |
|||||||||||||
|
|
Did you check to see whether there is a BIOS setting on your laptop for this? My laptop had a Windows Application as well as a "Battery Life Extender" setting in the BIOS for this exact feature. |
|||||
|
|
Very often (almost always) this is an option in the BIOS that Windows can change remotely. It's very difficult to remote change this in Linux. My suggestion? When starting up your computer, smash the function keys, specifically F1, F2, F3, F6, F8, F10, and F12. One of these (maybe another) will put you into the bios menu. It says which key on startup, but it doesn't usually stay up long enough. Look for power settings (only arrow keys here, no mouse). Find batter saver or batter optimizer or something along those lines. Change that to enabled, and then save and restart. This should do it. Linux tends to freak out when the battery doesn't charge past 80%, but it will just ruin your expected charge times. Nothing to worry about here. Still need help? Comment your question! Did I help? +1 me :) |
|||
|
|