A method of operating a dispensing unit including the steps of applying a power source to a dispensing unit that includes a container and performing a startup procedure in response to applying the power source. The startup procedure includes performing an activation sequence that discharges a fluid from the container. The method further includes the step of performing an active mode procedure after the startup procedure without providing a lockout period therebetween. The active mode procedure includes activating a motion sensor associated with the dispensing unit, performing an activation sequence that discharges the fluid from the container when the motion sensor detects motion, and performing a transition procedure.