Contribute
Register

[solved] Broken Windows’ battery status after High Sierra 10.13.1 install on HP laptop

Joined
Oct 28, 2016
Messages
49
Motherboard
MSI Z270 Tomahawk Arctic
CPU
i7-7700K
Graphics
GTX 1070 Ti, HD 630
Mobile Phone
iOS
Battery (non-removable) has a fixed percentage (99%), which turns into a fixed 0% after the first automatic shutdown from low battery (which occured when the battery percentage was still 99%):

If AC was plugged “0% Plugged but not charing” was displayed in Windows and laptop did not boot without AC Power. I fixed it with a BIOS flash: battery status fixed in Windows, charging fixed as well. I haven’t booted macOS since then and battery status kept working. 3 days after I saw the battery status was ok and battery reliable, I formatted the ssd, re-installed windows and installed macOS again (on a ssd’s partition). The problem came back after some macOS boots, I fixed it with another BIOS flash (I flashed the same BIOS version again), haven’t booted macOS since now.

BIOS version (F.38 Rev.A) & detailed info attached with FAQ Files.

I use a FAT32 partition created by a windows tool (partition wizard) as EFI partition, so it differs from the Windows’ EFI one (I have to start Clover manually).

It seems that clover/macOS prevents the BIOS from registering correct battery data, since a BIOS flash fixes it. I have not implemented battery status on macOS yet.

Thanks in advance for the help.
 

Attachments

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Battery (non-removable) has a fixed percentage (99%), which turns into a fixed 0% after the first automatic shutdown from low battery (which occured when the battery percentage was still 99%):

If AC was plugged “0% Plugged but not charing” was displayed in Windows and laptop did not boot without AC Power. I fixed it with a BIOS flash: battery status fixed in Windows, charging fixed as well. I haven’t booted macOS since then and battery status kept working. 3 days after I saw the battery status was ok and battery reliable, I formatted the ssd, re-installed windows and installed macOS again (on a ssd’s partition). The problem came back after some macOS boots, I fixed it with another BIOS flash (I flashed the same BIOS version again), haven’t booted macOS since now.

BIOS version (F.38 Rev.A) & detailed info attached with FAQ Files.

I use a FAT32 partition created by a windows tool (partition wizard) as EFI partition, so it differs from the Windows’ EFI one (I have to start Clover manually).

It seems that clover/macOS prevents the BIOS from registering correct battery data, since a BIOS flash fixes it. I have not implemented battery status on macOS yet.

Thanks in advance for the help.
ACPI not patched correctly.
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Joined
Oct 28, 2016
Messages
49
Motherboard
MSI Z270 Tomahawk Arctic
CPU
i7-7700K
Graphics
GTX 1070 Ti, HD 630
Mobile Phone
iOS
Thanks.
I patched my DSDT and I'm using your OS-X-ACPI-Battery-Driver kext as well. Now I have working battery status on macOS.
I used #battery_HP-DV6-3165sf.txt from your repo.
Battery was charging but I unplugged AC and plugged it again and now "Battery not charging" is displayed. Battery information is accurate: percentage drops if I unplug from AC but won't increase with AC plugged.
 

Attachments

Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Thanks.
I patched my DSDT and I'm using your OS-X-ACPI-Battery-Driver kext as well. Now I have working battery status on macOS.
I used #battery_HP-DV6-3165sf.txt from your repo.
Battery was charging but I unplugged AC and plugged it again and now "Battery not charging" is displayed. Battery information is accurate: percentage drops if I unplug from AC but won't increase with AC plugged.
"HP DV6 3165" is a poor choice most of the time.
For most laptops that match that patch, better to use "HP G6 2221ss".
 
