zackelia / bclm

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

Hackintosh Support #10

Closed seanliu96 closed 3 years ago

seanliu96 commented 3 years ago

Hi zackelia,

I am using Hackintosh on my T460s with v0.0.4, but I got the KeyNotFound(code: "BCLM") error.

Could you please tell me some details about how to check the SMC status from .kext files.

Thanks.

seanliu96 commented 3 years ago

I think https://github.com/acidanthera/VirtualSMC should be the relevant file.

zackelia commented 3 years ago

It looks like if you used something like VirtualSMC, you would be able to use this project as long as it provides the bclm key (bfcl is optional). It is necessary though as the SMC is actual hardware in Mac computers.

seanliu96 commented 3 years ago

It is interesting that I set the threshold in Windows 10 but that still works in MacOS.