Contribute
Register

[Guide] How to patch DSDT for working battery status

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
I analized _BIF method, installed also "coconut battery" and after reinstallation of ACPIBatteryManager.kext to the latest release version it seems that Battery info is now correct and is same as various apps in Windows show and the _BIF method provides... The battery appears to be worn for 30% percent and now macOS shows correctly that it needs maintenance, not replacement. consider it solved.
Design capacity is usually printed on the exterior of the battery...
I suppose you have decided that your statement regarding it in post #3463 is inaccurate?
 
Joined
May 31, 2015
Messages
99
Motherboard
MSI GE70 2OE
CPU
Intel Haswell Core i5 4200M 2.5GHz
Graphics
Intel HD 4600 & NVIDIA GTX 765M
Mac
MacBook Pro
Mobile Phone
Android, iOS
Yes my statement was inaccurate, the actual capacity is 4400 mah, but the manufacture date is N/A - this data cannot be retrieved by any app either in Windows or in Mac, I supposed early 2014 as the laptop manufacture date. So FruitJuice seems to show the default for itself manufacture date of 30.11.1979 when it's unable to retrieve the actual one.
 
Joined
Jun 10, 2014
Messages
7
Motherboard
HP 15an050nr
CPU
i5 6200u 2.3 GHz
Graphics
intel HD 520
Mobile Phone
iOS
"Looking through the rest of the the EC, we look for all fields larger than 8-bit, and for each one, search the rest of the DSDT to see if they are accessed. It is common that some fields are not accessed and for those we don't have to do anything. So, the next field we see is BMN0"

None of the Fields are accessed, using Sierra 10.12.2 Everything is just going over my head please help.
Attached all the files

Outputs
kextstat|grep -y acpiplat
Code:
 13    2 0xffffff7f824d7000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (5.0) B8468080-CED9-30EA-B151-33368AF9555B <12 11 7 6 5 4 3 1>
kextstat|grep -y applelpc
kextstat|grep -y appleintelcpu
sudo touch /System/Library/Extensions && sudo kextcache -u /
Code:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8100.kext
KernelCache ID: DC6A93B10D784EA808A4194E079DDF3D
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
None of the Fields are accessed,
What do you mean? First multibyte EC field I find is SMD0, and it is accessed in SMWR...
And "HP G6 2221ss" is a likely match anyway.
 
Joined
Jun 10, 2014
Messages
7
Motherboard
HP 15an050nr
CPU
i5 6200u 2.3 GHz
Graphics
intel HD 520
Mobile Phone
iOS
What do you mean? First multibyte EC field I find is SMD0, and it is accessed in SMWR...
And "HP G6 2221ss" is a likely match anyway.
Patching "HP G6 2221ss" gave 93 errors
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Patching "HP G6 2221ss" gave 93 errors
You are wrong.
I already tested it with the files you provided.
No errors with the files you provided in post #3469.
 
Joined
Apr 10, 2012
Messages
140
Motherboard
Gigabyte GA-H87N-WIFI
CPU
i5-4670K
Graphics
GTX 660
FYI if anyone needs, the battery_Lenovo-Ideapad-Y700 patch works for Lenovo Miix 700‑12ISK. I just patched my DSDT and thought the model should be added.

Thanks for your great work!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
190,977
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
FYI if anyone needs, the battery_Lenovo-Ideapad-Y700 patch works for Lenovo Miix 700‑12ISK. I just patched my DSDT and thought the model should be added.

Thanks for your great work!
For verification purposes, attach native DSDT.aml (from ACPI/origin after Clover F4 extract).
 
Top