Jump to content

[Guide] Laptop Battery Indicator - The DSDT Patching Horror


Recommended Posts

Posted

Anyway, appreciate if you can test this DSDT and see if battery status works. Thanks in advance.

 

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

Posted

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)

Posted

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

Posted

[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)

Posted

[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

Posted

[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)

Posted

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


Always a good practice to double check our works.

 

yeah sure, finelly got it to work thank you for your help

Posted

[ref]rogeriovasco[/ref], :cap:guitar

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)

Posted

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!

Posted

What should I do?

Maybe, read and follow the guide?

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)

Posted

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

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)

Posted

[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 @@

Posted

[ref]minhphan244[/ref], No idea. Never faced a DSDT like yours before.

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)

Posted

[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)

Posted

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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...