I know that charging battery near 100% is bad. However, a charging threshold can be set by using tp_smapi or tlp.
Unfortunately, this package is only for Thinkpad.
How can I set this for a non-Thinkpad laptop?

closed as too broad by Rui F Ribeiro, Mr Shunz, Archemar, Stephen Harris, X Tian Jan 25 at 10:26

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


Most vendors to not expose such an API and there is not one in the Kernel, so either it's handled in hardware, or the BIOS (check for a setting there). The reason is lithium batteries can catch on fire when changed improperly so most would consider it unwise to plug that system into something as buggy and malware prone as a modern OS, or letting end users anywhere close to it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.