Patent ID: 8886971

Claim:
An electronic device, comprising: a plurality of sensors, each of the plurality of sensors being located at the electronic device to detect entered water, and each of the sensors comprising a first copper sheet having a first node that connects a low potential node of the electronic device and a second node that is floating, and a second copper sheet having a third node that connects a power supply node of the electronic device through a resistor and a fourth node that is floating; a storage system; at least one processor; and one or more programs that are stored in the storage system and executed by the at least one processor, the one or more programs comprising: a setting module that sets a voltage threshold value and stores the voltage threshold value into the storage system; a detection module that detects a voltage value sensed from each of the sensors at a predetermined time interval; a determination module that determines whether water has entered the electronic device according to the voltage value of each of the sensors and the voltage threshold value; a control module that prompts a user of the electronic device using a predetermined prompt mode and controls the electronic device to be powered-off when water has entered the electronic device.