Contribute
Register

[Guide] How to patch DSDT for working battery status

Hi everyone! I've been struggling for days to get my battery indicator to work. I've read the guide about 50 times, tried all patches, try to do my own patch but nothing worked. The best I could get is 0%. If someone could be kind enough to help me with this... here is my DSDT.dsl file.
I have an HP envy 13-ab022nf with :

CPU: intel i5 7200U (Kabylake)
GPU: intel graphics HD 620
RAM : 8GB DDR3
SDD: Samsung 256GB

That would be awesome, I'm so desperate...
Thanks in advance.
 

Attachments

  • DSDT.dsl
    968.9 KB · Views: 158
Oh ok! Thanks for informing that! :)
But any idea when we can expect him back here on the forum?
 
Hello everyone, iv'e been trying to make a patch for my HP envy 13-ab022nf for the past week but I can't get it to work . I have reinstalled Mac OS 3 times because I messed up. if someone could make my patch, that would be so awesome!!

Here is my DSDT.aml file

Thank you sooo much!!
 

Attachments

  • DSDT.aml
    131.4 KB · Views: 121
Thanks a lot for the great guide.
I'm trying to patch for my DSDT as your guide, but my DSDT is much different from your guide; these is no 'EmbeddedControl' section.

And only by using the latest ACPIBatteryManager.kext, I could showing battery status.
But AC adaptor status will not be changed when connecting/disconnecting it.

I examined some places and found as below;
- ACPIACAdaptor was mapped to ADP1 device
- ADP1._PSR will be notified through GPE

When I tried v1.18.4 of ACPIBatteryManager.kext, I could see correct AC adaptor status but it was slow to apply the status.

Please help me how to fix my issue.
 

Attachments

  • report.zip
    2.4 MB · Views: 101
I have some fields over 8 bytes (16 bytes) that are in an IndexField. What do I do with those?
 
The BatteryManager Kext Works for me. But when I put my laptop to sleep and re-wake it, my cpu idles around 3.00 GHZ when it is supposed to idle around 1.80. The only way to fix it is to restart the Laptop. If I remove this kext. This problem does not happen anymore.

Any Help is appreciated, Thanks
 
Hi! Even though battery has been patched and I got battery status in the menu bar, I'm concerned with a series of errors in the boot log. I would appreciate some help to make it right. Thanks!



Code:
2019-05-14 13:25:23.223836-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) No handler for Region [ECF4] (ffffff8059936be0) [EmbeddedControl]
2019-05-14 13:25:23.223837-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) No handler for Region [ECF4] (ffffff8059936be0) [EmbeddedControl]
2019-05-14 13:25:23.224096-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/evregion-252)
2019-05-14 13:25:23.224096-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/evregion-252)
2019-05-14 13:25:23.224354-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2019-05-14 13:25:23.224354-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2019-05-14 13:25:23.224615-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) Region EmbeddedControl (ID=3) has no handler
2019-05-14 13:25:23.224616-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) Region EmbeddedControl (ID=3) has no handler
2019-05-14 13:25:23.230997-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/exfldio-392)
2019-05-14 13:25:23.230998-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)  (20160930/exfldio-392)
2019-05-14 13:25:23.232038-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) [_LID] @00001 #002D:
2019-05-14 13:25:23.232039-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) [_LID] @00001 #002D:
2019-05-14 13:25:23.232293-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) L
2019-05-14 13:25:23.232294-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) L
2019-05-14 13:25:23.232556-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) I
2019-05-14 13:25:23.232557-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) I
2019-05-14 13:25:23.232815-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) D
2019-05-14 13:25:23.232815-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) D
2019-05-14 13:25:23.233076-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2019-05-14 13:25:23.233076-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2019-05-14 13:25:23.233337-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) No Local Variables are initialized for method [_LID]
2019-05-14 13:25:23.233338-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) No Local Variables are initialized for method [_LID]
2019-05-14 13:25:23.237302-0500 0xc6       Default     0x0                  0      0    kernel: (IOHIDFamily) HID: Legacy shim 2
2019-05-14 13:25:23.240685-0500 0xae       Default     0x0                  0      0    kernel: (IOPCIFamily) pci (build 20:56:41 Dec 20 2018), flags 0x20e3080
2019-05-14 13:25:23.240685-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2019-05-14 13:25:23.240686-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2019-05-14 13:25:23.240946-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) No Arguments are initialized for method [_LID]
2019-05-14 13:25:23.240947-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) No Arguments are initialized for method [_LID]
2019-05-14 13:25:23.241210-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2019-05-14 13:25:23.241210-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform)
2019-05-14 13:25:23.241998-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2019-05-14 13:25:23.241999-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) ACPI Error:
2019-05-14 13:25:23.242521-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2019-05-14 13:25:23.242522-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) Method parse/execution failed
2019-05-14 13:25:23.245670-0500 0xb1       Default     0x0                  0      0    kernel: (AppleACPIEC) ACPI: no ECDT
2019-05-14 13:25:23.252843-0500 0xc2       Default     0x0                  0      0    kernel: (kernel) VoodooGPIOSunrisePointLP::Loading GPIO Data for SunrisePoint-LP
2019-05-14 13:25:23.252951-0500 0xd0       Default     0x0                  0      0    kernel: (kernel) FakeSMC v6.26-357-gceb835ea.1800 Copyright 2017 netkas, slice, usr-sse2, kozlek, navi, THe KiNG, RehabMan. All rights reserved.
2019-05-14 13:25:23.253129-0500 0xae       Default     0x0                  0      0    kernel: (IOPCIFamily) [ PCI configuration begin ]
2019-05-14 13:25:23.257622-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SB.PCI0.LPCB.H_EC.LID0._LID] (Node ffffff805a6eecc0)
2019-05-14 13:25:23.257623-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) [\_SB.PCI0.LPCB.H_EC.LID0._LID] (Node ffffff805a6eecc0)
2019-05-14 13:25:23.257717-0500 0xd0       Default     0x0                  0      0    kernel: (kernel) FakeSMCKeyStore: [Warning] blocked while trying to set protected key "FNum".
2019-05-14 13:25:23.257722-0500 0xc2       Default     0x0                  0      0    kernel: (kernel) VoodooGPIOSunrisePointLP::VoodooGPIO Init!
2019-05-14 13:25:23.257887-0500 0xc2       Default     0x0                  0      0    kernel: (kernel) VoodooGPIOSunrisePointLP::VoodooGPIO Initializing Community 0
2019-05-14 13:25:23.257887-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_EXIST
2019-05-14 13:25:23.257887-0500 0xb3       Default     0x0                  0      0    kernel: (AppleACPIPlatform) , AE_NOT_EXIST
 

Attachments

  • Battery Report Files.zip
    2.7 MB · Views: 73
Back
Top