An implantable device for providing antiarrhythmia therapy to a patient's inadequately functioning heart, comprising: an electrode lead system adapted to be connected to the patient's heart; circuit means including a capacitor for delivering to the electrode lead system antiarrhythmia therapy in the form of electrical energy; means for detecting an arrhythmia condition of the heart; means responsi