
Setting the disksleep setting to a lower number than the default of 10 may help conserve battery life if you do not access the hard drive (saving or opening items) however, if you set it too low and frequently save items, the computer will have to constantly spin up the drive-which may even lower battery life. For instance, if I want to set the disks on my laptop to spin down after 20 minutes for all power configurations, I would enter the following in the terminal: Terminal command example To specify only one of these configurations, change the "-a" (indicating "All") to one of the following: "-b" for battery, "-c" for charger or wall power, "-u" for UPS. The "-a" flag applies the setting to all power configurations (battery, wall power, and UPS). In this command, VALUE is the number of minutes after which the drives will spin down (with "0" being "never"). To adjust the disk's sleep time, enter the following command in the Terminal (Note: for 10.4 users, "disksleep" will be "spindown"):
#Keep drive spinning all the time manual
For specific information on using this command, review its manual page on it by typing "man pmset" in the Terminal. It also can set the display and system sleep times (though, the sliders work pretty well for those), and what behaviors will cause the computer to sleep and wake (lid opening, wake-on-LAN magic packet via Ethernet, and so on). The command alters the power management settings, giving users fine-tune control of the disk sleep settings. Despite the limits in the control panel, this behavior can be changed manually, by using the "pmset" command in Terminal. When the option is unchecked, the disks are set to never turn off. When this setting is enabled, the system changes the power management system to turn off the disks after 10 minutes of use.

Screenshot by Topher Kessler for MacFixIt/CNET Energy Saver System Preferences (MacBook Pro) In System preferences, hard drives can be managed in the "Energy Saver" pane by selecting or deselecting the "Put the hard disk(s) to sleep when possible" option. This can be convenient, but is rather limiting for users who would like to customize when their disks should spin down.
#Keep drive spinning all the time mac os x
Mac OS X has an option to keep hard drives spinning for quick file access, or to save power and reduce noise by spinning them down when they're not in use.
