
On 14/08/12 12:28, Trent W. Buck wrote:
With other laptops, I've noticed that after a year or two of use, they become nearly useless on battery.
AIUI this feature is built into lithium chemistries. If you don't like it, buy (heavy!) batteries using a different chemistry.
No! It doesn't have to be this way.. The battery in my thinkpad has lasted a couple of years and still holds a good charge. I've been only charging the battery up to ~85% or thereabouts, as recommended by the manufacturer to prolong the lifespan, and it seems to have worked. (Unless the battery is made out of some superior kind of Lithium chemistry?)
I was talking about maintaining a battery which keeps its ability to hold a full charge. ie. By only charging the battery to ~90%, you can discharge/recharge it many more times, and still get close to the original life out of it, rather than if you charged it to 100% every time.
If that's based on what "some bloke in the pub told me", I strongly counsel you to check if it applies to the chemistry you're using. This is not my field, but I know that best practices are not portable between e.g. NiMH and Li chemistries.
It's not some bloke at the pub - it's the laptop manufacturer. You'd hope they knew best.
AIUI your original question was how to get the same functionality (stop charging at 90%) while under Linux. That will depend on vendor- or hardware-specific drivers for your thinkpad, possibly something like acpi-thinkpad.ko. And if it doesn't exist, then you can't have it (unless you keep a dual-boot Windows install around purely for the purpose of toggling between stop-at-90% and stop-at-100%). Sorry.
I didn't mention that initially because I was hoping someone that actually owns a thinkpad would reply with more specific details.
You must have missed Graeme's post the other day then - he mentioned a utility that provides this functionality. tp_smapi. Unfortunately not built into the Linux kernel, but there's an Ubuntu dkms package for it. I haven't tried it out yet -- my lappie wasn't on the list of supported models on the wiki page, and I had other stuff to do last night. -Toby