Patent ID: 8299933

Claim:
A portable electronic device, comprising: a battery for supplying operating power; a housing; a display disposed within the housing; a switch including a magnetic element and a sensor configured for detecting the magnetic flux of the magnetic element, the sensor having a first predetermined value for turning on the switch, the switch turning on in response to the magnetic flux of the magnetic element detected by the sensor being equal to the first predetermined value of the sensor; and a processor coupled to the switch, the battery and the display, the processor responsive to turning on of the switch for controlling supply of operating power from the battery to the display, the processor maintaining supply of operating power from the battery to the display in response to turning on of the switch; wherein the switch further includes a trigger, a slider and an elastic member, the trigger is releasable disposed on the housing, the slider is held between the elastic member and the trigger, the magnetic element is disposed in the slider, the elastic member is compressed between the slider and the housing; when the trigger is released from the housing, the elastic member drives the slider away from the sensor.