zackelia / bclm

macOS command-line utility to limit max battery charge
MIT License
1.79k stars 87 forks source link

Persisting doesn't work. #38

Closed CCC121 closed 6 months ago

CCC121 commented 7 months ago

I'm using a MacBook Air (Retina, 13-inch, 2018) which is running macOS Sonoma 14.3.1. Persisting on my MacBook doesn't work. After restarting or waking up my MacBook from sleeping, the charging limit will change back to 100 even though I've persisted it using the command sudo balm persist before shutting down or sleeping. I can make sure that the command works properly because there is no error printed on the terminal while running this command. Also, when I try to run this command twice, I will get an output Already persisting!. Plus, I can see a notification of adding login item after running this command. So it seems that the command is running properly but the persisting doesn't work. Could anyone please give some advice on the solution of issue?

eproxus commented 6 months ago

Under System SettingsGeneralLogin Items, is this enabled?

Screenshot 2024-03-06 at 22 08 15
CCC121 commented 6 months ago

Under System SettingsGeneralLogin Items, is this enabled?

Screenshot 2024-03-06 at 22 08 15

It’s not enabled and after enabling it the problem seems to be solved. Thanks for your help!