RehabMan / OS-X-ACPI-Battery-Driver

Implements an Advanced Configuration and Power Interface (ACPI) based battery manager kernel extension (kext/driver) for non-Apple laptops running OS X.
Other
177 stars 58 forks source link

10.12.4 - crashes Activity Monitor #17

Closed krim404 closed 7 years ago

krim404 commented 7 years ago

See: http://www.insanelymac.com/forum/topic/322196-macos-sierra-10124-is-out/?p=2393652

RehabMan commented 7 years ago

It is not a problem in ACPIBatteryManager.kext itself. Problem is somewhere else in the system...

krim404 commented 7 years ago

many many many people have this problem on multiple different notebooks and it's fixed after removal of the ACPIBatteryManager. So it must at least have something to do with the kext loading something... :/

Workaround via command line:

rm ~/Library/Preferences/com.apple.ActivityMonitor.plist && open /Applications/Utilities/Activity\ Monitor.app && sleep 1 && osascript -e 'quit app "Activity Monitor"' && chflags uchg ~/Library/Preferences/com.apple.ActivityMonitor.plist
RehabMan commented 7 years ago

I realize that (I can reproduce the problem here on all my laptops...)

But it is not a bug in ACPIBatteryManager.kext. It will happen with any non-Apple battery status kext.

RehabMan commented 7 years ago

This is fixed in version 1.71. The fix was to change back to AppleSmartBatteryManager and AppleSmartBattery for the class names, as Apple seems to have some dependencies on that.

The class names were changed to conform to Apple guidelines in commit 0345093 back in 2013.

Thanks to oc_bot (on tmx) for reporting that version 1.32 was fixing this issue. I was able to determine that also 1.33 was working, and that the change happened between 1.33 and 1.40.