Patent attributes
A system for providing stimulation to a patient includes one or more processors implemented in circuitry and one or more accelerometers configured to generate one or more accelerometer signals. The one or more processors are configured to determine accelerometer information for a medical device associated with the patient based on the one or more accelerometer signals and convert the accelerometer information into frequency domain coefficients. The one or more processors are further configured to determine an activity level for the patient based on the frequency domain coefficients and determine one or more stimulation parameters based on the activity level. The one or more processors are further configured to output electrical stimulation to the patient based on the one or more stimulation parameters.