Contribute
Register

[Guide] Native Power Management for Laptops

Joined
Aug 18, 2016
Messages
310
Motherboard
Inspiron 11 3153
CPU
i3-6100u
Graphics
HD 520
Disabled hibernation and got this message, just want to make sure its expected.

Code:
Warning: Idle sleep timings for "AC Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.
 
Last edited:
Joined
Sep 22, 2011
Messages
301
Motherboard
Thinkpad T61-Clover
CPU
T9300/ICH8M
Graphics
Quadro NVS 140m, 1280x800
Mac
MacBook Pro
Sharing my own lesson learned:

I'm working on my 4th hackintosh and have found consistently across all platforms that native power management is best achieved by choosing the Mac Model that most closely approximates the hardware and also by choosing the closest AppleLPC.IONameMatch.

For example, I have a laptop that achieves optimal power management as a MacBookPro5,1 (which requires me to include CLOVER boot flag -no_compat_check to run High Sierra and Mojave and hopefully later OSes). Luckily, this laptop's LPC IOName is detected and matches a name already listed in AppleLPC.kext/Contents/Info.plist, but my other three systems needed a custom LPC.IOName injected via a DSDT patch.

Since USBInjectAll.kext doesn't support MacBookPro's older than 6,1, I needed to manually add MBP5,1 entries to USBInjectAll.kext/Contents/Info.plist (duplicated the entries for MBP7,1 and replaced "MacBookPro7,1" with MacBookPro5,1"). My HackBookPro5,1 has never been better.

Prior to this realization, I was always trying to force MacOS to run by choosing a Mac Model compatible with the OS. Now, I'll always choose the Mac Model that best approximates the hardware and then figure out how to get the OS to run on that MacModel.

In addition to the Mac Model and the LPC.IOName, I suspect that choosing the correct OS Identification for "Darwin" makes a difference. Both of my laptops include _OSI conditions for "Linux" in their DSDTs. I'm still testing, but it appears to me that setting the "Darwin" equivalency to "Linux" for the OS Identification in the DSDT results in the lowest CPU / GPU temps (for my laptops that specify "Linux" conditions in the DSDT). I suspect that other systems can be optimized by experimenting with and choosing the best "Darwin" _OSI equivalency (which may not be "Linux").
 
Last edited:
Joined
Oct 16, 2018
Messages
82
Motherboard
Lenovo v330--15IKB 81AX
CPU
i5 8250U
Graphics
UHD 620
Can't find "as CPU PM is already enabled with the plists provided by the guide." that .plist. I've read the guide like 2 or 3 times. I have a whiskey lake and my laptop has a very bad battery drain
 
Joined
May 1, 2019
Messages
42
Motherboard
Dell Inspiron 15 7586
CPU
i7-8565U
Graphics
UHD 620, 3840 x 2160
Mac
MacBook Pro
Mobile Phone
iOS
Joined
Dec 18, 2013
Messages
351
Motherboard
Lenovo Yoga 910
CPU
i7-7500U
Graphics
UHD 620
Mac
MacBook Pro
Mobile Phone
Android
Hi all,

Since the very beginning I'm experiencing problems regarding sleep/wake with my older Toshiba KIRA, which is a great, portable laptop.

Most of the time putting it to sleep works fine (waking it up is different story) but sometimes it just breaks and the computer will not go to sleep. It just remains on, everything is off though. I have to turn it off then and the sleep status is gone.

When it works I cannot wake it using the power button, (I deactivated the lid wake) it simply takes a break and turns itself off.

The only possibility to wake up properly is to use the Logitech wireless mouse: if the receiver was in one of the USB ports I can switch the mouse on, press a button and the laptop wakes up properly.

So in general it should work but then sometimes it doesn't. Actually maybe 80% of the time it doesn't.

Another problem is that the battery status is delayed by 20-30 seconds. Sometimes it also stops working and the sleep/wake also doesn't work.

Currently I have Mojave running, with all the patches installed.

Any ideas? Thanks in advance!


Problem Reporting

Be precise about the nature of the problem.

Read FAQ, "Problem Reporting". Carefully. Attach all requested files/output.
https://www.tonymacx86.com/threads/faq-read-first-laptop-frequent-questions.164990/
Use the gen_debug.sh tool mentioned in the FAQ, that way it is less likely you'll omit something.
 

Attachments

Joined
Aug 30, 2019
Messages
18
Motherboard
Gigabyte P65 (Gigabyte Aero 15 gen1)-Clover
CPU
i7-7700HQ / HM175
Graphics
HD 630 / GTX 1060, 1920*1080
Mobile Phone
Android, iOS
Hi, I think the native power management of my cpu is working. However, the battery, which is 94Wh, still drains fast, approx 40% an hour...And I have already disabled by d-gpu
截屏2019-10-17上午8.55.40.png
 
Last edited:
Top