Patent ID: 7023352
Filing Date: 2006-04-04
Classification: G01R

Abstract:
1. A voltage-detecting method for detecting power status of a battery with a voltage-detecting circuit, the voltage-detecting circuit comprising: a processor comprising a first general purpose input/output (GPIO) port and a second GPIO port; a comparator having a first input end connected to the battery, a second input end, and an output end connected to the first GPIO port; a first resistor connected between the second input end of the comparator and a first voltage source; a first power segment detection circuit connected in parallel with the first resistor, the first power segment detection circuit comprising a third resistor and a first switch serially connected to the third resistor, the first switch connected to the second GPIO port; and a second resistor connected between the second input end of the comparator and a second voltage source; the voltage-detecting method comprising: outputting a first control signal with the processor to control the first switch at the second GPIO port by determining a voltage level at the first GPIO port; and outputting a power signal with the processor by determining a voltage level at the first GPIO port.