PORTABLE ELECTRONIC DEVICE CAPABLE OF PERFORMING A FUNCTION ACCORDING TO A SENSING RESULT OF PRESSURE
A portable electronic device includes a housing and a pressure sensor installed on the housing for sensing pressure applied to the portable electronic device. The portable electronic device further includes a logic unit for controlling operation of the portable electronic device according to a sensing result of the pressure sensor.
1 . A portable electronic device comprising:
a housing;
a pressure sensor installed on the housing for sensing pressure applied to the portable electronic device; and
a logic unit for controlling operation of the portable electronic device according to a sensing result of the pressure sensor.
2 . The portable electronic device of claim 1 further comprising a hard disk installed inside the housing, wherein the logic unit controls the hard disk to park a magnetic head when the pressure sensor does not sense any pressure applied to the portable electronic device.
3 . The portable electronic device of claim 1 wherein the logic unit controls the portable electronic device to turn off when the pressure sensor does not sense any pressure applied to the portable electronic device.
4 . The portable electronic device of claim 1 further comprising a warning interface electrically connected to the logic unit, wherein the logic unit controls the warning interface to present a warning message when the pressure sensor does not sense any pressure applied to the portable electronic device.
5 . The portable electronic device of claim 4 wherein the warning interface is a display module.
6 . The portable electronic device of claim 4 wherein the warning interface is a speaker.
7 . The portable electronic device of claim 1 being a personal digital assistant.
8 . The portable electronic device of claim 1 being a mobile phone.
9 . The portable electronic device of claim 1 being a notebook computer.
10 . A method for controlling a portable electronic device according to a sensing result of pressure applied to the portable electronic device, the method comprising:
sensing whether pressure is applied to the portable electronic device; and
controlling the portable electronic device to perform a function according to the sensing result of pressure applied to the portable electronic device.
11 . The method of claim 10 wherein controlling the portable electronic device to perform a function according to the sensing result of pressure applied to the portable electronic device comprises controlling a hard disk of the portable electronic device to park a magnetic head when not sensing any pressure applied to the portable electronic device.
12 . The method of claim 10 wherein controlling the portable electronic device to perform a function according to the sensing result of pressure applied to the portable electronic device comprises turning off the portable electronic device when not sensing any pressure applied to the portable electronic device.
13 . The method of claim 10 wherein controlling the portable electronic device to perform a function according to the sensing result of pressure applied to the portable electronic device comprises controlling the portable electronic device to present a warning message when not sensing any pressure applied to the portable electronic device.