-->Donations via PayPal [External Link Removed for Guests] :guitar
-->Installation/Post Installation Tutorial [Local Link Removed for Guests]
-->Useful Links [Local Link Removed for Guests]
-->Olarila Images - Updated images [Local Link Removed for Guests]
-->Guides and Tutorials [Local Link Removed for Guests]
-->Clover Folder for All Chipsets [Local Link Removed for Guests]
-->DSDT Patch Requests [Local Link Removed for Guests]

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post Reply
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 03 Apr 2019, 16:00

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
03 Apr 2019, 15:48
onemanosx [External Link Removed for Guests] ... -Twist.txt yes signal done SSDT-BTAC yes patched yes
no idea what you want. Sorry. :poke
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
ford2201
Geek
Geek
Posts: 115
Joined: 11 Sep 2017, 17:53
CPU: i3-2120
Motherboard: ASUS h61m-k
GPU: Nvidia gts 480

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by ford2201 » 03 Apr 2019, 17:52

because you are saying that DSDT itself does so and I will give you why to explain to me SSDT-BATC
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 15 Apr 2019, 13:02

bulibasha, test for battery status
bulibasha-DSDT.aml.zip
You do not have the required permissions to view the files attached to this post.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
rogeriovasco
Posts: 22
Joined: 11 Apr 2019, 13:27
CPU: core i3 3110m
Motherboard: NP270E4E-KD4BR
GPU: intel hd graphcs 4000

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by rogeriovasco » 16 Apr 2019, 11:43

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
You do not have the required permissions to view the files attached to this post.
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 16 Apr 2019, 14:38

rogeriovasco, You got the first part of patching correct.

Now its time to correct these errors:





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

1. Find B1DA in DSDT
2. Paste

Code: [Local Link Removed for Guests]

B1B2(\_SB.PCI0.LPCB.H_EC.BDA0,\_SB.PCI0.LPCB.H_EC.BDA1)
over "B1DA" like so




Do the same for all the remaining 9 errors.

And lastly introduce the B1B2 and EC essential patches.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
rogeriovasco
Posts: 22
Joined: 11 Apr 2019, 13:27
CPU: core i3 3110m
Motherboard: NP270E4E-KD4BR
GPU: intel hd graphcs 4000

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by rogeriovasco » 16 Apr 2019, 19:51

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
16 Apr 2019, 14:38
rogeriovasco, You got the first part of patching correct.

Now its time to correct these errors:





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

1. Find B1DA in DSDT
2. Paste

Code: [Local Link Removed for Guests]

B1B2(\_SB.PCI0.LPCB.H_EC.BDA0,\_SB.PCI0.LPCB.H_EC.BDA1)
over "B1DA" like so




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
You do not have the required permissions to view the files attached to this post.
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 17 Apr 2019, 10:59

rogeriovasco, Looks like you missed out BTPC, 16, integer to fix.

Always a good practice to double check our works.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
rogeriovasco
Posts: 22
Joined: 11 Apr 2019, 13:27
CPU: core i3 3110m
Motherboard: NP270E4E-KD4BR
GPU: intel hd graphcs 4000

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by rogeriovasco » 18 Apr 2019, 21:02

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
17 Apr 2019, 10:59
rogeriovasco, 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
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 19 Apr 2019, 01:18

rogeriovasco, :cap :guitar
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
jrapbit
Posts: 3
Joined: 27 Aug 2018, 11:04
CPU: q8200
Motherboard: asus p5kpl-am/ps
GPU: leadtek 9600gt

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by jrapbit » 02 May 2019, 08:57

Image

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!
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 02 May 2019, 11:20

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
02 May 2019, 08:57
What should I do?
Maybe, read and follow the guide?
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
minhphan244
Posts: 3
Joined: 03 Mar 2019, 05:50
CPU: i7-4600U
Motherboard: Intel
GPU: HD4400

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by minhphan244 » 03 May 2019, 15:06

[External Link Removed for Guests]
My DSDT doesn't have Embeddedcontrol @@ How to solve it, please help me
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 03 May 2019, 16:35

minhphan244, what happens if you install battery kext?
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
minhphan244
Posts: 3
Joined: 03 Mar 2019, 05:50
CPU: i7-4600U
Motherboard: Intel
GPU: HD4400

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by minhphan244 » 04 May 2019, 06:56

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
03 May 2019, 16:35
minhphan244, 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 @@
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 04 May 2019, 08:57

minhphan244, No idea. Never faced a DSDT like yours before.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
hawkins1986
Posts: 9
Joined: 04 May 2019, 17:45
CPU: Intel Core i7 (3rd Gen) 3667U
Motherboard: Mobile Intel QM77 Express
GPU: Intel HD Graphics 4000

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by hawkins1986 » 05 May 2019, 02:04

syntax error, unexpected parseop_if
syntax error, unexpected parseop_method, expecting $end and premature end-of-file

any ideas?
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 05 May 2019, 02:08

hawkins1986, no idea without your DSDT file and/or description of what you attempted to get that error.
[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
hawkins1986
Posts: 9
Joined: 04 May 2019, 17:45
CPU: Intel Core i7 (3rd Gen) 3667U
Motherboard: Mobile Intel QM77 Express
GPU: Intel HD Graphics 4000

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by hawkins1986 » 05 May 2019, 02:15

I'm trying to fix my battery icon. I'm trying the hp elite x2 patch on my hp Elitebook. I can't upload .dsl file.
User avatar
onemanosx
Olarila Staff
Olarila Staff
Posts: 1228
Joined: 03 Feb 2018, 05:42
CPU: Intel i7-6700HQ HM170 Chipset
Motherboard: Acer Aspire VN7-592G Laptop
GPU: Intel HD 530 + Nvidia GTX 960M

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by onemanosx » 05 May 2019, 02:19

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
05 May 2019, 02:15
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

[External Link Removed for Guests]
[External Link Removed for Guests]

Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset
Intel i7-6700HQ, 8GB RAM (UEFI Clover Mojave)

MSI B360 Gaming Arctic
Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Mojave)

Gigabyte GA-Z68-D3H-B3 (Retired)
Intel i7-2600 16GB RAM Asus Radeon RX580 (UEFI Clover High Sierra)
hawkins1986
Posts: 9
Joined: 04 May 2019, 17:45
CPU: Intel Core i7 (3rd Gen) 3667U
Motherboard: Mobile Intel QM77 Express
GPU: Intel HD Graphics 4000

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Post by hawkins1986 » 05 May 2019, 02:27

[External Link Removed for Guests]
Post Reply

Return to “Guides and tutorials”