摘要 |
Provided are a method and a device for detecting battery life. The method comprises: acquiring a temperature of a battery in an ith preset period; determining whether the temperature of the battery is greater than a preset temperature, and if the temperature of the battery is greater than the preset temperature, acquiring a modification parameter corresponding to the temperature of the battery from a correlation table of the preset temperature and the modification parameter, and subtracting the modification parameter from a preset theoretical lifetime to serve as an updated theoretical lifetime; determining whether the updated theoretical lifetime is less than or equal to i preset periods, and if the updated theoretical lifetime is less than or equal to i preset periods, generating a life end message, and reporting the life end message, wherein i=1, and i is a positive integer. The method and device for detecting the battery life implement the detection for lifetime of batteries of various types and having different charging modes, and can effectively improve the accuracy of the detection.
|