Contribute
Register

[Guide] How to patch DSDT for working battery status

Joined
May 7, 2018
Messages
3
Motherboard
thinkpad
CPU
i7
Graphics
630
Hi 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.
hi ,can you share your dsdt? I can't deal with the batter of my p51
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
11,289
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
hi ,can you share your dsdt? I can't deal with the batter of my 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
 
Joined
May 7, 2018
Messages
3
Motherboard
thinkpad
CPU
i7
Graphics
630
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
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?
 

Attachments

Feartech

Moderator
Joined
Aug 3, 2013
Messages
11,289
Motherboard
Asus N752VX-Clover
CPU
i7-6700HQ / HM170
Graphics
HD530 + GTX 950m 1920 x 1080
Mac
iMac
Mobile Phone
Android
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?
i disassembled your files and saw an error, i commented out lines 153 and 155, resulting no errors

i haven't done any patches, that can be your job :)
 

Attachments

Joined
May 7, 2018
Messages
3
Motherboard
thinkpad
CPU
i7
Graphics
630
i disassembled your files and saw an error, i commented out lines 153 and 155, resulting no errors

i haven't done any patches, that can be your job :)
thank you for your job!,my batter manger run well!
 
Joined
Aug 2, 2013
Messages
66
Motherboard
Intel Skylake-U Premium PCH
CPU
Core i7-6500U
Graphics
Intel HD Graphics 520 (1920x1080)
Mac
MacBook Pro
Mobile Phone
iOS
Hello @RehabMan,

thank you for your great guide and sharing all this knowledge :)

Please find attached:
  • Hardware information about my notebook (Tuxedo Infinitybook 13v2 [a Clevo rebrand])
  • The battery DSDT patch I created using your guide
  • My native acpi files
Battery status is showing and changes normally. Still I created the patch today and did not have much time to observe it.

EDIT: Sorry, there is one issue: The status lags behind and is not updated for some periods of time (see screenshot added to attachment).

Best regards,
Fox
 

Attachments

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,691
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Hello @RehabMan,

thank you for your great guide and sharing all this knowledge :)

Please find attached:
  • Hardware information about my notebook (Tuxedo Infinitybook 13v2 [a Clevo rebrand])
  • The battery DSDT patch I created using your guide
  • My native acpi files
Battery status is showing and changes normally. Still I created the patch today and did not have much time to observe it.

EDIT: Sorry, there is one issue: The status lags behind and is not updated for some periods of time (see screenshot added to attachment).

Best regards,
Fox
No DSDT.aml provided.

Note: It seems to me that the patch file already in the repo is a match: battery_Microxperts-u731ga1.txt
 
Top