Jump to content
onemanosx

[Guide] Laptop Battery Indicator - The DSDT Patching Horror

Recommended Posts

[ref]Wizzard[/ref], Sorry, cant help further.Try to google for solutions. Anyway, is your trackpad working? Never seen some of those weird kexts you had for i2C device.

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

onemanosx, [bat] -->Battery Patches. where lenovo G570 how to DSDT

do custom patch if there is no lenovo g570.


Upload your dsdt.aml

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Why weird kexts?

No idea what VoodooI2CAtmelMXT.kext does. You should read I2C documentation and determine if your device is Elan, FTE, HID or Synaptics - https://github.com/alexandred/VoodooI2C


Try my last attempt for your working battery

 

Wizzard - DSDT - 03.aml.zip

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

I dont remember where I got all those kexts, I think I was recommended it on some forum and so downloaded it :)

I think my touchpad should be SYNA3602, according to some gyus having the same or similar notebook. So I deleted all the Voodoo kexts except Synaptics, but still not working. I think that this touchpad is very unsupported still.

Thank you very much for another DSDT, but it still shows 0 percent. I must try to patch it myself. I just get the errors like "Capacity read zero" in dmesg.

Link to comment
Share on other sites

Okay, I think I found a part of the solution on a competitive forum and it looks like this:

 

Name (BPKG, Package (0x0D)
                   {
                       Zero, 
                       Ones, 
                       Ones, 
                       One, 
                       0x2710, // this is what I have to edit, original was "Ones", I replaced it by 7200, 5000 or 1000
                       Zero, 
                       Zero, 
                       0x64, 
                       Zero, 
                       "SR Real Battery", 
                       "OneManOSX", 
                       "Real", 
                       "Intel SR 1"
                   })

 

So now I can see non-zero percentage of battery! Just the percentage is higher than the one in Linux and Windows. So maybe I should find the right number (I dont know how to find it out yet). My battery has the capacity of 5000 mAh, so I would guess that number would be 5000, but I dont know.


edit: and also the percentage in a status bar does not change as the battery discharges.

Link to comment
Share on other sites

I just changed the string "Ones" by "7200" in "Name (BPKG, Package (0x0D)" function as in that provided link and I can see the battery status, although not very exact

Looks to me, that is not the only change made by the OP. See screenshot


https://imgur.com/a/xHpxwsW

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

For the sake of sharing, I just read up on this interesting ACPI method. The information is definitely usable in this case.


https://github.com/gsly/OS-X-ACPI-Battery-Driver/wiki/_BIF-Method

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Decrease, of course :) The percentage is always 3-5 percent higher than in Linux.

The difference between OS is commendable, I think. You may try and input your custom _BIF as per the documentation (https://github.com/gsly/OS-X-ACPI-Battery-Driver/wiki/_BIF-Method), if you are up for it.


Anyway, appreciate if you can test this DSDT and see if battery status works. Thanks in advance.

 

DSDT.aml.zip

 

Added in 6 minutes 38 seconds:

instructions on whether I can convert the DSDT itself for operation SSDT-BAT please, please give me the whole information

whole information here https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

Donate

Gitter Chat


Acer Aspire V15 Nitro- Black Edition VN7-592G/HM170 Chipset

Intel i7-6700HQ, 8GB RAM (UEFI Clover Catalina)


MSI B360 Gaming Arctic

Intel i5-8600 16GB RAM Asus Radeon RX580 8GB (UEFI Clover Catalina)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...