The battery is knackered. My Dell does the same until it kicks in and starts to charge, I need a new battery too. Before you start thinking the worst, buy a new battery.
open