The common dell battery is a 300 cycle unit so 2 years is not bad if one used the battery a lot. Your post told so little such as "My battery powers my machine for 10 minutes."
There are all of 3 parts to this battery system. 1. The battery (yes I know) 2. The AC adapter. 3. The motherboard which holds the chips for power control.
If you can't find any "battery calibration" system for your Dell (I did not go look for you) then it is very likely but never assured that a battery will fix this. But the battery is old enough to need replacement.
So does that mean I need a new battery?
I'm seeing the battery light flash even though it's plugged in & the battery power indicates 99%.
It *is* about 2 years old, but I just wanna be sure that's the problem before I go & order a new battery. Thanks!