摘要 |
Apparatus and method use a vibrator and an accelerometer of electronic apparatus for detecting the use environment of the electronic apparatus, and according to the use environment a method and electronic apparatus are provided for optimizing the performance of the electronic apparatus according to the use environment of the electronic apparatus. The method for detecting use environment comprises: determining the basic parameters of the electronic apparatus; searching for the acceleration thresholds of the electronic apparatus according to the determined basic parameters of the electronic apparatus; and determining the use environment according to the detected acceleration of the electronic apparatus and the found acceleration thresholds of the electronic apparatus. The use environment of the electronic apparatus may be detected by the vibrator and accelerometer of the electronic apparatus, thereby optimizing the performance of the electronic apparatus according to the use environment. |