-
Notifications
You must be signed in to change notification settings - Fork 32
High Power Usage During Sleep #25
Comments
It looks like your computer did not enter sleep properly.
|
I've disabled Airdrop/Handoff and there's nothing there under sleep (pmset). |
Does sleep LED blink? I shutdown my computer as a sleep from external drive does not work currently. Maybe @zombillano, @tienhuynh5312 can share their experience here |
Yeah it does blink as per normal sleep. |
@EETagent i heard that you might encounter some issues if you boot from external drives. |
Hi. I've been monitoring it and I noticed that even during sleep (led blinks), my wifi card is still warm after an hour. The wifi card i'm using is BCM94360CS2. Any way to better manage this wifi card during sleep? |
Mine has proper power management, using the wifi card that came with my t480 (intel AC8265 I guess) |
Did it happen when you had unmodded UEFI? Did you encountered this before you swapped your network card? Try to test sleep power consumption with Linux live USB. Sadly, currently there is nothing we can do about it. |
I've narrowed down the BCM94360CS2 airport card heat to Bluetooth. In hackintool, if I remove the BRCM20702 Hub at HS07, it won't heat up anymore and power drain slows down considerably. |
You fully removed Bluetooth? Either faulty card or weird USB power settings. Please remove USBPorts.kext and use USBMap.kext from here |
Hi @EETagent thanks for the tip. I am using USBMap.kext now and have removed my wifi card, placed some insulation tape around it and now battery drain is better. The power consumption during standby is now 1% per hour. is this about the same for you guys? 1% per hour drain rate during sleep. |
I can’t report macOS values, but when on Linux, TP definitely does not lose 10% of battery during 10h sleep. Like I sad above, try some Linux live USB and check sleep power consumption with it. |
Nope, that's still too high. Battery usage under sleep has been tested before by myself and reported over the features enhancement issue. My T480 only consumes 1% every ~10-12 hours. I can test it again but to me your consumption is pretty high. |
@swatchie-1 Do a longer sleep (at least a few hours) and paste the output of "pmset -g log" (the last part for the actual sleep-session is enough) afterwards to see whats going on. |
Hi @benbender thanks alot for asking. Here's my log and appreciate if you have any input: `2020-08-29 08:11:59 +0800 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:96%) 54731 secs Total Sleep/Wakes since boot at 2020-08-28 21:44:57 +0800 :4 2020-08-29 23:30:53 +0800 : Showing all currently held IOKit power assertions As seen above, the sleep was at 8:12 AM and battery was at 96% Thanks. |
Something isn't going completely in S3. Check with syslog with "log show --last boot". Do you use the exact same config from this repo or did you change anything? Any devices connected while doing the S3? |
Hi. Yes I'm using the same config except
no devices are connected while sleeping. I even turned off the always ON power for the USB. |
Dear @EETagent / @zombillano , Can you take a look? |
After some tests, i notice my T480 logs show that it wakes up every 2 hours with RTC/Alarm reason. |
Bloody hell, you are right. Probably some mistake from when I recompiled/edited ACPI patches, before it was _PR.PR00. I've just checked my DSDT and this is huge bug as SSDT-PLUG now does not do anything actually. I will release hotfix immediately. |
Great. Hope it solves my sleep battery drain issue too. |
Why you have there this though? Shouldn't it be without that second underscore like OC little has? In my DSDT, it is without underscore too. |
You may want to try to experiment with https://github.com/acidanthera/RTCMemoryFixup |
Oh yes you are right. Typo on my part. Correcting it now and testing it again.
|
Weren't we using RTCMemoryFixup before release 4.0? I haven't got time to check battery drain while sleeping but I think mine does discharge at a similar ratio as @swatchie-1. I remember it was just fine when I tested it. I was running release 3.XX at that time. |
@swatchie-1 To diagnose further, please attach: a) An IOReg-dump (https://github.com/vulgo/IORegistryExplorer) |
Hi @benbender I appreciate you taking the time to look at this. Hope it helps other community members too with these troubleshooting. Sys Log: ioreg: |
Don't have much time, but a first look revealed the following: Multiple ACPI-Errors in your syslog (see with smth like Remove DGOFF as you don't have the HGOF()-method which it uses because you don't have a dGPU. some of your usb-connectors are wrong:
Your PMC-config is wrong:
Additionally:
|
@EETagent @swatchie-1 Please adapt the following PR: benbender/x1c6-hackintosh@7e69d7f Simpler, runs earlier and shouldn't fail if someone has:
|
Thanks. Let me try from the beginning. Adding those stuff such as AppleIntelPCHPMC, disabling PPMC and adding PPMC causes my bluetooth to stop functioning. |
@swatchie-1 if you have a T480, you have a PPMC-device. Thats your Power Management Controller. I don't have a clue how this interferes with your BT tbh. Without any logs, errors or similar its impossible to say whats up. But killing the PMC and replacing it with some arbitrary devices with no PCI-device attached to it is surely not the right way to fix it. |
Dear @benbender I've done what you taught me to and I've removed most of the AE_Not_Found errors. Can I ask you about:
Thank you. |
Ah sorry, could have mention that. The error is normal and exists on every OS. Root cause unknown.
Fix your PMC.
Yes, but it will not have any effect on runtime power-usage. In fact I've abandoned the SSDT for now. |
Hi @benbender regarding achieving 0.63W,
Any other PMC items i should look out for? |
You never fixed this afaik. But it seems as if your TB-controller is running. Verify by deactivating it completely in your BIOS. |
Dear @benbender sorry about the link being broken earlier. I confirmed i've deactivated the Thunderbolt in my bios I/O settings. Thank You |
Again - Fix your PMC! Explanation: You (or someone else) copy&pasted some ACPI-code meant for different hardware and a different purpose (probably this: https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PMC.dsl, which doesnt apply in any way to our hardware) without really knowing what he/she was doing. As a result your PowerManagement-controller, which handles PCI-power-management, is forcefully broken and a non-existent device (PMCR) is added. Interestingly this device is also present in the genuine ACPI for the macbookpro14,1, but by adding "APP9876" as name to the device a pm-driver of OSX connects to this non-functional-device and, presumably, brakes your PM. Correct implemenation: https://github.com/tylernguyen/x1c6-hackintosh/blob/master/patches/SSDT-PMCR.dsl PS: You didn't apply: "Switch to a Macbook14,1-platform as it's the closest match to a T480 PCH-wise. After the switch, regenerate your CPUFriendDataProvider with this: https://github.com/fewtarius/CPUFriendFriend" |
Thanks alot @benbender , i've fixed the SSDT-PMCR.dsl and it's working as the photo below. Power consumption is still about 1.5W. I discovered in IOReg that my TB port is still there : RP09. So I did this:
I'm still at Macbook 15,2 because my bluetooth broadcom card will not work at Macbook 14,1. Now I'm facing Kernel Task being high and the processor is constantly at work, fan is constantly on. Disabling the SSDT-OFFTB.aml solves it but power consumption is at 1.5W. |
Disable TB in IO-Ports in BIOS. The kernel task is a crashing TB-controller. "BIOS Assist disabled" is not "TB disabled".
Bluetooth is probably connected to usb. Switch the platform and redo your usb-patching via Hackintool or similar. Its most probably incorrect and you only have working bluetooth by accident. |
Hi @benbender good day to you. Yeah I disabled TB, all TB settings are disabled. I also checked it with ioreg: RP01 : is already disabled I have an NVME storage for Windows PM981 original I suspect the power draw is from the NVME storage from the windows drive since I can access it from mac OS. Would that be a possible conclusion? |
please post a complete ioreg-dump and I'll check the power-state |
Thanks alot @benbender |
|
Hi ben, thanks for your advice.
Will keep looking. |
Please try to verify that your CFG Lock is really unlocked using VerifyMsrE2.efi from OC. |
If so, I'm, tbh, out of ideas... I would remove the second hd and reflash the bios and reset and start over to see if that helps. It has to be some sort of slight change or the used hw which causes this... You should see power draw ~0.8W from my experience. |
Thanks alot. I appreciate your help all these while. Will try it soon. Cheers ben. You've been a great help! |
@benbender quick question. My cinebench keeps my temperature at 70 degrees and it won't go above it by limiting my PKG. Instead of going up to 25W, it stays at 20W to maintain 70 degrees. Any idea how to remove the 70 degrees celcius temperature limit? |
Not really as I haven't looked deeper into that stuff, but the cpu has a power-limit of 15W and only boosts to 20W/25W for a certain timewindow. So I don't think your problem is a temperature-target, but the boost-window. You can monitor this partially with |
@benbender Hi ben, is there any kext that is able to disable my other SSD, RP11? |
@swatchie-1 Just make the SSDT to disable the PCIe-port conditional using an OSI-check or the OSDW()-method. It should be doable via Kext but I'm not aware of anything in existence or any benefit using a kext. |
@benbender Thanks, the SSDT managed to disable it. But not much effect on my power consumption. That's fine. I'm still trying to solve the 1% battery drain during sleep and I narrowed it down to the Bluetooth during sleep. I've done all the disables in the system preferences but it has no effect. I tried your SSDT-ARPT but it didn't work that well too.
Thanks |
Im not even sure if its considerable less draw than 1% on genuine apple-hw... If you want to test it, remove the wifi-card and additional SSD and let the system sleep for some hours, see if it is a remarkable difference in power draw. |
Dear @EETagent Danny7g and Zombillano,
I noticed significant power consumption during sleep. As shown in the photo below, it was at 92% at 11:09 AM and I immediately put it to sleep. At 12:45pm after 1:35 hours of sleep, battery is now 88%. Attached also is my voltageshift status and my pmset -g.
Does anyone face the same power consumption issue while it's sleeping?
Thanks.
The text was updated successfully, but these errors were encountered: