A method and information processing electronic device

The present invention provides an information processing method for an electronic device, the electronic device comprises a housing, a magnetic sensor, a processor, wherein the magnetic sensor is disposed within the housing, for detecting a first magnetic sensing information out of the electronic device, which the processor is also disposed within the housing and connected to the magnetic sensor, the magnetic induction and receive first information, thereby determining whether the magnetic sensing information of the electronic device according to standby. To achieve precise control of the electronic dice on or standby, and effectively reduces the power consumption on an electronic dice, electronic dice improved power utilization to enhance the use of electronic dice time.