Battery status in Mojave on HP ProBook 450 G6

Dev.Anas

New member
Joined
Nov 5, 2019
macOS
10.14.6
Mobo
A10
CPU
i7855u
GPU
Intel® HD Graphics 620
#1
Hello everyone.

System:

HP Probook 450 G6
i7 8550U
16Gb RAM
256 GB SSD (WD)
No Wireless till now. (maybe in the next few weeks)

96% works fine.

Problems:

1. The Trackpad not works .
2. I can't see my battery stats .

Here's my config plist attached.

Do you guys have any lead ? Thanks !
 

Attachments

Dev.Anas

New member
Joined
Nov 5, 2019
macOS
10.14.6
Mobo
A10
CPU
i7855u
GPU
Intel® HD Graphics 620
#3
I copy it from another Asus laptop 8th cpu , and do some modifications . then upgrade clover to latest version.
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#6
That kext would be my recommendation too.
 

Dev.Anas

New member
Joined
Nov 5, 2019
macOS
10.14.6
Mobo
A10
CPU
i7855u
GPU
Intel® HD Graphics 620
#7
i apply this patch to DSDT and battery work but with these problem ..


into device label EC0 code_regex BDC,\s+16 replace_matched begin DC0,8,DC1,8 end;

into device label EC0 code_regex BFC,\s+16 replace_matched begin FC0,8,FC1,8 end;

into device label EC0 code_regex BRTE,\s+16 replace_matched begin RTE0,8,RTE1,8 end;

into device label EC0 code_regex BME,\s+16 replace_matched begin ME0,8,ME1,8 end;

into device label EC0 code_regex BDV,\s+16 replace_matched begin DV0,8,DV1,8 end;

into device label EC0 code_regex BCV1,\s+16 replace_matched begin CV10,8,CV11,8 end;

into device label EC0 code_regex BATE,\s+16 replace_matched begin ATE0,8,ATE1,8 end;

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

into device label EC0 code_regex BCR,\s+16 replace_matched begin CR0,8,CR1,8 end;

into device label EC0 code_regex BRC,\s+16 replace_matched begin RC0,8,RC1,8 end;

into device label EC0 code_regex BCC,\s+16 replace_matched begin CC0,8,CC1,8 end;

into device label EC0 code_regex BPV,\s+16 replace_matched begin PV0,8,PV1,8 end;

into device label EC0 code_regex BCV2,\s+16 replace_matched begin CV20,8,CV21,8 end;

into device label EC0 code_regex BCV3,\s+16 replace_matched begin CV30,8,CV31,8 end;

into device label EC0 code_regex BCV4,\s+16 replace_matched begin CV40,8,CV41,8 end;

into device label EC0 code_regex BATF,\s+16 replace_matched begin ATF0,8,ATF1,8 end;

into device label EC0 code_regex BCL,\s+16 replace_matched begin BCL0,8,BCL1,8 end;

into device label EC0 code_regex MAXC,\s+16 replace_matched begin AXC0,8,AXC1,8 end;

into device label EC0 code_regex BSTS,\s+16 replace_matched begin BST0,8,BST1,8 end;

into device label EC0 code_regex BSN,\s+16 replace_matched begin SN0,8,SN1,8 end;

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

into device label EC0 code_regex CCBQ,\s+16 replace_matched begin CBQ0,8,CBQ1,8 end;

into device label EC0 code_regex CBT,\s+16 replace_matched begin CBT0,8,CBT1,8 end;

into device label EC0 code_regex ACPR,\s+16 replace_matched begin CPR0,8,CPR1,8 end;



into method label B1B2 remove_entry;

into definitionblock code_regex . insert

begin

Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n

end;



