Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

High Power Usage During Sleep #25

Closed
swatchie-1 opened this issue Aug 21, 2020 · 111 comments
Closed

High Power Usage During Sleep #25

swatchie-1 opened this issue Aug 21, 2020 · 111 comments
Labels
bug Something isn't working help wanted Extra attention is needed rare It occurs only on a few machines

Comments

@swatchie-1
Copy link

swatchie-1 commented Aug 21, 2020

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?

Screenshot 2020-08-21 at 11 09 55 AM
Screenshot 2020-08-21 at 12 45 34 PM
Screenshot 2020-08-21 at 12 48 48 PM
Screenshot 2020-08-21 at 12 54 01 PM

Thanks.

@EETagent
Copy link
Owner

It looks like your computer did not enter sleep properly.

sleep prevented by sharingd

@swatchie-1
Copy link
Author

I've disabled Airdrop/Handoff and there's nothing there under sleep (pmset).
Closed the lid.
Still decreasing 3% in 1 hour.

@EETagent
Copy link
Owner

EETagent commented Aug 21, 2020

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

@swatchie-1
Copy link
Author

Yeah it does blink as per normal sleep.

@tienhuynh5312
Copy link

@EETagent i heard that you might encounter some issues if you boot from external drives.

@swatchie-1
Copy link
Author

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?

@zombillano
Copy link

Mine has proper power management, using the wifi card that came with my t480 (intel AC8265 I guess)

@EETagent
Copy link
Owner

EETagent commented Aug 23, 2020

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.

@EETagent EETagent added the wontfix This will not be worked on label Aug 23, 2020
@swatchie-1
Copy link
Author

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.

@EETagent
Copy link
Owner

EETagent commented Aug 24, 2020

You fully removed Bluetooth? Either faulty card or weird USB power settings. Please remove USBPorts.kext and use USBMap.kext from here

@swatchie-1
Copy link
Author

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.
I am using 24Wh (internal) + 24Wh (external).

is this about the same for you guys? 1% per hour drain rate during sleep.

@EETagent
Copy link
Owner

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.

@zombillano
Copy link

is this about the same for you guys? 1% per hour drain rate during sleep.

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.

@benbender
Copy link

benbender commented Aug 28, 2020

@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.