Joined
Oct 28, 2016
Messages
49
Motherboard
MSI Z270 Tomahawk Arctic
CPU
i7-7700K
Graphics
GTX 1070 Ti, HD 630
Mobile Phone
iOS
"HP DV6 3165" is a poor choice most of the time.
For most laptops that match that patch, better to use "HP G6 2221ss".
  1. Applied "HP G6 2221ss" to a not patched DSDT.dsl, saved as .aml and placed in EFI/CLOVER/ACPI/patched.
  2. Flashed again same BIOS version, battery charges/status OK in Windows.
  3. Battery seems to charge in macOS: IOreg and terminal outputs attached
  4. Unplugged AC (for the first time since BIOS flash), Plugged again: "Battery is not charging" is back (percentage drops if I unplug AC): IOreg and terminal outputs attached.
Do I need to apply some other DSDT patches to fix this?
Thanks.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
  1. Applied "HP G6 2221ss" to a not patched DSDT.dsl, saved as .aml and placed in EFI/CLOVER/ACPI/patched.
  2. Flashed again same BIOS version, battery charges/status OK in Windows.
  3. Battery seems to charge in macOS: IOreg and terminal outputs attached
  4. Unplugged AC (for the first time since BIOS flash), Plugged again: "Battery is not charging" is back (percentage drops if I unplug AC): IOreg and terminal outputs attached.
Do I need to apply some other DSDT patches to fix this?
Thanks.
ACPI is not patched correctly. For example, no "OS Check Fix".
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
 
Joined
Oct 28, 2016
Messages
49
Motherboard
MSI Z270 Tomahawk Arctic
CPU
i7-7700K
Graphics
GTX 1070 Ti, HD 630
Mobile Phone
iOS
ACPI is not patched correctly. For example, no "OS Check Fix".
See guide:
https://www.tonymacx86.com/threads/guide-patching-laptop-dsdt-ssdts.152573/
Applied all common patches but IMEI (I already have IMEI in IOReg).
Again, DSDT pasted in ACPI/patched. Flashed BIOS, battery OK in Windows, seems OK in macOS since the first AC unplug. "Battery not charging" is now displayed with AC plugged.

I may understand that battery is not charging in macOS, but why this macOS battery charging problem affects Windows (and BIOS) and prevents the PC from charging at all?

(F4 clover displays 1 hours ago generated files, but it's because I didn't matched the new time yet, I just generated them).
Thanks.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Applied all common patches but IMEI (I already have IMEI in IOReg).
Again, DSDT pasted in ACPI/patched. Flashed BIOS, battery OK in Windows, seems OK in macOS since the first AC unplug. "Battery not charging" is now displayed with AC plugged.

I may understand that battery is not charging in macOS, but why this macOS battery charging problem affects Windows (and BIOS) and prevents the PC from charging at all?

(F4 clover displays 1 hours ago generated files, but it's because I didn't matched the new time yet, I just generated them).
Thanks.
Your config.plist is a mess.
Way too many ACPI/Fixes (kitchen sink approach, eh?)
See guide for better starter plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Joined
Oct 28, 2016
Messages
49
Motherboard
MSI Z270 Tomahawk Arctic
CPU
i7-7700K
Graphics
GTX 1070 Ti, HD 630
Mobile Phone
iOS
Your config.plist is a mess.
Way too many ACPI/Fixes (kitchen sink approach, eh?)
See guide for better starter plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
Kitchen Sink?
I edited a generated config.plist by Clover, I didn't manually choose all that fixes if that is what you meant. New config.plist.
Unluckily I still have "Battery is not charging". Why is Windows affected by this too?.

With that messed config.plist I was able to increase/decrease brightness without any kext, what fix should I pick to have it back?

Thanks a lot for the help RehabMan.
 

Attachments

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,028
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Kitchen Sink?
Kitchen sink == Using patches without understanding what they do and when not needed.

With that messed config.plist I was able to increase/decrease brightness without any kext, what fix should I pick to have it back?

Thanks a lot for the help RehabMan.
You still have inappropriate selections in ACPI/DSDT/Fixes.
See guide (already linked) for better starter plists.
Brightness guide is here:
https://www.tonymacx86.com/threads/guide-laptop-backlight-control-using-applebacklightinjector-kext.218222/
 
Top