Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
pmtime needs to have AppNap disabled on OSX #20
Comments
|
Thanks Paul - this may be the way to go ... https://www.ihash.eu/2015/01/disable-app-nap-per-app-os-x-yosemite/ It'd be good to figure how to disable this out-of-the-box ... maybe using these hints: |
|
Hey Paul, I've put a pcp-3.10.5 prerelease dmg on ftp.pcp.io which is built with the plist key change suggested in the second URL above - lemme know how it goes? |
|
Hmm, odd indeed - is it unexpected that pmchart is Yes but pmtime No in that column? (was that changed "by hand"?) |
|
I didn't and can't find out how to change it anymore. No longer shows up in
|
|
Some of the notes I read on the interwebs suggested that the property may be set, but not showing up in some tools ... can you confirm that the problem definitely still happens with that latest dmg? Thanks Paul. |
pcpemail
commented
May 13, 2015
|
it's definitely running the latest 3.10.5 prerelease thingy.
|
natoscott
added a commit
that referenced
this issue
May 14, 2015
|
posting here some stuff I put on IRC: There is some discussion that the PLIST key needed is not what we thought: https://discussions.apple.com/thread/6641221?start=0&tstart=0 And should be The only reliabel way so far is to use Terminal to run:
|
|
Hey Paul, As discussed on IRC, I've put a pcp-3.10.5-0-prerelease2.dmg below ftp.pcp.io/projects/pcp/download/mac to try out. It has both the install script approach and the alternate plist file update in place, so hopefully this works! cheers. |
|
I downloaded
|
|
| /Users/psmith/Library/Preferences/io.pcp.pmtime ... looks user-specific, whereas the plist change we want to be system-wide for all users I guess...? |
|
ideally it should be set system wide I think yes. I think the error above is just when there is no locally defined preferences yet for that class, and it's ok |

tallpsmith commentedMay 12, 2015
PCP on OSX once install shows choppy pmcharts on Laptops, even when plugged into power, because the OSX AppNap feature which is enabled by default seems to want to sleep the pmtime process periodically.
I used to be able to use the "Get Info" action on the pmtime application bundle and disable AppNap, but in OSX Yosemite it doesn't seem to be there any more.
Ideally as part of the OSX packaging, the pmtime/pmchart are effectively marked correctly to disable AppNap.