A method for operating a flyback converter, the converter having a transformer with a primary winding and a secondary winding, the primary winding being coupled to a power source and a first transistor for conducting a current through the primary winding when the first transistor is on, the secondary winding being coupled to a second transistor for conducting a current through the secondary winding when the second transistor is on, the converter using primary side sensing to sense an output voltage, the converter having a minimum duty cycle, the method comprising: sensing the output voltage using primary side sensing; for load currents below a threshold current, turning on the first transistor for a first interval at the minimum duty cycle to draw a current through the primary winding; turning on the second transistor after the first transistor has turned off to draw a current through the secondary winding to charge an output capacitor; detecting whether the output voltage has exceeded a predetermined regulated voltage by a first threshold to detect an over-voltage condition, resulting from a current generated by the converter exceeding the load current; if the over-voltage condition is detected, disabling at least the first transistor to cause the converter to enter a sleep mode, whereby the output voltage droops over a period of time; while in the sleep mode, detecting that the output voltage has drooped below the predetermined regulated voltage by a second threshold; upon detecting that the output voltage has drooped below the predetermined regulated voltage by the second threshold, turning the second transistor on, then off, to generate a pulse in the primary winding; detecting the pulse in the primary winding; and upon detecting the pulse in the primary winding, controlling the converter to come out of the sleep mode by enabling the first transistor to switch at a duty cycle to raise the output voltage until a regulated voltage is achieved or until the first threshold is again exceeded by the output voltage. sensing the output voltage using primary side sensing; for load currents below a threshold current, turning on the first transistor for a first interval at the minimum duty cycle to draw a current through the primary winding; turning on the second transistor after the first transistor has turned off to draw a current through the secondary winding to charge an output capacitor; detecting whether the output voltage has exceeded a predetermined regulated voltage by a first threshold to detect an over-voltage condition, resulting from a current generated by the converter exceeding the load current; if the over-voltage condition is detected, disabling at least the first transistor to cause the converter to enter a sleep mode, whereby the output voltage droops over a period of time; while in the sleep mode, detecting that the output voltage has drooped below the predetermined regulated voltage by a second threshold; upon detecting that the output voltage has drooped below the predetermined regulated voltage by the second threshold, turning the second transistor on, then off, to generate a pulse in the primary winding; detecting the pulse in the primary winding; and upon detecting the pulse in the primary winding, controlling the converter to come out of the sleep mode by enabling the first transistor to switch at a duty cycle to raise the output voltage until a regulated voltage is achieved or until the first threshold is again exceeded by the output voltage.