Patent ID: 11901751
Assignee: GOOGLE LLC
Field: Electrical machinery, apparatus, energy (Electrical engineering)
Classification: CPC H | IPC H

Claim 19:
20. A non-transitory computer-readable medium, having instructions stored thereon, which when executed by one or more processors cause the processors to:
allocate an indexed sequence of bits in a buffer for tracking a battery charging state, the indexed sequence of bits having a first number of bits;
sample a battery voltage of a rechargeable battery at a sampling rate;
for each sampled battery voltage:
compare the battery voltage with a voltage threshold;
identify a next bit position in the indexed sequence of bits; and
in accordance with a determination that a comparison result is true, add a predefined first value to the next bit position in the indexed sequence of bits;

determine, in the indexed sequence of bits, a second number of bits that are filled with the predefined first value;
determine a ratio between the second number and the first number; and
in accordance with a determination that the ratio exceeds a threshold step-down ratio, step down a battery charge voltage to which the rechargeable battery is charged to a step-down voltage.