在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):zackelia/bclm开源软件地址(OpenSource Url):https://github.com/zackelia/bclm开源编程语言(OpenSource Language):Swift 99.3%开源软件介绍(OpenSource Introduction):BCLMBCLM is a wrapper to read and write battery charge level max (BCLM) values to the System Management Controller (SMC) on Mac computers. This project was inspired by several battery management solutions, including Apple's own battery health management. The purpose of limiting the battery's max charge is to prolong battery health and to prevent damage to the battery. Various sources show that the optimal charge range for operation of lithium-ion batteries is between 40% and 80%, commonly referred to as the 40-80 rule [1][2][3]. This project is especially helpful to people who leave their Macs on the charger all day, every day. InstallationThe easiest method to install BCLM is through BCLM is written in Swift and is also trivial to compile. Currently, it can only be compiled on macOS Catalina (10.15) or higher but it can run on OS X Mavericks (10.9) or higher. A release zip is also provided with a signed and notarized binary for those who do not have development tools or are on an older macOS version. Brew
From Source
From Releases
Usage
When writing values, macOS charges slightly beyond the set value (~3%). In order to display 80% when fully charged, it is recommended to set the BCLM value to 77%.
Note that in order to write values, the program must be run as root. This is not required for reading values. PersistenceThe SMC can be reset by a startup shortcut or various other technical reasons. To ensure that the BCLM is always at its intended value, it should be persisted. This will create a new plist in
Likewise, it can be unpersisted which will unload the plist.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论