Posted on 06-08-2012 07:19 AM
Is there a recommended way to manage energy saver prefs?
I could run pmset commands as a login, or startup pref, but I was hoping to find a way to do it with plain ole mcx?
I also noticed a few items in the dev kit, as well as some scripts - is there a sanctioned way that folks have settled on?
Posted on 06-08-2012 08:24 AM
These are my MCX settings:
Domain: /Library/Preferences/com.apple.MCX
Key: com.apple.EnergySaver.desktop.ACPower-raw
Value:
<dict>
<key>Automatic Restart On Power Loss</key>
<integer>0</integer>
<key>Disk Sleep Timer-boolean</key>
<false/>
<key>Display Sleep Timer</key>
<integer>30</integer>
<key>Sleep On Power Button</key>
<integer>0</integer>
<key>System Sleep Timer</key>
<integer>0</integer>
<key>Wake On LAN</key>
<integer>1</integer>
<key>Wake On Modem Ring</key>
<integer>0</integer>
</dict>
This setting is part of a Union Policy: Enabled
Output Key Name: com.apple.EnergySaver.desktop.ACPower
Remove Duplicates: Enabled
Create As Dictionary: Enabled