Contribute
Register

[Guide] How to patch DSDT for working battery status

thank. maybe i'll try later.
 
Now see if you can update to 10.10.5. No difference that I've heard of regarding these two components...

Just a weird question, does it make sense that Battery Status is displaying in the menu bar when yosemite is installed in a regular HDD but will not display when yosemite is installed in SSD(trim enabled or not )?

I have the same setup on both HDD and SSD. I even restored yosemite from HDD backup to SSD but the battery status is not displaying in the SSD. I used two different SSDs for the matter of testing. And on both SSD, the battery status is not displaying.

I am still checking and debugging my DSDT, as per your last suggestion. But I would like to get some idea on the situation/question above.
Yosemite is really nice on SSD, I just have to use HWSensor to monitor battery status and CPU temperature for which I dont mind.

Please advise?

thanks
 
Just a weird question, does it make sense that Battery Status is displaying in the menu bar when yosemite is installed in a regular HDD but will not display when yosemite is installed in SSD(trim enabled or not )?

Nothing to do with the type of device it is installed on. This has everything to do with difference between the content on HDD and content on SSD.

I have the same setup on both HDD and SSD.

Evidently not.

I even restored yosemite from HDD backup to SSD but the battery status is not displaying in the SSD.

Must be different EFI/Clover setup.
 
Can I restore from fresh HDD backup to SDD and copy EFI folder, for testing?
 
Hi RehabMan,
I'm new in hackintosh, it's my first
So I have no experience in the DSDT patch
I would bring up my battery status / my sound (IDT92HD87B1/3) / brightness control
I know you created this post
But my problem is DSDT patch to run it all, so I gather all my trouble here if you don't mind
Thank you in advance
 
Hi RehabMan,

I've tried your kext ACPIBatteryManager.kext on my laptop Dell E6410 - El Capitan but the battery indicator sometimes show incorrectly. So I decide to patch my DSDT by following your guide. I start out looking for 'embeddedcontrol':
Code:
OperationRegion (ECOR, EmbeddedControl, 0x00, 0xFF)

Then I search with 'Field (
ECOR' and get:
Code:
Field (ECOR, ByteAcc, Lock, Preserve)            {
                EC00,   8, 
                EC01,   8, 
                EC02,   8, 
                EC03,   8, 
                EC04,   8, 
                EC05,   8, 
                EC06,   8, 
                EC07,   8, 
                EC08,   8, 
                EC09,   8, 
                EC10,   8, 
                EC11,   8, 
                EC12,   8, 
                EC13,   8, 
                EC14,   8, 
                EC15,   8, 
                EC16,   8, 
                EC17,   8, 
                EC18,   8, 
                EC19,   8, 
                EC20,   8, 
                EC21,   8, 
                EC22,   8, 
                EC23,   8, 
                EC24,   8, 
                EC25,   8, 
                EC26,   8, 
                EC27,   8, 
                EC28,   8, 
                EC29,   8, 
                EC30,   8, 
                EC31,   8, 
                EC32,   8, 
                EC33,   8, 
                EC34,   8, 
                EC35,   8, 
                EC36,   8, 
                EC37,   8, 
                EC38,   8, 
                EC39,   8, 
                EC40,   8, 
                EC41,   8, 
                EC42,   8, 
                EC43,   8, 
                EC44,   8, 
                EC45,   8, 
                EC46,   8, 
                EC47,   8, 
                EC48,   8, 
                EC49,   8
            }
As I know all fields above is already 8-bit. I don't know how to continue patching DSDT. Please help me. Thanks.
Attachment are my origin DSDT and ioreg.View attachment attachment.zip
 
Hi RehabMan,

I've tried your kext ACPIBatteryManager.kext on my laptop Dell E6410 - El Capitan but the battery indicator sometimes doesn't correctly. So I decide to patch my DSDT by following your guide. I start out looking for 'embeddedcontrol':
Code:
[/COLOR]OperationRegion (ECOR, EmbeddedControl, 0x00, 0xFF)[COLOR=#000000]
Then I search with 'Field (
ECOR' and get:
Code:
Field (ECOR, ByteAcc, Lock, Preserve)            {
                EC00,   8, 
                EC01,   8, 
                EC02,   8, 
                EC03,   8, 
                EC04,   8, 
                EC05,   8, 
                EC06,   8, 
                EC07,   8, 
                EC08,   8, 
                EC09,   8, 
                EC10,   8, 
                EC11,   8, 
                EC12,   8, 
                EC13,   8, 
                EC14,   8, 
                EC15,   8, 
                EC16,   8, 
                EC17,   8, 
                EC18,   8, 
                EC19,   8, 
                EC20,   8, 
                EC21,   8, 
                EC22,   8, 
                EC23,   8, 
                EC24,   8, 
                EC25,   8, 
                EC26,   8, 
                EC27,   8, 
                EC28,   8, 
                EC29,   8, 
                EC30,   8, 
                EC31,   8, 
                EC32,   8, 
                EC33,   8, 
                EC34,   8, 
                EC35,   8, 
                EC36,   8, 
                EC37,   8, 
                EC38,   8, 
                EC39,   8, 
                EC40,   8, 
                EC41,   8, 
                EC42,   8, 
                EC43,   8, 
                EC44,   8, 
                EC45,   8, 
                EC46,   8, 
                EC47,   8, 
                EC48,   8, 
                EC49,   8
            }
As I know all fields above is already 8-bit. I don't know how to continue patching DSDT. Please help me. Thanks.
Attachment are my origin DSDT and ioreg.View attachment 151551

The problem is the second battery object in DSDT, but is not present. Disable it:
Code:
into method label _STA parent_label BAT1 replace_content begin Return(0) end;
 
Back
Top