Wikipedia
Pmset
In computing, pmset is a command line utility to manipulate power management settings under the Darwin and Mac OS X operating systems. It can assign sleep settings, schedule sleep and wake times, and display power information.