I know that Apple advises that someone who uses their laptop as a desktop replacement run the battery down to 40% or so every few weeks just to keep the electrons moving around in the cells. Of course, that is Apple specific advice, but I see no reason why it wouldn't be generally applicable. Also, someone mentioned charging threshold-for a really long time Apple has set theirs at 95%, meaning that if you plug in the computer with the battery at 95% or higher it won't charge. In addition, I have a RAID card in my desktop with a Li-Ion battery, and once every three weeks or so it automatically discharges and recharges to "condition" the battery.
Someone above mentioned running without a battery. In general, for performance reasons, this is a bad idea. You will notice that laptops have MUCH less power on tap than desktops-a typical laptop charger is under 100W, while a low end desktop these days might have a 350W PSU. This is offset by more energy efficient components(mobile CPUs and GPUs, physically smaller HDDs or no moving media at all) but also remember that you have to drive the screen. Most modern processors can "turbo boost" for short periods of time under heavy load conditions. Laptops depend on being able to draw off the battery under these conditions. Without a battery that's at least somewhat functional, you can reduce performance under high demand situations and in some cases the computer will go ahead and downclock the CPU right off the bat. I've always found that at least newer computers run VERY poorly with missing or defective batteries.