Jump to content
onemanosx

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Recommended Posts

Yes, works, but still showing percentage a few percent higher than Linux/Windows.

Thank you for testing. This DSDT proves that battery capacity patch is not required. Appreciate your feedback.


I wont worry abt the few % off linux/windows.

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

onemanosx https://github.com/RehabMan/Laptop-DSDT ... -Twist.txt yes signal done SSDT-BTAC yes patched yes

no idea what you want. Sorry. :poke

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

can you help me im trying to fix my battery status but always got error


am i doing it wrong?

into device label H_EC code_regex B1RA,\s+16, replace_matched begin BRA0,8,BRA1,8, end;

into device label H_EC code_regex B1DF,\s+16, replace_matched begin BDF0,8,B1DF,8, end;

into device label H_EC code_regex B1PR,\s+16, replace_matched begin BPR0,8,BPR1,8, end;

into device label H_EC code_regex B1VO,\s+16, replace_matched begin BVO0,8,BVO1,8, end;

into device label H_EC code_regex B1DA,\s+16, replace_matched begin BDA0,8,BDA1,8, end;

into device label H_EC code_regex B1DV,\s+16, replace_matched begin BDV0,8,BDV1,8, end;

into device label H_EC code_regex B1DL,\s+16, replace_matched begin BDL0,8,BDL1,8, end;

into device label H_EC code_regex CYLC,\s+16, replace_matched begin CYL0,8,CYL1,8, end;

 

DSDT.aml.zip

Link to comment
Share on other sites

[ref]rogeriovasco[/ref], You got the first part of patching correct.


Now its time to correct these errors:


https://imgur.com/wxWxlzl




e.g for B1DA -> B1B2(\_SB.PCI0.LPCB.H_EC.BDA0,\_SB.PCI0.LPCB.H_EC.BDA1)


1. Find B1DA in DSDT

2. Paste

B1B2(\_SB.PCI0.LPCB.H_EC.BDA0,\_SB.PCI0.LPCB.H_EC.BDA1)

over "B1DA" like so


https://imgur.com/0irIotW



Do the same for all the remaining 9 errors.


And lastly introduce the B1B2 and EC essential patches.

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

[ref]rogeriovasco[/ref], You got the first part of patching correct.


Now its time to correct these errors:


https://imgur.com/wxWxlzl




e.g for B1DA -> B1B2(\_SB.PCI0.LPCB.H_EC.BDA0,\_SB.PCI0.LPCB.H_EC.BDA1)


1. Find B1DA in DSDT

2. Paste

B1B2(\_SB.PCI0.LPCB.H_EC.BDA0,\_SB.PCI0.LPCB.H_EC.BDA1)

over "B1DA" like so


https://imgur.com/0irIotW



Do the same for all the remaining 9 errors.


And lastly introduce the B1B2 and EC essential patches.

 


thank you now i can see the battery icon i appreciate your help


the problem now is battery status show at top bar but it not update status it stay 37% the whole time. When I connect or disconect charge the sistem stop work it freezes

 

DSDT.aml.zip

Link to comment
Share on other sites

[ref]rogeriovasco[/ref], Looks like you missed out BTPC, 16, integer to fix.


Always a good practice to double check our works.

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

ScreenShot2562-05-02at15.51.03.png


My battery status shows percent just fine after I install(without doing nothing) but when I plug/unplug charger. It freeze. So I try to patch the battery and I see this screen. What should I do? Thanks in advance!

Link to comment
Share on other sites

[ref]minhphan244[/ref], what happens if you install battery kext?

It works (show exactly percentage, warning low battery) but battery indicator not recognize when i plug/unplug AC adapter and percentage battery still increase, system report still recognize charging, i don't know how to solve it @@

Link to comment
Share on other sites

[ref]hawkins1986[/ref], no idea without your DSDT file and/or description of what you attempted to get that error.

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

I can't upload .dsl file.

 

Scroll down and look for the add files icon. Or, upload somewhere in your prefered cloud e.g google drive


https://imgur.com/JAIGQwb

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...