So the battery won't charge, when the laptop is plugged in? That sounds like a faulty battery.
Can you start it without the battery?
the computer is on the mains then it seems the battery loses its power and gos off.
if the battery is faulty,should no the computer stay on if plugged into the mains?
i don't want to buy a new battery if it some thing else.