I have the same problem, Windows 7 and Ubuntu tell me my battery is old and needs to be replaced, however I can still use the laptop like 5 mins just with the battery.

You can disable the warning on Windows 7 SP1, but I agree with Mike if you can you should buy a new one.