I have bought a Lenovo Ideapad that cames with Windows preinstalled. I installed Ubuntu 14.04 to dual boot. There is a tool for Windows called Lenovo Energy Manager that allows to control the charge of your battery, I mean, I can configure it so that when my computer is connected to AC and the charge is 60%, the computer takes all the energy from the AC and not from the battery. Doing this the battery lifetime is longer. Do you know some software similar for Ubuntu?
There is no true solution regarding this because Lenovo has not yet created anything like TVSU for linux. But there has been an interesting forum post regarding this particular post : Forum Link
Hope this clarifies something for you!
A little late, but it is possible to do this - especially with lenovos. See: https://askubuntu.com/questions/34452/how-can-i-limit-battery-charging-to-80-capacity
From Ubuntu but works for all lenovos, just need the tp_smpai kernel module. Other brands have similar things.
I have a trick for conservation mode in linux! first boot to Windows. Connect AC cable and turn on conservation mode in lenovo energy manager and wait until the charging stops(about 60 percent). Now restart system and boot to linux and enjoy... This solution works for me in lenovo ideaPad Z-510 and ubuntu 12.04
in Ubuntu 20.04 and above the Kernel can access the acpi calls.
There is a Gnome extention that has a GUI for this and also acts as an indicator, I tried it on Ubuntu 20.04 and works fine.click here
there is also a manual method from the terminal
reading the current status:
enable Conservation mode:
echo 1 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode
disable conservation mode:
echo 0 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode