I had to replace a Toshiba laptop battery after about two years.
It had been used almost entirely with the mains adaptor and battery attached. I don't know what affect this had on the battery life, but I get the impression that 2yrs is about average anyway.