zackelia / bclm

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

BCLM persist failing on launch with code -9 #29

Closed SimonT256 closed 1 month ago

SimonT256 commented 9 months ago

Hi,

The utility works as expected, but doesn't persist on launch. I've set the value at 80, but when I run bclm read after a reboot, I get 100. This is on a mid 2012 MacBook Pro running Catalina.

I checked for the launch status code of the plist file and got this:

sudo launchctl list | grep com.zackelia.bclm.plist

Is this a SIGKILL? I did get a popup at boot, asking since BCLM was downloaded from the internet, should I allow it to run? I clicked Allow. And if it hadn't run, I wouldn't expect to get an entry in launchctrl list anyway... confusing, eh?

Tried it several times, same result.

zackelia commented 9 months ago

Yes I believe that output is indicating SIGKILL.

I did get a popup at boot, asking since BCLM was downloaded from the internet, should I allow it to run?

This is a little suspect to me, I don't think this should be happening because I have signed and notarized the binary. How did you install it, from brew or the GitHub release?

SimonT256 commented 8 months ago

I installed it from the Github release.On 21 Dec 2023, at 17:03, Zack Elia @.***> wrote: Yes I believe that output is indicating SIGKILL.

I did get a popup at boot, asking since BCLM was downloaded from the internet, should I allow it to run?

This is a little suspect to me, I don't think this should be happening because I have signed and notarized the binary. How did you install it, from brew or the GitHub release?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>