charlie0129 / batt

Control and limit battery charging on Apple Silicon MacBooks.
GNU General Public License v2.0
426 stars 20 forks source link

Turn off Magsafe LED if limit is reached #13

Open Voyzxh opened 6 months ago

Voyzxh commented 6 months ago

I was wondering if we can choose between having the Magsafe LED in green or turning it off when limit is reached. It's a bit distracting to have it in green while battery is just maintained at 80%. Thank you.

charlie0129 commented 6 months ago

I think it is possible. I can add this control in the next release.

In the mean time, you can try the attached file. It does not have a control. It just turns the LED off instead of turning green.

batt-v0.2.1-dirty-darwin-arm64.tar.gz (batt with LED-off)

KenGoBlue commented 6 months ago

I'd love to see an option to have the MagSafe LED turn off when charging is paused by batt's disable-charging-pre-sleep setting. Personally, I like seeing the LED turn green to indicate it's hit batt's limit, even if the limit is the 80% charge I've set — but having it turn off if charging is disabled when I close my MacBook lid would be a clearer indication of maybe this application's most misunderstood behavior. But either way — thanks for a really useful utility!

charlie0129 commented 6 months ago

but having it turn off if charging is disabled when I close my MacBook lid would be a clearer indication of maybe this application's most misunderstood behavior

Thank you. Great advice!