Maintenance. OS X does a certain amount of housecleaning in the wee hours of the morning. If you put your laptop away overnight, this housecleaning will not get done. To have it done while you are using the computer, install Anacron. This is free for the downloading.
Security. Laptops are often stolen. If your laptop holds confidential information, or if you keep passwords in the Keychain, it would be prudent to encrypt your home directory with FileVault. (Security tab of System Preferences.) Encryption is also prudent for international travel, because Customs officials in the United States and the U.K (and presumably elsewhere) have the right (or take it anyway) to examine the contents of any traveller's laptop, either if they are suspicious of something or merely as a random check, and to confiscate the machine while they are doing so and keep it for as long as they require. Note, though, that an encrypted home directory converts all of your small files into one enormous one and that file can easily be destroyed if something interferes with the encrypting process. Be sure that it is very well backed up.
Awakening. Apple set their laptops to awaken immediately when the lid is opened. This is convenient but if the catch slips open inside a carrying case, the computer may awaken therein. That will drain the battery and, if a CPU-intensive process was interrupted when you closed the case, the running computer may overheat. It is prudent to disable this feature, so that awakening the laptop requires a system event like a key-press, as a desktop computer does. This Terminal command will do it:
Sleeping. Setting a variable named
Writing RAM to disk sounds prudent but it has a hidden danger. If some process prevents the computer from going to sleep, then it may run while sitting in its case, which will run down the battery and may cause the computer to overheat. Thus, the safe use of modes other than 0 requires waiting for the laptop to go to sleep before backing it up; i.e., waiting for its LED to begin to pulse.
To see the current setting, enter:
To change the setting first enter this, typing 0, 1, 3, 5 or 7 instead of N:
Then, if you set hibernatemode to 0, enter: