The problem is either in the battery itself or in the power supply and its concomitant regulating circuit. Your best bet would be to take it into an Apple store and let a ggenius diagnose it. Replacing either can be a bit costly unless you have it under warranty or extended AppleCare.
A