zackelia / bclm

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

Persisting doesn't work. #38

Closed CCC121 closed 8 months ago

CCC121 commented 9 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 8 months ago

Under System SettingsGeneralLogin Items, is this enabled?

Screenshot 2024-03-06 at 22 08 15
CCC121 commented 8 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!