The microcontroller 220 monitors the signals for indications of the patient's position and activity status, such as whether the patient is climbing upstairs or descending downstairs or whether the patient issitting up after lying down.The stimulation device additionally includes a battery 276 that provides operating power to all of the circuits shown in FIG. 2.