Patent ID: 8471813

Claim:
An electronic device comprising: an electrode unit comprising a main body defining an annular cavity, a plurality of electrode groups, and a conductive element arranged within the annular cavity, wherein, each of the plurality of the electrode groups comprises a pair of conductive sheets which are partially received in the annular cavity and are spaced apart from each other, the conductive element is capable of moving along the annular cavity when the electronic device is rotated; when the electronic device is rotated to be in different orientation, the conductive element is capable of connecting different electrode groups; and when the conductive element connects one of the electrode groups, the conductive sheets of the one of the electrode groups are connected to each other via the conductive element; a storage unit configured for storing a relationship between functions of the device and the electrode groups connected by the conductive element; and a processing unit connected to the electrode unit, to determine which one of the electrode groups is connected, determine a to-be-executed function according to the relationship between functions of the device and the electrode groups connected by the conductive element and the determined electrode group, and control the electronic device to execute the determined function.