Posted on 08-16-2011 03:13 AM
Hi
I have an issue where my Laptop users energy saver settings for batter are
set to 2 minutes for computer sleep. I have tried
adding multiple com.apple.PowerManagement.plist files to my managed
preferences but none of them seem to set the battery power.
Does anyone know which one controls this?
Cheers
Joe
Posted on 08-16-2011 06:17 AM
Look at the command pmset, set your preferences and do a before and after snapshot with composer it will show you exactly where and what plist are affected
bash-3.2# pmset Usage: pmset [-b | -c | -u | -a] <action> <minutes> [<action> <minutes>...] pmset -g [disk | cap | live | sched | ups | batt] -c adjust settings used while connected to a charger -b adjust settings used when running off a battery -u adjust settings used while running off a UPS -a (default) adjust settings for both <action> is one of: displaysleep, sleep, disksleep (minutes argument) or: reduce, dps, womp, ring, autorestart, powerbutton, halfdim, lidwake, acwake, lessbright (with a 1 or 0 argument) or for UPS only: haltlevel (with a percentage argument) haltafter, haltremain (with a minutes argument) or: hibernatefile <path> hibernatemode <integer> hibernatefreeratio <integer percent> hibernatefreetime <integer ms> eg. pmset -c dim 5 sleep 15 spindown 10 autorestart 1 womp 1 pmset schedule [cancel] <type> <date/time> [owner] pmset repeat cancel pmset repeat <type> <days of week> <time> <type> is one of: sleep, wake, poweron, shutdown, wakeorpoweron <date/time> is in "MM/dd/yy HH:mm:ss" format <time> is in "HH:mm:ss" format <days of week> is a subset of MTWRFSU [owner] optionally describes the event creator
Posted on 08-16-2011 07:09 AM
pmset -a displaysleep 15 disksleep 0 sleep 0 womp 1
display sleep = 15 minutes
disk sleep = 0 off 1 on
sleep = 0 disabled numeral is time to sleep
--
Matt Lee, CCA/ACMT/ACPT/ACDT
Senior IT Analyst / Desktop Architecture Team / Apple S.M.E / JAMF Casper Administrator
Fox Networks Group