Another customer with a small all-in-one pc did exactly that, and now her battery is as dead as a door nail. The problem nowadays is laptops generally have the batteries encased INSIDE. In the good old days one could remove the battery, and use the charger (and vice versa). More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.