charge-limiter icon indicating copy to clipboard operation
charge-limiter copied to clipboard

There was a problem setting the charge limit

Open florin-hcl opened this issue 3 years ago • 8 comments

So this app worked with no problems until now. Suddenly, it says "There was a problem setting the charge limit. Please make sure you have administrator privileges." and this is my own computer and I'm the admin... I own it... no problems... until now. For some reason I can't change the charge limit in v1.5.

florin-hcl avatar Nov 30 '21 20:11 florin-hcl

Is this a new problem after updating to v1.5 or were you using this version before without issue? What is your MacBook and macOS version?

godly-devotion avatar Nov 30 '21 22:11 godly-devotion

This is a new problem after the latest update. I'm using macOS Monterey 12.0.1 on a MacBook Pro 13'' i5 2016

florin-hcl avatar Dec 01 '21 07:12 florin-hcl

If you open Terminal app and paste this command, what's the output? (It should set the charge limit to 80%)

sudo /Applications/Charge\ Limiter.app/Contents/Resources/bclm write 80

godly-devotion avatar Dec 01 '21 15:12 godly-devotion

After I started getting that error, the limit was removed and the battery charged to 100%.

I reinstalled the app, I typed that command in Terminal and I got the usual macOS popup about unverified developers, I went to Security and opened Charge Limiter from there. I got the same error as before.

Then, I typed the same thing in Terminal again and I didn't get any kind of message or output (except sudo asking for credentials). I let my battery discharge down to 77%, I plugged the laptop back in and now charging stopped at 83%. When I click on the battery icon in the top bar it says "Battery Is Not Charging".

The command line worked fine! It feels like it's something related to the GUI.

florin-hcl avatar Dec 01 '21 20:12 florin-hcl

i had the same error - it looks like the gui prompts for a value between 40-100, but the command line prompts for a value between 50-100.

i entered the gui again and tried 50 and got a "success!" message

triumphantomato avatar Jul 14 '22 19:07 triumphantomato

sudo /Applications/Charge\ Limiter.app/Contents/Resources/bclm write 80

keyNotFound(code: "BCLM")

on macos 13.2

jcherrera avatar Jan 24 '23 16:01 jcherrera

macbook air 11 2013 big sur 11.7.10

with trick "sudo /Applications/Charge\ Limiter.app/Contents/Resources/bclm write 80"

Success!

If your MacBook currently has more than 80% charge, leave the charger unplugged until the battery level is a little less than that. Afterwards, you can leave the MacBook connected to the charger and the battery will not charge over 80%.

thanks

charly32 avatar Dec 05 '23 14:12 charly32