Leave the battery in and when its 100 percent charged, unplug it. Then when the battery is almost dead then plug it back in. In my opinion, its not healthy for the laptop to be plugged in without the battery attached.
Besides what would happen if the battery wasn't attached and the power went out???? It would shut off on you.