Frustrated with flaky settings on Mavericks for energy savings? Puts your stuff to sleep when you don't want to and doesn't put it to sleep when you do?
pmset
comes to the rescue
I used the following command:
sudo pmset displaysleep 10 sleep 0
since I want my displays to go to sleep after 10 minutes and the computer never go to sleep.
To specify behavior for when on battery power use the -b
switch e.g.
sudo pmset -b displaysleep 5 sleep 15
to put your display to sleep after 5 minutes of idling and your computer after 15 minutes of idling.