There's quite a bit of debate on the subject, but few people seem to remember two important facts:
1. Laptops are designed to shut off charging to the battery when it reaches 100%, and are designed to sit and run on AC power while the battery is in place.
2. Millions of I.T. staffers manage fleets of laptops that rarely ever come off of their docks, and those batteries often last for years.
Two many people put too much emphasis on things they've read, as opposed to "how things really are". Worrying about editing settings on a laptop to prolong the life of the battery cells is way way down on the list of priorities.