摘要 |
PURPOSE: A method for displaying the remaining amount of a battery is provided to display the remaining amount of voltage in a battery. CONSTITUTION: The value of an ADC(Analog to Digital Converter) is inputted(S200). Whether the inputted value of the ADC exceeds the fixed number is determined(S202). If the inputted value of the ADC exceeds the fixed number, a central processing unit calculates arithmetic average of the inputted value of the ADC over the fixed number(S204). The central processing unit performs filtering using the remaining value of the battery calculated in advance(S206). The central processing unit applies a hysteresis curve(S208) and extracts the remaining amount of a battery(S210).
|