Best advice I've seen is to run the battery down now and then and recharge it before it totally discharges.
That said, my wife's laptop battery went to the recharger in the sky so she's used the mains adapter ever since.
It means the laptop isn't so portable, but she refused to pay for another battery as the original one lasted less than 2 years.