This disclosure relates to a device for applying a neural stimulus. A battery supplies electrical energy at a battery voltage and an electrode applies the electrical energy to neural tissue. A circuit measures the nervous response of the tissue and a voltage converter receives the electrical energy from the battery and controls a voltage applied to the electrode based on the measured nervous response of the tissue. This direct voltage control is energy efficient because losses across a typical current mirror are avoided. Further, the control based on the measured nervous response leads to automatic compensation of impedance variation due to in-growth or change in posture. As a result, the stimulation results in a desired neural response.