An over-power detector for detecting an over-power condition of an
electronic apparatus powered by power from an AC power source. The
over-power detector includes an over-current detector for detecting
whether current used by the apparatus exceeds a settable current
threshold. The current threshold is set based on a detection of peak
voltage on the AC power source, such that the output of the over-current
detector is representative of an over-power condition.