There is an almost generic tool for Linux: TLP. You find it's homepage (including a link to the source code) on https://linrunner.de/tlp/. It works as power saving utility and also can adjust the battery charge levels, BUT that feature is only for ThinkPads.
To my knowledge there is no universal interface to set the charge levels of laptop batteries, so a generic utility would have to know all that vendor specific settings probably.
A short research showed, that Linux supports more than Lenovo inside some kernel drivers, so maybe that code could help you to also write software for a different OS. My advice would be to research the possibilities for Linux to then think about a generic utility for another operating system.
发布评论
评论(1)
Linux有一个几乎通用的工具:TLP。您会在。它可以用作节能实用程序,还可以调整电池充电水平,但该功能仅适用于ThinkPads。
据我所知,没有通用界面来设置笔记本电池的充电水平,因此通用实用程序可能必须知道所有特定于供应商的设置。
一项简短的研究表明,Linux在某些内核驱动程序中比联想更多的是联想,因此也许代码可以帮助您为其他操作系统编写软件。我的建议是研究Linux然后考虑另一个操作系统的通用实用程序的可能性。
There is an almost generic tool for Linux: TLP. You find it's homepage (including a link to the source code) on https://linrunner.de/tlp/. It works as power saving utility and also can adjust the battery charge levels, BUT that feature is only for ThinkPads.
To my knowledge there is no universal interface to set the charge levels of laptop batteries, so a generic utility would have to know all that vendor specific settings probably.
A short research showed, that Linux supports more than Lenovo inside some kernel drivers, so maybe that code could help you to also write software for a different OS. My advice would be to research the possibilities for Linux to then think about a generic utility for another operating system.