-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better power management #4
Comments
how big was the difference? |
Almost 2x...my intel power gadget output was routinely at 4W or over and now it's under 2W. I'm still confused why it's not lower than 2W given the CPU is only using a fraction of that . Maybe you're right and the NVidia GPU is running without being shut off.
Here's the diff between my and your config.plist. Everything is running now...I don't crash when going to sleep with power which is nice. I'm using the VoodooPS2 and have full trackpad in Sierra. But the plam rejection isn't as good as ApplePS2 driver which is a bit annoying.
I read somewhere that the i7 needs 0x1916000 , not sure. Here's the chart: https://pikeralpha.wordpress.com/2016/03/25/os-x-10-11-4-build-15e65-and-skylake-graphics-support/
diff /Volumes/EFI/EFI/CLOVER/config.plist ~/Downloads/10.12-zenbook-ux303u-master/CLOVER/config.plist 154,155d153< <key>HWPEnable</key>< <true/>324c322
< <string>0x191b0000</string>---> <string>0x19160000</string>513,514d510< <key>BoardSerialNumber</key>< <string>C02RXBBWH00059137</string>524c520< <string>MacBook</string>---> <string>MacBook Pro</string>530,534c526< <string>MacBook9,1</string>< <key>SerialNumber</key>< <string>C02RXBBWH000</string>< <key>SmUUID</key>< <string>33985FC1-79DD-4DD5-AD20-A7C37A898000</string>---> <string>MacBookPro12,1</string>
And then do this:
From: https://www.tonymacx86.com/threads/release-hwp-intel-speed-shift-on-skylake-and-up-enabler-kext.206090/page-4
I assume you know what Homebrew is (A package manager for macOS):
Code (Text):
brew install sleepwatcher
sudo brew services start sleepwatcher
It is important to preface the brew services command with sudo, as we want the sleepwatcher service to run as root.
now make a shell script called ".wakeup" containing (assuming the kext is in /S/L/E):
Code (Text):
kextunload -b good.win.HWPEnabler
kextload -b good.win.HWPEnabler
Make the script executable:
Code (Text):
chmod +x .wakeup
Copy it to "root's home folder":
Code (Text):
sudo cp .wakeup /var/root/
--Randy
From: Luka Janković <notifications@github.com>
To: LukaJankovic/10.12-zenbook-ux303u <10.12-zenbook-ux303u@noreply.github.com>
Cc: randy98 <randychou@yahoo.com>; Author <author@noreply.github.com>
Sent: Thursday, December 29, 2016 11:27 AM
Subject: Re: [LukaJankovic/10.12-zenbook-ux303u] Better power management (#4)
how big was the difference?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
In looking at this post related to other laptops...: http://www.insanelymac.com/forum/topic/295584-disabling-nvidia-optimus-card-on-all-laptops/
My NVidia is still visible in my System. So it's probably drawing a lot of power. I think disabling may bring 8-10 hours of laptop use. That would be very nice :). --Randy
From: Randy Chou <randychou@yahoo.com>
To: LukaJankovic/10.12-zenbook-ux303u <reply@reply.github.com>; LukaJankovic/10.12-zenbook-ux303u <10.12-zenbook-ux303u@noreply.github.com>
Cc: Author <author@noreply.github.com>
Sent: Thursday, December 29, 2016 11:43 AM
Subject: Re: [LukaJankovic/10.12-zenbook-ux303u] Better power management (#4)
Almost 2x...my intel power gadget output was routinely at 4W or over and now it's under 2W. I'm still confused why it's not lower than 2W given the CPU is only using a fraction of that . Maybe you're right and the NVidia GPU is running without being shut off.
Here's the diff between my and your config.plist. Everything is running now...I don't crash when going to sleep with power which is nice. I'm using the VoodooPS2 and have full trackpad in Sierra. But the plam rejection isn't as good as ApplePS2 driver which is a bit annoying.
I read somewhere that the i7 needs 0x1916000 , not sure. Here's the chart: https://pikeralpha.wordpress.com/2016/03/25/os-x-10-11-4-build-15e65-and-skylake-graphics-support/
diff /Volumes/EFI/EFI/CLOVER/config.plist ~/Downloads/10.12-zenbook-ux303u-master/CLOVER/config.plist 154,155d153< <key>HWPEnable</key>< <true/>324c322
< <string>0x191b0000</string>---> <string>0x19160000</string>513,514d510< <key>BoardSerialNumber</key>< <string>C02RXBBWH00059137</string>524c520< <string>MacBook</string>---> <string>MacBook Pro</string>530,534c526< <string>MacBook9,1</string>< <key>SerialNumber</key>< <string>C02RXBBWH000</string>< <key>SmUUID</key>< <string>33985FC1-79DD-4DD5-AD20-A7C37A898000</string>---> <string>MacBookPro12,1</string>
And then do this:
From: https://www.tonymacx86.com/threads/release-hwp-intel-speed-shift-on-skylake-and-up-enabler-kext.206090/page-4
I assume you know what Homebrew is (A package manager for macOS):
Code (Text):
brew install sleepwatcher
sudo brew services start sleepwatcher
It is important to preface the brew services command with sudo, as we want the sleepwatcher service to run as root.
now make a shell script called ".wakeup" containing (assuming the kext is in /S/L/E):
Code (Text):
kextunload -b good.win.HWPEnabler
kextload -b good.win.HWPEnabler
Make the script executable:
Code (Text):
chmod +x .wakeup
Copy it to "root's home folder":
Code (Text):
sudo cp .wakeup /var/root/
--Randy
From: Luka Janković <notifications@github.com>
To: LukaJankovic/10.12-zenbook-ux303u <10.12-zenbook-ux303u@noreply.github.com>
Cc: randy98 <randychou@yahoo.com>; Author <author@noreply.github.com>
Sent: Thursday, December 29, 2016 11:27 AM
Subject: Re: [LukaJankovic/10.12-zenbook-ux303u] Better power management (#4)
how big was the difference?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I've successfully disabled the Nvidia graphics with patching the DSDT/SSDTs and now there is better battery performance. |
Can you send me or post all your dsdt and ssdt? My zen book ux303ub (i7 12GB) doesn't always go to sleep even when lid is closed. I used most of the patches here in this git repo...
Thx!!!
Regards,
Randy (phone)
… On Feb 24, 2017, at 4:23 PM, Mihaylo Shteryov ***@***.***> wrote:
I've successfully disabled the Nvidia graphics with patching the DSDT/SSDTs and now there is better battery performance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've gotten better battery life with this:
https://www.tonymacx86.com/threads/release-hwp-intel-speed-shift-on-skylake-and-up-enabler-kext.206090/
The text was updated successfully, but these errors were encountered: