An electronic spray device comprising a spray generator and a spray controller for providing a drive signal to the spray generator, wherein the spray generator includes a perforate membrane which vibrates ultrasonically in response to the drive signal, said vibration causing liquid droplets to be ejected from one side of the perforate membrane, wherein the spray controller is adapted to modulate the drive signal sent to the spray generator, wherein such modulation of the drive signal is arranged to set the mean power level supplied to the spray generator to a target level.