GitXplorerGitXplorer
g

charge-limiter

public
656 stars
28 forks
20 issues

Commits

List of commits on branch master.
Verified
3f709cf5fa4db3e6ca1953e52a41bb37dbe2dc5a

Update funding.yml

ggodly-devotion committed 10 months ago
Unverified
31836642d3012e3c3201fbf9a645c7196687a229

README.md: app is now code signed & notarized

ggodly-devotion committed 2 years ago
Unverified
b8c44cd3865ec0a4ff9fecce213081c377e96ab4

Merge branch 'master' of github.com:godly-devotion/charge-limiter

committed 3 years ago
Unverified
54094a8e389f4ef6dc4624bc271fa153d7560c93

README.md: added info on running older macOS versions

committed 3 years ago
Verified
6a7862d4c7bb54c1f1ed190e60a070e2e4b3886d

Allow sponsoring if desired

committed 3 years ago
Unverified
9b974ad46a8ad667661dc8f97b7bcce9c1680930

Update version to 1.5

committed 3 years ago

README

The README file for this repository.

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. The source code for bclm is also available there.

Releases

Download the latest version from the 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.

Updates

This app will automatically check and notify you for any updates when you run it.