A method and apparatus for predicting the remaining discharge time of a
battery are provided. The method includes measuring a dynamic parameter
of the battery, obtaining a discharge current of the battery, measuring a
voltage of the battery and obtaining a temperature of the battery. The
remaining run time of the battery is predicted as a function of the
measured battery dynamic parameter, the discharge current, the measured
battery voltage, the battery temperature, a full charge battery dynamic
parameter and an estimated capacity of the battery.