diff --git a/README.md b/README.md index 03ec425..fc6abcc 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ Set charge limit for MacBooks. ## Description -This utility is written in Javascript Application Scripting (or JXA) using Apple's Script Editor. +This app modifies a parameter called `BCLM` (presumably "Battery Charging Level Max") in the SMC which limits the charge of the battery to a set value. -The source code can be viewed by opening `src/charge-limiter.app` in Script Editor. +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 `smcutil` binary (located under `src/charge-limiter.app/Contents/Resources`) was copied from [this repository](https://github.com/sicreative/BatteryStatusShow/blob/master/BatteryStatusShow/smcutil/Products/usr/local/bin/smcutil). The source code for `smcutil` is also available there. diff --git a/src/charge-limiter.app/Contents/Info.plist b/src/charge-limiter.app/Contents/Info.plist index 3b0163b..daf0c58 100644 --- a/src/charge-limiter.app/Contents/Info.plist +++ b/src/charge-limiter.app/Contents/Info.plist @@ -25,7 +25,7 @@ LSMinimumSystemVersionByArchitecture x86_64 - 10.6 + 10.12 LSRequiresCarbon diff --git a/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt b/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt index c0fb0ea..fbc6a29 100644 Binary files a/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt and b/src/charge-limiter.app/Contents/Resources/Scripts/main.scpt differ