I would leave the battery in nowadays, as the charging circuits and the batteries themselves are far more intelligent that they used to be, and will generally take care of themselves. The only thing left for the user is to occasionally run the laptop down until it asks for the power to be reconnected, or puts itself to sleep. The chemicals need to be cycled once in a while to keep them in good condition.