into method label GACW code_regex \(ACPR, replaceall_matched begin (B1B2(CPR0,CPR1), end;

into method label GBAW code_regex \(BDV, replaceall_matched begin (B1B2(DV0,DV1), end;

into method label GBAW code_regex \(BDC, replaceall_matched begin (B1B2(DC0,DC1), end;

into method label BTIF code_regex \(BFC, replaceall_matched begin (B1B2(FC0,FC1), end;

into method label BTIF code_regex \(BDV, replaceall_matched begin (B1B2(DV0,DV1), end;

into method label BTIF code_regex \(BSN, replaceall_matched begin (B1B2(SN0,SN1), end;

into method label BTIF code_regex \(BDAT, replaceall_matched begin (B1B2(BDA0,BDA1), end;

into method label BTST code_regex \(BPR, replaceall_matched begin (B1B2(BPR0,BPR1), end;

into method label BTST code_regex \(BRC, replaceall_matched begin (B1B2(RC0,RC1), end;

into method label BTST code_regex \(BPV, replaceall_matched begin (B1B2(PV0,PV1), end;

into method label ITLB code_regex \(BFC, replaceall_matched begin (B1B2(FC0,FC1), end;

into method label GBTI code_regex \(BDC, replaceall_matched begin (B1B2(DC0,DC1), end;

into method label GBTI code_regex \(BFC, replaceall_matched begin (B1B2(FC0,FC1), end;

into method label GBTI code_regex \(BRC, replaceall_matched begin (B1B2(RC0,RC1), end;

into method label GBTI code_regex \(BME, replaceall_matched begin (B1B2(ME0,ME1), end;

into method label GBTI code_regex \(BCC, replaceall_matched begin (B1B2(CC0,CC1), end;

into method label GBTI code_regex \(CBT, replaceall_matched begin (B1B2(CBT0,CBT1), end;

into method label GBTI code_regex \(BPV, replaceall_matched begin (B1B2(PV0,PV1), end;

into method label GBTI code_regex \(BPR, replaceall_matched begin (B1B2(BPR0,BPR1), end;

into method label GBTI code_regex \(BSTS, replaceall_matched begin (B1B2(BST0,BST1), end;

into method label GBTI code_regex \(BDV, replaceall_matched begin (B1B2(DV0,DV1), end;

into method label GBTI code_regex \(BCV1, replaceall_matched begin (B1B2(CV10,CV11), end;

into method label GBTI code_regex \(BCV2, replaceall_matched begin (B1B2(CV20,CV21), end;

into method label GBTI code_regex \(BCV3, replaceall_matched begin (B1B2(CV30,CV31), end;

into method label GBTI code_regex \(BCV4, replaceall_matched begin (B1B2(CV40,CV41), end;

into method label GBTI code_regex \(BSN, replaceall_matched begin (B1B2(SN0,SN1), end;

into method label GBTI code_regex \(BDAT, replaceall_matched begin (B1B2(BDA0,BDA1), end;

into method label GBTI code_regex BDAT replaceall_matched begin B1B2(BDA0,BDA1) end;

into method label GBTI code_regex \(BCR, replaceall_matched begin (B1B2(CR0,CR1), end;

into method label GBTI code_regex \(BRTE, replaceall_matched begin (B1B2(RTE0,RTE1), end;

into method label GBTI code_regex \(BATE, replaceall_matched begin (B1B2(ATE0,ATE1), end;

into method label GBTI code_regex \(BATF, replaceall_matched begin (B1B2(ATF0,ATF1), end;

into method label GBTC code_regex \(MAXC, replaceall_matched begin (B1B2(AXC0,AXC1), end;

into method label SBTC code_regex MAXC\) replaceall_matched begin B1B2(AXC0,AXC1)) end;

into method label GCGC code_regex \(\\\_SB\.PCI0\.LPCB\.EC0\.BPR, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.EC0.BPR0,\\_SB.PCI0.LPCB.EC0.BPR1), end;

patch currently has a bug where the "estimated time remaining" isn't calculated and you get somewhat frequent "low battery" warnings. Charge % seems to be accurate though and it's just mildlly annoying. I'll update this when I find a fix.
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#8
I assume this is a Patch from Rehabman's maciASL repository.

Are you sure that Battery patch fits with your Laptop battery settings?

What is the name of the Battery Patch you applied? HP Probook Generic?

I'm not sure a Battery patch has been created for your HP Probook 450 G6.

The guide created by Rehabman for a number of HP laptop systems doesn't include or mention your Probook. Here is a link to the Guide - https://www.tonymacx86.com/threads/...book-zbook-using-clover-uefi-hotpatch.261719/
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#10
Can you post a copy of your CLOVER folder, including the ACPI tables generated by pressing F4 when you are on the Clover boot screen. I would like to see an unpatched version of your DSDT and other SSDT's.

I also want to see how this patch is received by the DSDT.
 

Dev.Anas

New member
Joined
Nov 5, 2019
macOS
10.14.6
Mobo
A10
CPU
i7855u
GPU
Intel® HD Graphics 620
#11
Can you post a copy of your CLOVER folder, including the ACPI tables generated by pressing F4 when you are on the Clover boot screen. I would like to see an unpatched version of your DSDT and other SSDT's.

I also want to see how this patch is received by the DSDT.
I Follow This Article to create EFI Folder : https://www.tonymacx86.com/threads/guide-acer-swift-5-sf514-53t-whiskey-lake-macos10-14-5.277618/

EFI Folder : https://drive.google.com/file/d/1KXa83glISsdzoEWEShQBtpGDhVlj5x_3/view?usp=sharing
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#12
I've had a look at your orign DSDT and can see that the Battery Patch created by anor4k over at Tonymacx86 is not complete. It will not have patched your battery correctly.

Under the EmbeddedControl in your DSDT there are 30 No 16 bit entries and 1 No 32 bit entry. The 32 bit entry is not present in his patch. There are a few discrepancies and omissions in the 16 bit entries from his patch.

It has been a while since I patched a DSDT for a battery, but I have had a look to see if one of Rehabman's patches matches your DSDT requirements. Unfortuantely neither of the the two Probook battery patches matches your requirements.

The HP Probook4x0 G1 comes close and could be used as a starting point for a Probook 450 G6 battery patch, but it is missing a large number of 16 bit entries and the single 32 bit entry. These missing entries would need to be added to the patch before it would work fully with your DSDT.

Do you know if any other patches were applied to your DSDT that is located in the /CLOVER/ACPI/patched folder?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#14
I've been looking into the Probook patch and your DSDT some more. I have realised there are a number of EmbeddedControl entries that only apper once in the DSDT, that is why they were not included in the patch.

There is only one additional entry that needs to be included in the patch to work with your DSDT - ACPR, which is a 16 bit entry.

I can add that single entry and try to patch your DSDT for the battery, I will include the AC Adapter patch as well.

Do you mean you have applied a TrackPad patch to your DSDT?
Which DSDT patch is that?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#15
Do you mean you applied the I2C mouse and Trackpad patches to your DSDT, as recommended in the Acer Swift guide you linked from Tonymacx86?
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#17
I have disassembled your DSDT and applied a revised battery patch, that I hope will work better with your Probook. I will look to add the Trackpad patch and see how it compiles

I will post a copy for you to try later today.
 

Dev.Anas

New member
Joined
Nov 5, 2019
macOS
10.14.6
Mobo
A10
CPU
i7855u
GPU
Intel® HD Graphics 620
#18
I have disassembled your DSDT and applied a revised battery patch, that I hope will work better with your Probook. I will look to add the Trackpad patch and see how it compiles

I will post a copy for you to try later today.
Very thanks for your help .
 

Edhawk

Moderator
Joined
Apr 10, 2018
macOS
10.14.6
Mobo
GA-Z97X-UD5H
CPU
i7-4790K
GPU
2 x Powercolor RX 580 8GB
#19
Here is a revised DSDT.aml for you to try. It contains the revised battery patch and the AC Adapter patch from Rehabman's laptop repository. The DSDT compiled without any errors.

Rename DSDT-Bat+AC.aml to DSDT.aml before you copy it to your /CLOVER/ACPI/patched folder.

Reboot and see if the battery is working any better.
 

Attachments

Latest posts