| CPC G01R 31/374 (2019.01) [G01R 31/3835 (2019.01); H01M 10/425 (2013.01); H01M 10/486 (2013.01); H02J 7/0047 (2013.01); H02J 7/0063 (2013.01); H01M 2010/4271 (2013.01)] | 20 Claims |

|
1. An electronic device, comprising:
a battery, configured to supply power to the electronic device;
a battery gauge, configured to gauge the battery to generate a plurality of remaining capacities, a battery temperature, and a battery voltage of the battery; and
a processor, configured to sequentially read the plurality of remaining capacities, wherein in a case that a read remaining capacity is equal to a cut-off capacity and a read previous remaining capacity is greater than a preset capacity, the processor determines whether a preset condition is met according to the battery temperature and the battery voltage, wherein in a case of determining that the preset condition is met, the processor performs a capacity correction process, wherein
the capacity correction process comprises:
using the read previous remaining capacity as a correction capacity;
reporting the correction capacity to a system circuit;
starting counting to reach a count value, after the step of reporting the correction capacity to the system circuit;
using the correction capacity minus a fixed capacity as a new correction capacity in a case that the count value meets a correction condition, and returning to perform the step of reporting the correction capacity to the system circuit;
stopping counting in a case of detecting that the battery fails to supply power to the electronic device, and maintaining the correction capacity reported to the system circuit; and
continuing counting in a case of detecting that the battery resumes supplying power to the electronic device.
|