@swatchie-1
Copy link
Author

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
2020-08-29 08:12:01 +0800 Wake Requests [*process=powerd request=UserWake deltaSecs=158212 wakeAt=2020-08-31 04:08:53 info="com.apple.alarm.user-visible-Weekly Usage Report,327"]
2020-08-29 08:12:01 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2014 ms)]
2020-08-29 23:24:09 +0800 Kernel Client Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1441 ms)] [AppleDeviceManagementHIDEventService driver is slow(msg: WillChangeState to 2)(422 ms)] [IOSCSIPeripheralDeviceType00 driver is slow(msg: SetState to 0)(502 ms)] [IOUSBMassStorageInterfaceNub driver is slow(msg: SetState to 0)(501 ms)]
2020-08-29 23:24:09 +0800 Notification Display is turned on
2020-08-29 23:24:09 +0800 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2020-08-29 23:24:09 +0800 Assertions PID 222(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000085b2 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:09 +0800 Assertions PID 222(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000085b2 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:09 +0800 Notification Next immediate inactivity window start:'2020-08-29 23:15:00 +0800' end:'2020-08-29 23:45:00 +0800'
2020-08-29 23:24:09 +0800 Notification Next largest inactivity window start:'2020-08-30 00:15:00 +0800' end:'2020-08-30 08:00:00 +0800'
2020-08-29 23:24:10 +0800 Wake Wake from Safe Sleep [CDNVA] : due to /Lid Open Using BATT (Charge:60%)
2020-08-29 23:24:10 +0800 WakeDetails DriverReason:PXSX - DriverDetails:
DriverReason:WiFi.ScanOffload-Group key handshake timeout - DriverDetails:
2020-08-29 23:24:10 +0800 HibernateStats hibmode=3 standbydelaylow=0 standbydelayhigh=0 222
2020-08-29 23:24:10 +0800 WakeTime WakeTime: 54996.216 sec
2020-08-29 23:24:10 +0800 Kernel Client Acks Delays to Wake notifications: [AirPort_BrcmNIC driver is slow(msg: SetState to 2)(366 ms)] [AppleIntelFramebuffer driver is slow(msg: SetState to 2)(398 ms)] [ApplePS2Controller driver is slow(msg: SetState to 2)(425 ms)] [IOUSBMassStorageDriverNub driver is slow(msg: SetState to 1)(561 ms)] [AppleHDADriver driver is slow(msg: SetState to 1)(590 ms)] [RMIBus driver is slow(msg: SetState to 1)(1036 ms)]
2020-08-29 23:24:10 +0800 Assertions PID 215(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context79.preventuseridledisplaysleep" 25:39:00 id:0x0x50000804e [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:10 +0800 Assertions PID 215(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context79.preventuseridlesleep" 25:39:00 id:0x0x10000804d [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:10 +0800 Assertions PID 215(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context80.preventuseridledisplaysleep" 25:39:00 id:0x0x500008052 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:10 +0800 Assertions PID 215(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context80.preventuseridlesleep" 25:39:00 id:0x0x100008051 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:10 +0800 Assertions PID 215(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context81.preventuseridledisplaysleep" 25:39:00 id:0x0x500008056 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:10 +0800 Assertions PID 215(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context81.preventuseridlesleep" 25:39:00 id:0x0x100008055 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:12 +0800 Assertions PID 181(loginwindow) Created UserIsActive "Loginwindow User Activity" 00:00:00 id:0x0x9000085ee [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:12 +0800 Assertions PID 181(loginwindow) Released UserIsActive "Loginwindow User Activity" 00:00:00 id:0x0x9000085ee [System: PrevIdle DeclUser kDisp]
2020-08-29 23:26:06 +0800 Assertions PID 429(sharingd) Released PreventUserIdleSystemSleep "Handoff" 00:01:53 id:0x0x1000085f1 [System: PrevIdle DeclUser kDisp]

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
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
PreventSystemSleep 0
ExternalMedia 0
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 153(hidd): [0x000021810009859a] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000043c name:IOHIDEventDriver product:Keyboard eventType:3"
Timeout will fire in 119 secs Action=TimeoutActionRelease
pid 429(sharingd): [0x0000225400018663] 00:04:44 PreventUserIdleSystemSleep named: "Handoff"
pid 421(useractivityd): [0x0000236c00018683] 00:00:04 PreventUserIdleSystemSleep named: "BTLEAdvertisement"
Timeout will fire in 56 secs Action=TimeoutActionTurnOff
pid 351(Intel Power Gadget): [0x0000002500018098] 25:45:29 PreventUserIdleSystemSleep named: "logging system metrics"
Kernel Assertions: 0x8=BT-HID
id=503 level=255 0x8=BT-HID mod=01/01/1970, 7:30 AM description=com.apple.driver.IOBluetoothHIDDriver owner=AppleHSBluetoothDevice
Idle sleep preventers: IODisplayWrangler
firefly1@FireFly1s-MBP ~ % 2020-08-29 08:11:59 +0800 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:96%) 54731 secs
2020-08-29 08:12:01 +0800 Wake Requests [*process=powerd request=UserWake deltaSecs=158212 wakeAt=2020-08-31 04:08:53 info="com.apple.alarm.user-visible-Weekly Usage Report,327"]
2020-08-29 08:12:01 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2014 ms)]
2020-08-29 23:24:09 +0800 Kernel Client Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1441 ms)] [AppleDeviceManagementHIDEventService driver is slow(msg: WillChangeState to 2)(422 ms)] [IOSCSIPeripheralDeviceType00 driver is slow(msg: SetState to 0)(502 ms)] [IOUSBMassStorageInterfaceNub driver is slow(msg: SetState to 0)(501 ms)]
2020-08-29 23:24:09 +0800 Notification Display is turned on
2020-08-29 23:24:09 +0800 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2020-08-29 23:24:09 +0800 Assertions PID 222(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000085b2 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:09 +0800 Assertions 2020-08-29 08:11:59 +0800 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:96%) 54731 secs
2020-08-29 08:12:01 +0800 Wake Requests [*process=powerd request=UserWake deltaSecs=158212 wakeAt=2020-08-31 04:08:53 info="com.apple.alarm.user-visible-Weekly Usage Report,327"]
2020-08-29 08:12:01 +0800 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2014 ms)]
2020-08-29 23:24:09 +0800 Kernel Client Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(1441 ms)] [AppleDeviceManagementHIDEventService driver is slow(msg: WillChangeState to 2)(422 ms)] [IOSCSIPeripheralDeviceType00 driver is slow(msg: SetState to 0)(502 ms)] [IOUSBMassStorageInterfaceNub driver is slow(msg: SetState to 0)(501 ms)]
2020-08-29 23:24:09 +0800 Notification Display is turned on
2020-08-29 23:24:09 +0800 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2020-08-29 23:24:09 +0800 Assertions PID 222(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000085b2 [System: PrevIdle DeclUser kDisp]
2020-08-29 23:24:09 +0800 Assertions
`

As seen above, the sleep was at 8:12 AM and battery was at 96%
At 23:24:10 pm, battery was only at 60%.

Thanks.

@benbender
Copy link

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?

@swatchie-1
Copy link
Author

Hi. Yes I'm using the same config except

  1. Changed the platform info to match my own random set of serials
  2. I removed the intel wifi kexts. I am using an apple airport wifi card with a m.2 converter.

no devices are connected while sleeping. I even turned off the always ON power for the USB.

@swatchie-1
Copy link
Author

swatchie-1 commented Sep 14, 2020

Dear @EETagent / @zombillano ,
I found that my DSDT.dsl Processor is using "_PR" prefix while your prefix uses "_SB".
I am using i5-8350u processor. Attached is my DSDT.dsl and your current SSDT-PLUG.dsl. I noticed some battery improvement after using SSDT Time to get my SSDT-PLUG.aml but I wonder if I should just use your SSDT-Plug.aml and change the prefix to "_PR".

Can you take a look?
Thanks.
DSDT&SSDT-swatchie.zip

@swatchie-1
Copy link
Author

After some tests, i notice my T480 logs show that it wakes up every 2 hours with RTC/Alarm reason.

@EETagent
Copy link
Owner

EETagent commented Sep 14, 2020

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.

@swatchie-1
Copy link
Author

Great. Hope it solves my sleep battery drain issue too.

@EETagent
Copy link
Owner

EETagent commented Sep 14, 2020

@swatchie-1

Why you have there this though? _PR_.PR00

Shouldn't it be without that second underscore like OC little has? In my DSDT, it is without underscore too.
_PR.PR00

@EETagent
Copy link
Owner

EETagent commented Sep 14, 2020

After some tests, i notice my T480 logs show that it wakes up every 2 hours with RTC/Alarm reason.

You may want to try to experiment with https://github.com/acidanthera/RTCMemoryFixup
It would help you with removing conflicting offsets.

@swatchie-1
Copy link
Author

Oh yes you are right. Typo on my part. Correcting it now and testing it again.

Why you have there this though? _PR_.PR00

Shouldn't it be without that second underscore like OC little has? In my DSDT, it is without underscore too.
_PR.PR00

@EETagent EETagent added bug Something isn't working help wanted Extra attention is needed rare It occurs only on a few machines and removed wontfix This will not be worked on labels Sep 14, 2020
@zombillano
Copy link

After some tests, i notice my T480 logs show that it wakes up every 2 hours with RTC/Alarm reason.

You may want to try to experiment with https://github.com/acidanthera/RTCMemoryFixup
It would help you with removing conflicting offsets.

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.

@benbender
Copy link

@swatchie-1 To diagnose further, please attach:

a) An IOReg-dump (https://github.com/vulgo/IORegistryExplorer)
b) A dump of your syslog (log show --last boot > syslog-swatchie.log)

@swatchie-1
Copy link
Author

swatchie-1 commented Nov 3, 2020

Hi @benbender I appreciate you taking the time to look at this. Hope it helps other community members too with these troubleshooting.

Sys Log:
[removed]

ioreg:
[removed]

@benbender
Copy link

benbender commented Nov 3, 2020

Don't have much time, but a first look revealed the following:

Multiple ACPI-Errors in your syslog (see with smth like log show --last boot|grep AE_)

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:

  • HS04 is connectortype 0x09
  • HS09 is connectortype 0xFF
  • SS04 is connectortype 0x09

Your PMC-config is wrong:

  • Your PPMC-device is missing (it should be enabled and have AppleIntelPCHPMC attached, you seem to have faked it to pmcr with no real PCI-device attached to it)

Additionally:

@benbender
Copy link

@EETagent @swatchie-1 Please adapt the following PR: benbender/x1c6-hackintosh@7e69d7f

Simpler, runs earlier and shouldn't fail if someone has:

  • no dGPU
  • TB bios-assist enabled and therefor PM in the TB-ICM

@swatchie-1
Copy link
Author

Thanks. Let me try from the beginning. Adding those stuff such as AppleIntelPCHPMC, disabling PPMC and adding PPMC causes my bluetooth to stop functioning.

@benbender
Copy link

benbender commented Nov 3, 2020

@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.

@swatchie-1
Copy link
Author

swatchie-1 commented Nov 5, 2020

Dear @benbender I've done what you taught me to and I've removed most of the AE_Not_Found errors.
Now the AE_Bad_Parameter remains which stems from : IOAPIC: Version 0x20 Vectors 64:111

Can I ask you about:

  1. My Power consumption is still 1.4W at idle. I fixed my USBPorts. Can you see if there's anything else?
  2. My Broadcom wifi card, i suspect is RP07 (based on the DSDT) but the SSDT-ARPT is targeting RP01. Should I change it to RP07?

Thank you.

@benbender
Copy link

Dear @benbender I've done what you taught me to and I've removed most of the AE_Not_Found errors.
Now the AE_Bad_Parameter remains which stems from : IOAPIC: Version 0x20 Vectors 64:111

Ah sorry, could have mention that. The error is normal and exists on every OS. Root cause unknown.

Can I ask you about:

  1. My Power consumption is still 1.4W at idle. I fixed my USBPorts. Can you see if there's anything else?

Fix your PMC.

  1. My Broadcom wifi card, i suspect is RP07 (based on the DSDT) but the SSDT-ARPT is targeting RP01. Should I change it to RP07?

Yes, but it will not have any effect on runtime power-usage. In fact I've abandoned the SSDT for now.

@swatchie-1
Copy link
Author

Hi @benbender regarding achieving 0.63W,

  1. Regarding the PMC, i still can't find anything else to power down. I've tried the OFFTB and OFFDGPU but i'd have AE_not_found errors if I activate them, so I deactivated the two SSDTs. I've also done:
  • Thunderbolt BIOS Assist Mode Disabled
  • Wake by Thunderbolt(TM) 3 Enabled
  • Security Level User Authorization
  • Support in Pre Boot Environment -> Thunderbolt(TM) device Enabled

Screenshot 2020-11-06 at 11 08 42 PM

Any other PMC items i should look out for?

@benbender
Copy link

benbender commented Nov 6, 2020

@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.

You never fixed this afaik.

But it seems as if your TB-controller is running. Verify by deactivating it completely in your BIOS.

@swatchie-1
Copy link
Author

swatchie-1 commented Nov 7, 2020

Dear @benbender sorry about the link being broken earlier.

I confirmed i've deactivated the Thunderbolt in my bios I/O settings.
I've deactivated the SSDT ARPT, OFFTB, and OFFDGPU.
Lowest Wattage I achieved is 1.47W.

Thank You

@benbender
Copy link

benbender commented Nov 7, 2020

Again - Fix your PMC!

It should be like this:
PPMC

Yours is completely broken:
pmc-broken

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"

@swatchie-1
Copy link
Author

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:

  1. Enable SSDT-OFFTB.aml
  2. Set in bios to turn on the Thunderbolt I/O, and:
  • Thunderbolt BIOS Assist Mode Disabled
  • Wake by Thunderbolt(TM) 3 Enabled
  • Security Level User Authorization
  • Support in Pre Boot Environment -> Thunderbolt(TM) device Enabled

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.

Screenshot 2020-11-08 at 1 22 38 AM

@benbender
Copy link

benbender commented Nov 7, 2020

Disable TB in IO-Ports in BIOS. The kernel task is a crashing TB-controller. "BIOS Assist disabled" is not "TB disabled".

I'm still at Macbook 15,2 because my bluetooth broadcom card will not work at Macbook 14,1.

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.

@swatchie-1
Copy link
Author

Hi @benbender good day to you. Yeah I disabled TB, all TB settings are disabled. I also checked it with ioreg:

Screenshot 2020-11-08 at 9 32 39 PM

RP01 : is already disabled
RP05: NVME controller
RP07: Broadcom wifi : working normally
RP09: TB: disabled as below
RP11: NVME Controller

I have an NVME storage for Windows PM981 original
and another storage for Mac using the WWAN port.

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?

@benbender
Copy link

please post a complete ioreg-dump and I'll check the power-state

@swatchie-1
Copy link
Author

swatchie-1 commented Nov 8, 2020

Thanks alot @benbender

swatchie-1-9-nov.zip

@swatchie-1
Copy link
Author

Hi ben, thanks for your advice.

  1. Disabled RP11 which is my other NVME drive for Windows, hence no windows. However there wasn't a drop in power consumption, still 1.4W

  2. Disabled the HS09 fingerprint reader. Power consumption is still 1.5W.

Will keep looking.

@benbender
Copy link

Please try to verify that your CFG Lock is really unlocked using VerifyMsrE2.efi from OC.

@swatchie-1
Copy link
Author

swatchie-1 commented Nov 9, 2020

Yeah NSR unlocked.

IMG_1254

@benbender
Copy link

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.

@swatchie-1
Copy link
Author

Thanks alot. I appreciate your help all these while. Will try it soon. Cheers ben. You've been a great help!

@swatchie-1
Copy link
Author

@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?
Screenshot 2020-11-11 at 7 21 20 PM

@benbender
Copy link

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 sudo powermetrics and should have a look in the overclocking menu of the advanced menu in an unlocked bios. Apart from that, I'm out of my wisdom ^^

@swatchie-1
Copy link
Author

@benbender Hi ben, is there any kext that is able to disable my other SSD, RP11?
My other SSD is for windows. If I disable it using ACPI, i will not be able to boot windows.

@benbender
Copy link

@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.

@swatchie-1
Copy link
Author

@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.
Options i figured are:

  1. is there an improved SSDT to disable RP07 during sleep and resume it back
  2. Is there a way to disable bluetooth during sleep and turn it on during wake?

Thanks

@benbender
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed rare It occurs only on a few machines
Projects
None yet
Development

No branches or pull requests

8 participants