hi ,can you share your dsdt? I can't deal with the batter of my p51Hi RehabMan.
After getting a clean dump and patched the DSDT with "[bat] Lenovo X230i", battery status is working fine on my ThinkPad P51. Thanks for your help!
Maybe you can add a comment in the patch to tell others the patch can also work on Lenovo ThinkPad P51.
thank you for replay me，I failed to try to deal with the error of dsdt，here is my dsdt，can help me to deal with the bat manger of p51？shouldn't share DSDT, as you can cause more harm than good, ie, different BIOS versions, different BIOS options etc.
you should patch your own DSDT
i disassembled your files and saw an error, i commented out lines 153 and 155, resulting no errorsthank you for replay me，I failed to try to deal with the error of dsdt，here is my dsdt，can help me to deal with the bat manger of p51？
Please fix your profile as per FAQ:
thank you for your job!,my batter manger run well!
No DSDT.aml provided.Hello @RehabMan,
thank you for your great guide and sharing all this knowledge
Please find attached:
Battery status is showing and changes normally. Still I created the patch today and did not have much time to observe it.
- Hardware information about my notebook (Tuxedo Infinitybook 13v2 [a Clevo rebrand])
- The battery DSDT patch I created using your guide
- My native acpi files
EDIT: Sorry, there is one issue: The status lags behind and is not updated for some periods of time (see screenshot added to attachment).