Attempting to change a battery while the some portable computers are asleep (and started up from Mac OS X) causes an NVRAM and/or Power Manager reset. Connect the AC power adapter before swapping the battery, or shut the computer down instead.
If you try to change the portable computer's battery while it is asleep and not connected to the AC power adapter, these things might happen:
Important: You should not do this kind of reset unnecessarily. A variety of system settings return to default after this type of reset.
This document applies to these portable computers:
Connect to your AC power adapter, or shut the computer down to change batteries.
Be sure to use System Preferences to reselect your Startup Disk and to correct date and time. If your computer starts back up from Mac OS 9.x, use the Startup Disk control panel to select the Mac OS X System Folder.
106211: "Mac OS: "Unable to establish a secure connection" or "security certificate" Messages in Web Browsers"
14449: "PowerBook and iBook: Resetting Power Manager"
2238: "Macintosh: How to Reset PRAM and NVRAM"