Contribute
Register

[Guide] How to patch DSDT for working battery status

HI Rehabman.
I can not start the battery. The patch does not help. Laptop Lenovo B5070. Please.

No ioreg in your debug zip. Please check your files before upload.

Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Also, refer to the guide for good plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Sorry not noticed.
 

Attachments

  • MacBook Pro.ioreg.zip
    670.3 KB · Views: 59
Sorry not noticed.

Why did you make this change?

From:
Code:
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                ^^EC0.BSHK ()
                If (ECOK ())
                {
                    If (^^EC0.BOL0)
                    {
                        Sleep (Zero)
                        Return (0x1F)
                    }
                    Else
                    {
                        Sleep (Zero)
                        Return (0x0F)
                    }
                }
                Else
                {
                    Sleep (Zero)
                    Return (0x1F)
                }
            }

To:
Code:
            Method (_STA, 0, NotSerialized)  // _STA: Status
            {
                Return (Zero)
            }

This will change disable your ACPI battery object,...
 
Everything works, thank you.
 

Attachments

  • Снимок экрана 2018-10-27 в 2.48.50.png
    Снимок экрана 2018-10-27 в 2.48.50.png
    646.2 KB · Views: 91
@RehabMan the technicalities of how battery info is read remains the same with SMCBatteryManager?
 
Hi RehabMan

First, many thanks for all of your work! This is my third computer for macOS。
Problems arose ,the battery is error detected if booting macOS, so, I have to update BIOS to move out the error message.
IMG_3244_F6975A92185F.PNG

So, I'm following your guide to patch DSDT. The menu bar battery percentage not updating if charge or discharge. and the error of battery detected is still pending.

Thanks for your support.
Screen Shot 2018-10-29 at 6.08.14 PM.png
Screen Shot 2018-10-29 at 6.08.29 PM.png
 

Attachments

  • 84db_FIX_BAT_V2.txt
    13.9 KB · Views: 118
Hi RehabMan

First, many thanks for all of your work! This is my third computer for macOS。
Problems arose ,the battery is error detected if booting macOS, so, I have to update BIOS to move out the error message.
View attachment 361440
So, I'm following your guide to patch DSDT. The menu bar battery percentage not updating if charge or discharge. and the error of battery detected is still pending.

Thanks for your support.
View attachment 361432View attachment 361433

"Problem Reporting" files are incomplete.
Read FAQ, "Problem Reporting" again. Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 
Hi Rehabman,

The problem of battery percentage updating is solved. :thumbup:

But the battery will be mark as fake one during reboot or shutdown. Could you please help me to fix this problem?

Thank you!
 

Attachments

  • debug_13489.zip
    3.3 MB · Views: 49
Last edited:
Back
Top