An improved power supply for an occupancy sensor and load control device employs a DC voltage derived from leakage AC voltage between line and ground to drive the sensors and other circuits, and a switching regulator with a switching cycle controlled by a pulse width modulated (PWM) subsystem of the apparatus, allowing synchronous, delayed or exclusive operation relative to the sensing technology