A pacemaker or an ICD works on batteries that last up to 7 years after the Pacemaker surgery, depending on use. The battery or the pulse generator needs to be replaced after that time.