You can take out the battery (or keep it in there, doesn't matter). Then just keep the Laptop plugged in at all times.
Cons:
1) If you keep the battery in there while doing that, you will ruin it with time.
2) If you keep the laptop without the battery, if you accidentally unplug your PC, while in use, you can have serious problems with your data.