摘要 |
A protection method is executed by an electronic device that is powered by a supply voltage of a power source. The protection method includes steps of: storing a power-off threshold voltage; detecting the supply voltage of the power source to generate a detecting voltage; determining whether the detecting voltage is equal to the power-off threshold voltage; beginning to count for a predetermined period of time when the detecting voltage is equal to the power-off threshold voltage and acquiring the detecting voltage during the predetermined period of time; determining whether each acquired detecting voltage is smaller than the power-off threshold voltage; and generating a first control signal when one of the acquired detecting voltages is larger than or is equal to the power-off threshold voltage; wherein the first control signal controls a processor of the electronic device to stop performing a power-off procedure.
|