Lithium-based Batteries are not supposed to constantly sit a maximum charge. This damages them and reduces their lifespan. This is why some people take the battery out when using the laptop plugged in; but I don't want to do this, because then a power outage could cause data loss.
On the Samsung N150 netbook, there is a BIOS SETUP option to set the max battery charge level to 80%. Then you can leave the netbook plugged in, with the battery installed, and still preserve the battery's lifespan. I want to do it with my HP G42-230BR laptop, which does not have such a BIOS SETUP option. It should still be possible with software, right?
I have Googled and did not found how to do it: https://www.google.com/search?q=ubuntu|linux+partial+charge|recharge+battery+life
Do you know how to do it?
Thank you very much for your attention