Patent ID: 7827420

Claim:
A portable device with an automatic power off protection circuit, comprising a switch unit, a main body, and a battery; the battery powers the main body via the switch unit; wherein: the main body comprises: an acceleration transducer for sampling an analog acceleration signal; an analog-to-digital converter (ADC) for converting the analog acceleration signal into a digital acceleration value; a memory for storing a critical acceleration value and an interrupt flag, a value of the interrupt flag being either of an enable value or a disable value, and an initial value of the state of the interrupt flag being set to the disable value when the portable device is powered on; and a micro-control unit (MCU) for comparing the digital acceleration value with the critical acceleration value and the comparing result that may or may not change the value of the interrupt flag; wherein if the digital acceleration value is greater than the critical acceleration value, and the value of the interrupt flag is the disabled value, the MCU changes the value of the interrupt flag to the enable value, and if the digital acceleration value is greater than the critical acceleration value, and the value of the interrupt flag is the enabled value, the MCU generates a break signal and sends the break signal to the switch unit to power off the portable device.