Battery status not working

Wax

New member
AMD OS X Member
Jun 19, 2024
3
0
1
CPU:
Ryzen 5 5600H
Hello,
as title says I can't get the battery status to work, the battery is always detected as running on AC, even with ECEnabler kext and SMCBatteryManager.kext
I'm on a laptop, an IdeaPad Gaming 3 15ACH6, with Ryzen 5 5600H, RTX 3050 disabled in OpenCore, 16 gigs of RAM and 512GB SSD.
I followed the first part of the nootedred Hackintosh guide, for gathering files, and then Dortania OpenCore guide for configuring the stuff. Everything is working, besides WiFi but I have an incompatible card, and this battery status thing, which also prohibits me from changing trackpad settings and, well, seeing my battery percentage. Any help will be appreciated, thanks in advance
I'll attach my EFI folder, in case it's needed
 

Attachments

Try removing the YogaSMC.kext, see if that fixes the Battery issue. You don't have a Yoga laptop, so this may not be set correctly for your IdeaPad.

It may be clashing with VirtualSMC.kext and the SMCBatteryManager.kext, which is preventing the SMC sensor reading the battery status.
 
I already tried with and without YogaSMC but nothing changed, I also tried patching my DSDT the old way but still nothing changed, I tried with the old ACPIBatteryManager kext and still nothing, I don't know what else to do honestly.
A guy with the same laptop and an older BIOS version had it working OOB with just the kexts, so I think a BIOS update screwed something up in how the battery is viewed in the system and it broke battery monitoring, could I be correct?
 
Yes, a bios update could affect how the battery is displayed in macOS. But it is unlikely to be the cause, as most bios updates don’t mess with battery settings.

If you right-click on the YogaSMC.kext, select show contents, open the Contents folder and then open the info.plist (use ProperTree to read and edit the plist). You will see a number of battery options are present in the plist. From what I recall most were set as ‘False/Disabled’. You might want to trial changing the battery settings to ‘True/Enabled’, to see if changing them makes any difference to how the battery is displayed in macOS.

Obviously you need to keep a backup of your working EFI to hand on a spare USB, in case the changes you make stop the system from booting with the edited kext.
 
You could always downgrade the bios to a known working version, if the battery worked correctly when you used an older bios. Assuming the upgraded bios doesn’t provide some essential fix for your system.
 
Yes, a bios update could affect how the battery is displayed in macOS. But it is unlikely to be the cause, as most bios updates don’t mess with battery settings.

If you right-click on the YogaSMC.kext, select show contents, open the Contents folder and then open the info.plist (use ProperTree to read and edit the plist). You will see a number of battery options are present in the plist. From what I recall most were set as ‘False/Disabled’. You might want to trial changing the battery settings to ‘True/Enabled’, to see if changing them makes any difference to how the battery is displayed in macOS.

Obviously you need to keep a backup of your working EFI to hand on a spare USB, in case the changes you make stop the system from booting with the edited kext.
I just tried that, but still to no avail. It's really weird though, the guy with the working stuff also sent me his EFI and it didn't work for me, I really can't wrap my head around it
You could always downgrade the bios to a known working version, if the battery worked correctly when you used an older bios. Assuming the upgraded bios doesn’t provide some essential fix for your system.
I'll have to try that next, I'll see if I can get an old BIOS copy and flash it, I don't know what else to try, if the BIOS downgrade is successful I'll write it back here in case anyone else needs it. Thanks a lot for the help!
 
I already tried with and without YogaSMC but nothing changed, I also tried patching my DSDT the old way but still nothing changed, I tried with the old ACPIBatteryManager kext and still nothing, I don't know what else to do honestly.
A guy with the same laptop and an older BIOS version had it working OOB with just the kexts, so I think a BIOS update screwed something up in how the battery is viewed in the system and it broke battery monitoring, could I be correct?
heyy i have also the same laptop so whats your BIOS version and so u ahve any old BIOS vresion
 
Yes, a bios update could affect how the battery is displayed in macOS. But it is unlikely to be the cause, as most bios updates don’t mess with battery settings.

If you right-click on the YogaSMC.kext, select show contents, open the Contents folder and then open the info.plist (use ProperTree to read and edit the plist). You will see a number of battery options are present in the plist. From what I recall most were set as ‘False/Disabled’. You might want to trial changing the battery settings to ‘True/Enabled’, to see if changing them makes any difference to how the battery is displayed in macOS.

Obviously you need to keep a backup of your working EFI to hand on a spare USB, in case the changes you make stop the system from booting with the edited kext.
I got the same ideapad gaming 3 laptop with ryzen 5600H and writing this from a sequoia 15.1 which is facing the same battery issues (already tried Ventura which had same issues)

I feel this laptop motherboard has some weird config with ssd wiring and battery wiring. I noticed while installation that if I don't use npci 0x2000/0x3000 boot args, during the installation battery percentage would show up but my ssds, specifically sata one and some partitions from nvme were not showing up properly. But if I use npci boot args, all ssds would show up and battery stops working.

Even tried installing the Mac with the args npci and then changing after installation would just hang the os with some startup errors.
 
Do you have Above 4G Decoding option in the Bios? This bios option should be Enabled in place of using npci=0x2000 or 0x3000 when possible.

Try booting with this AMD Bios tool, sse if the Above 4G Decoding option is available on your system.


IF you don't know what something does in the Bios don't mess with it or change it. Only make changes you know your system needs.
 
Do you have Above 4G Decoding option in the Bios? This bios option should be Enabled in place of using npci=0x2000 or 0x3000 when possible.

Try booting with this AMD Bios tool, sse if the Above 4G Decoding option is available on your system.


IF you don't know what something does in the Bios don't mess with it or change it. Only make changes you know your system needs.
Don't have any option for 4g decoding in BIOS, Advanced Bios and didn't find it using the UMAF tool as well.

I read somewhere that Above 4gb Limit MMIO is similar or something, I'm not sure. But above 4gb mmio was enabled (and in some other category was set to 40bit) and resizable bar was enabled in Bios.

If I dont use npci boot args, the macos fails to load and stops at [AHCI][HBA][07000000] start::545:FALSE. Image attached.
 

Attachments

Don't have any option for 4g decoding in BIOS, Advanced Bios and didn't find it using the UMAF tool as well.

I read somewhere that Above 4gb Limit MMIO is similar or something, I'm not sure. But above 4gb mmio was enabled (and in some other category was set to 40bit) and resizable bar was enabled in Bios.

If I dont use npci boot args, the macos fails to load and stops at [AHCI][HBA][07000000] start::545:FALSE. Image attached.
Found a fix, In Bios > Configuration > Switchable Graphics> UMA Graphics. Remove npci boot args and voila, everything works great!
 
  • Like
Reactions: Edhawk
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.