Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/godly-devotion/charge-limiter
macOS app to set battery charge limit for Intel MacBooks
https://github.com/godly-devotion/charge-limiter
battery battery-health battery-life charging macbook-battery-health macos
Last synced: 5 days ago
JSON representation
macOS app to set battery charge limit for Intel MacBooks
- Host: GitHub
- URL: https://github.com/godly-devotion/charge-limiter
- Owner: godly-devotion
- License: gpl-3.0
- Created: 2020-05-28T14:25:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T14:55:51.000Z (9 months ago)
- Last Synced: 2024-12-13T16:49:26.795Z (12 days ago)
- Topics: battery, battery-health, battery-life, charging, macbook-battery-health, macos
- Language: Rich Text Format
- Homepage:
- Size: 467 KB
- Stars: 656
- Watchers: 25
- Forks: 28
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Charge Limiter
macOS app to set battery charge limit for Intel MacBooks
## Description
This app modifies a parameter called `BCLM` (presumably "Battery Charge Level Max") in the SMC which limits the charge of the battery to a set value. It also modifies a parameter called `BFCL` ("Battery Final Charge Level") which controls the MagSafe LED indicator light to display the correct status.
The source code can be viewed by opening `src/Charge Limiter.app` in Apple's Script Editor. It is written in Javascript Application Scripting (or JXA).
The companion `bclm` binary (located under `src/Charge Limiter.app/Contents/Resources`) was copied from [this repository](https://github.com/zackelia/bclm). The source code for `bclm` is also available there.
## Releases
Download the latest version from the [releases](https://github.com/godly-devotion/charge-limiter/releases) page.
## Running
After setting a charge limit, the app will silently run and reapply the desired charge level again if you restart your Mac. If you wish to fully charge the battery again, set the charge limit to "100". This will also remove the charge limit persistency on boot. Afterwards, if you do not need the app anymore you can safely move it to the trash.
If you are running macOS High Sierra (10.13) or older, you may need to install [Swift 5 Runtime Support](https://support.apple.com/kb/dl1998?locale=en_US).
## Updates
This app will automatically check and notify you for any updates when you run it.