Lapotop batteries have only so many "recharges" in them before packing up. Everyone falls into the trap of plugging in a laptop when using it therefore constantly recharging the battery. This has a twofold effect of reducing the battery life and conditioning the battery into thinking it needs recharging. You can try fully charging it, then running it completely flat before plugging in and recharging. Do this a number of times and you will condition it to last longer, but you may have already reduced it's life cycle anyway. Don't forget you will probably only get between one and one and a half hours anyway battery life under ideal conditions.
Also by having it plugged in constantly the risk of damaging the DC Jack is high, replacing these is not cheap unless you know how to strip a laptop, remove and resolder a new DC Jack.