Jump to content

[Guide] Laptop Battery Indicator - The DSDT Patching Horror


Recommended Posts

Posted

[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)

Posted

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)

Posted

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)

Posted

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.

Posted
dmesg
you can try using other versions of acpibattery kexts. Gd luck.

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)

Posted

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.

Posted

[ref]Wizzard[/ref], link?

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)

Posted

I don't know what is second part of the patch

its in the link you provided by the OP

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)

Posted

I really dont know what you mean. 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.

Posted

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)

Posted

[ref]Wizzard[/ref], for sake of troubleshooting, try this and report back.

 

DSDT.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)

Posted

It works, but still it shows the percentage higher than in Linux (approx. 95 percent against 90 percent) so maybe it still needs another tweaking.

Posted

Does percentage decrease or increase with use?

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)

Posted

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)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...