I've also heard that if it's fully charged & you're going to be working plugged in, it's better to unplug the battery. I work on a dock most of the time & really should take my battery out...but forget to most of the time!
If your computer is in use when you unplug from the electricity, make sure you put the battery back in or you'll lose what you're working on!