Patent attributes
Techniques are disclosed for defining a homeostatic window for controlling delivery of electrical stimulation therapy to a patient. In one example, a method includes generating and delivering electrical stimulation therapy to tissue of a patient via electrodes. Further, the method includes adjusting a level of a parameter of the electrical stimulation therapy such that a signal of the patient is not less than a lower bound and not greater than an upper bound. The lower bound is determined to be the magnitude of the signal while receiving electrical stimulation therapy sufficient to reduce one or more symptoms of a disease while the patient was receiving medication for reduction of the one or more symptoms. Further, the upper bound is determined to be the magnitude of the signal while receiving electrical stimulation therapy sufficient to reduce the one or more symptoms when the patient was not receiving the medication.