Closed exiva closed 4 years ago
Has charge limit value been saved after your macbook reboot?
@exiva I have the exact same MacBook as you, so it should work. I couldn't find an easy way to read the max battery charge level from the terminal so I put together some swift code that you can quickly compile and run to verify. It uses the same SMC.swift from the helper tool appended with a few lines to read the BCLM value. I posted the code in a gist here.
$ swiftc read-bclm.swift
$ ./read-bclm
77
@zackelia Hmm. That came back as 100, and any time I change the value in aldente it stays at 100. 🤔 Let me try a reboot and see what happens.
https://github.com/sicreative/BatteryStatusShow Maybe this application will work and it will change BCLM value in SMC.
Or you can try my simple script https://github.com/DevNulPavel/osx_battery_charge_limit
All of this applications have the same logic
Ok, I rebooted and it reset back to 100 in aldente. Now changing it in aldente is being reflected in the check app @zackelia posted. I guess a reboot is required before it is able to modify the SMC params. Going to discharge my battery some and see what happens.
Rebooting after installing did the trick. Thanks again for the help.
I installed AlDente on my MacBook Pro (Retina, 13-inch, Early 2015) Running 10.15.5, Set the max to 80%, and discharged the battery to 50%. Plugged it in, and it charged back up to 100% despite the 80% limit. Do you need to reboot or something after the change is set? Is there a way to verify the new limit got set with a command or something?
Love the idea of the app, especially since the native Apple one is disabled on machines that would actually benefit from it. Hopefully can get this working. Thanks!