Contribute
Register

[Guide] How to patch DSDT for working battery status

It seemed not. After that, OS X estimates remaining time. But obviously not accurate.
 

Attachments

  • Screen Shot .png
    Screen Shot .png
    70.9 KB · Views: 128
  • Screen Shot 2.png
    Screen Shot 2.png
    29.5 KB · Views: 110
Big thank you RehabMan.

For my Skylake Zenbook Pro UX501VW, I've applied the [bat] Asus N55SL/VivoBook patch. Battery status works fine after applying it.

As a bonus, after adding Device (SMCD) right before Device (ADBG), I get fan rpm.

Code:
      Device (SMCD)
      {
           Name (_HID, "monitor")  // _HID: Hardware ID
           Method (FAN0, 0, NotSerialized)
           {
               Store (B1B2 (^^EC0.TH00, ^^EC0.TH01), Local0)
               Store (0x80, Local1)
               Store (0x02, Local2)
               Multiply (Local1, Local2, Local3)
               Multiply (Local0, Local3, Local4)
               Divide (0x03938700, Local4, Local5, Local6)
               Multiply (Local6, 0x0A, Local6)
               Return (Local6)
           }

           Method (TSYS, 0, NotSerialized)
               {
                  Store (^^EC0.TH1R, Local0)
                  Return (Local0)
               }
       }

       
       Device (ADBG)
       {
            Name (_HID, EisaId ("PNP0C02"))  // _HID: Hardware ID
            Name (_UID, 0x13)  // _UID: Unique ID
            Name (CRS1, ResourceTemplate ()
            -----code continues----------

C10CbqR.png
 
For my Skylake Zenbook Pro UX501VW, I've applied the [bat] Asus N55SL/VivoBook patch. Battery status works fine after applying it.

Yes, most ASUS laptops fit one of the two ASUS patches.
 
Hey @RehabMan, my battery percentage is correct now, Tried both charging and discharging, status was getting updated. But I don't see battery listed under "Energy Saver" in Preferences. Because of this my laptops sleeps as soon as its on idle and on battery. Does this mean I didn't patch correctly?
 
Hey @RehabMan, my battery percentage is correct now, Tried both charging and discharging, status was getting updated. But I don't see battery listed under "Energy Saver" in Preferences. Because of this my laptops sleeps as soon as its on idle and on battery. Does this mean I didn't patch correctly?

Read post #1, "Problem Reporting". Show screen shot.
 
Hi. Thanks in advance for your help.

I have a Lenovo E531 laptop. I have no battery indicator despite following the following steps:

Successfully patched Power management and brightness.
Patched DSDT using Lenovo E430 DSDT patch from repository
Installed latest ACPIBatteryManager.kext using Kext Utility.

I attach all required files for troubleshooting.
 

Attachments

  • Augusto’s MacBook Air.ioreg.zip
    347.9 KB · Views: 83
  • kextstat output.rtf.zip
    757 bytes · Views: 93
  • kextcache_output.rtf.zip
    649 bytes · Views: 76
  • EFI_Clover_folder.zip
    2.8 MB · Views: 77
  • Patchmatic_output.zip
    49 KB · Views: 78
Hi. Thanks in advance for your help.

I have a Lenovo E531 laptop. I have no battery indicator despite following the following steps:

Successfully patched Power management and brightness.
Patched DSDT using Lenovo E430 DSDT patch from repository
Installed latest ACPIBatteryManager.kext using Kext Utility.

I attach all required files for troubleshooting.

Your kextcache output shows ACPIBatteryManager.kext is not installed.
 
Your kextcache output shows ACPIBatteryManager.kext is not installed.

OK! I was using Kext Utility.app to install ACPIBatteryManager.kext but no matter what I tried, it wouldn't stick. Switched to EasyKext Utility.app and installed with no issues. Battery indicator is now showing a working 100%. THANK YOU!
Now I just need to get sound, keyboard shortcuts and wifi to work...
 
RehabMan, Thanks for the instructions.
by following it I was able to to make my battery indicator working like a charm.
I used the same exact file from your LAPTop-DSDT-Patch, battery repository. I found this file name 'battery_Samsung-Series3-NP300.txt' which worked in my situation on Samsung NP900X3C Series 9 Laptop.

Attached is my original DSDT.dsl. Extracted DSDT files with UBUNTU OS.

Screen Shot 2016-07-07 at 1.47.14 AM.png
Screen Shot 2016-07-07 at 1.48.27 AM.png

Screen-shoots with/without the power supply plugged.
 

Attachments

  • DSDT.dsl
    332.5 KB · Views: 124
Back
Top