Gateway have a BIOS program called a battery learning cycle.
My two year old 12 cell lithium batteries are both still doing 2.5 to 3 hrs of use without fail.
I make sure that both are dischrarged every so often and once a year or so use the floppy disk to recycle the cells.
I am pleased with the results but the alternative is £70 plus for a replacement.