- Apr 14, 2019
- Dell Inspiron 7586
- UHD 620
- Mobile Phone
Thanks for the fix, I ran into this problem as well.How to patch DSDT for working battery status
The only problem I found was in this line in _BTP:
Store (Local0, ^^PCI0.LPCB.H_EC.BTPC)
Needs this patch:
into method label _BTP code_regex Store\s\((.*),\s\^\^PCI0\.LPCB\.H_EC\.BTPC\) replace_matched begin Store(ShiftRight(%1,8), ^^PCI0.LPCB.H_EC.BPC1) Store(%1, ^^PCI0.LPCB.H_EC.BPC1) end;
The other patch related to _BTP is not effective and so I removed it.
Why is BPC1 used twice? What happens to BPC0?