tarfoh Posted October 18, 2013 Share Posted October 18, 2013 credits to rehabman for figuring this out. This patch fixed the X battery indicator on my E6520 (10.9 DP8). DSDT patch - into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0x00) end; After that, find the BAT1 and BAT2 sections in your DSDT. Transform the _STA methods in those devices to look like this: Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } Make sure BAT0 is not altered at all while doing this. Install the latest ACPIBatteryManager.kext Link to comment Share on other sites More sharing options...
olvidalo Posted October 24, 2013 Share Posted October 24, 2013 doesn't work on mine unfortunately. I get a disabled battery indicator Edit: I'm on Mavericks GM Link to comment Share on other sites More sharing options...
tarfoh Posted October 24, 2013 Author Share Posted October 24, 2013 can you post your DSDT and a kextstat Link to comment Share on other sites More sharing options...
olvidalo Posted October 30, 2013 Share Posted October 30, 2013 Thanks for looking into this. This is literally the only thing that is still wrong with my installation. Here's original and the modded DSDT I'm using and a kextstat output.. dsdts.zip kextstat.txt Link to comment Share on other sites More sharing options...
telanx Posted November 10, 2013 Share Posted November 10, 2013 credits to rehabman for figuring this out. This patch fixed the X battery indicator on my E6520 (10.9 DP8). DSDT patch - into_all all code_regex Mutex\s+\(([^,]*),\s+[^)]*\) replaceall_matched begin Mutex(%1, 0x00) end; After that, find the BAT1 and BAT2 sections in your DSDT. Transform the _STA methods in those devices to look like this: Method (_STA, 0, NotSerialized) // _STA: Status { Return (Zero) } Make sure BAT0 is not altered at all while doing this. Install the latest ACPIBatteryManager.kext Hi, Thanks tarfoh & rehabman's great finding. I am using a Dell E6320, I think it is more or less the same with E6520 of the Battery section in DSDT. so I just tried your method. But after I applied the patch command in DSDT Editor, and compile, i got the errors like below: then I tried to find out where is changed by this patch code. and after comparing with original DSDT file, I find: after check back, i found several function name was change by this patch, so caused following function name lost definition, So, I just want to know why this areas need to be changed. Could you please help to upload your original DSDT file ,and your modified file here, so I could check if there is anything wrong with my DSDT? Thanks in advance. Ps, my Original DSDT and modified DSDT list below: DSDT-Or.aml.zip DSDT-New.dsl.zip Link to comment Share on other sites More sharing options...
telanx Posted November 10, 2013 Share Posted November 10, 2013 Updated: I didn't modify my DSDT, and I just throw the ACPIBatteryManager.kext into S\L\E, it works fine.... I am using the 1.40 Version. But it only works when i boot osx without kextcache..... Below is some pictures... Link to comment Share on other sites More sharing options...
filbip Posted December 25, 2014 Share Posted December 25, 2014 Works fine on Latitude E5520. Thanks to tarfoh Link to comment Share on other sites More sharing options...
Recommended Posts