Patent ID: 8384615

Claim:
A portable electronic device, comprising: a main body, the main body including a central processing unit (CPU), a sensor, a first display, and a second display; the sensor, the first display, and the second display being all electrically connected to the CPU; and a cover rotatably mounted to the main body, the cover including a third display electrically connected to the CPU; wherein the CPU detects the position of the cover relative to the main body using the sensor, and switches the first display on when the cover is positioned at a first state, and switches the second display and the third display on when the cover is positioned at a second state; and wherein the CPU includes a plurality of pins, the sensor, the first display, the second display, and the third display are all electrically connected to the CPU by the pins, and both the second display and the third display are electrically connected to the CPU by a same group of pins selected from the plurality of pins; and wherein the sensor includes a Hall element electrically connected to the CPU and the cover further includes a magnetic component; and the magnetic component is positioned relative to the sensor such that when the portable electronic device is closed the magnetic field applied to the Hall element by the magnetic component actuates the Hall element to switch on, and when the portable electronic device is opened the magnetic component is moved away from the Hall element such that the magnetic field applied to the Hall element by the magnetic component does not actuate the Hall element to switch on, the sensor respectively generates different voltage levels when it is respectively switched on and switched off, and the CPU detects the voltage levels generated by the sensor to identify the position of the cover, the sensor further includes a resistor and a capacitor, and the Hall element includes a first connector, a second connector, and a third connector; and when an electric potential is applied to the first connector, the resistor is electrically connected between the first connector and the second connector, the capacitor is electrically connected between the first connector and ground, and the third connector is grounded; and wherein the plurality of pins includes a switch pin, a first enabling pin, a reset pin, an image signal pin, a clock pin, a second enabling pin, and a control pin; the switch pin is electrically connected to the second connector, and the CPU detects the voltage level on the second connector to identify the position of the cover; and the first enabling pin is electrically connected to the first display, and both the second display and the third display are electrically connected to the CPU by the reset pin, the image signal pin, the clock pin, the second enabling pin, and the control pin.