IP Library › Granted Patent US 12,489,301
Granted Patent B2
US 12,489,301 · App. 17/682,475 · Granted Dec 2, 2025

Charging method, electronic device and storage medium

Inventor: Yichun Chen (Beijing, CN)
Assignee: Beijing Xiaomi Mobile Software Co., Ltd.
H02J7/00034H02J7/00712
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,489,301
App. No.
17/682,475
Granted
Dec 2, 2025
Kind
B2
Abstract

A charging method includes recognizing a type of a charging device in response to being connected to the charging device. The types of the charging devices include an adaptive-type charging device and a non-adaptive-type charging device. A charging mode corresponding to the type of the charging device is determined. Charging modes include at least a first mode and a second mode. A charging voltage of the first mode can reach a first threshold voltage. A charging voltage of the second mode can reach a second threshold voltage. The first threshold voltage is greater than a rated voltage of a battery. The rated voltage is greater than the second threshold voltage. The method includes charging an electronic device according to the determined charging mode.

Claims (70)

1 . A charging method, performed by an electronic device, and comprising:

recognizing a type of a charging device in response to the electronic device being connected to the charging device, wherein the types of the charging devices comprise an adaptive-type charging device and a non-adaptive-type charging device, the adaptive-type charging device refers to a charging device that is effectively connected with and compatible with the electronic device, and the non-adaptive-type charging device refers to a charging device that is not effectively connected with and not compatible with the electronic device;

determining a corresponding charging mode according to the type of the charging device, wherein the charging mode comprises at least a first mode and a second mode, wherein a charging voltage of the first mode can reach a first threshold voltage and a charging voltage of the second mode can reach a second threshold voltage, wherein the first threshold voltage is greater than a rated voltage of a battery, and wherein the rated voltage is greater than the second threshold voltage; and

charging the electronic device in the determined charging mode;

wherein determining the corresponding charging mode according to the type of the charging device comprises:

determining a load capacity of the charging device in response to determining that the type of the charging device is the non-adaptive-type charging device; and

determining the charging mode according to the load capacity;

wherein determining the load capacity of the charging device comprises:

obtaining more than one output voltage of the charging device in an adjusting process, wherein the charging device is configured to adjust either the output voltage or an output current according to an adjusting mode indicated by the electronic device; and

determining the load capacity of the charging device according to the output voltages of the charging device during the adjusting process.

2 . The charging method according to claim 1 , wherein the adjusting mode comprises a first manner, and the first manner includes increasing the output voltage from an initial output voltage by an amount determined by a preset voltage step; and wherein determining the load capacity of the charging device according to the output voltages of the charging device in the adjusting process comprises:

in a case where at least one output voltage among the more than one output voltage is greater than or equal to the first threshold, determining that the load capacity of the charging device is a first class, wherein a charging mode corresponding to the first class is the first mode.

3 . The charging method according to claim 1 , wherein the adjusting mode comprises a second manner, and the second manner includes increasing the output current from an initial output current by an amount corresponding to a preset current step; and wherein determining the load capacity of the charging device according to the output voltages of the charging device in the adjusting process comprises:

in a case where at least one output voltage among the more than one output voltage is smaller than or equal to the second threshold, determining that the load capacity of the charging device is a second class, wherein a charging mode corresponding to the second class is the second mode.

4 . The charging method according to claim 1 , wherein the charging mode further comprises a third mode, and a charging current of the third mode is smaller than a current threshold; and wherein determining the load capacity of the charging device according to the output voltages of the charging device in the adjusting process comprises:

in a case where all the output voltages among the more than one output voltage are greater than the second threshold and smaller than the first threshold, determining that the load capacity of the charging device is a third class, wherein a charging mode corresponding to the third class is the third mode.

5 . The charging method according to claim 4 , wherein charging the electronic device in the determined charging mode comprises one of the following:

controlling a charging chip in the electronic device to be switched to the first mode for charging;

controlling the charging chip to be switched to the second mode for charging; or

controlling the charging chip to be turned off, and controlling a power management chip in the electronic device to be switched to the third mode for charging.

6 . An electronic device, comprising:

one or more processors; and

a memory configured to store processor-executable instructions;

wherein the processor-executable instructions, when collectively executed by the one or more processors, cause the electronic device to:

recognize a type of a charging device in response to the electronic device being connected to the charging device, wherein the types of the charging devices comprise an adaptive-type charging device and a non-adaptive-type charging device, the adaptive-type charging device refers to a charging device that is effectively connected with and compatible with the electronic device, and the non-adaptive-type charging device refers to a charging device that is not effectively connected with and not compatible with the electronic device;

determine a corresponding charging mode according to the type of the charging device, wherein the charging mode comprises at least a first mode and a second mode, a charging voltage of the first mode can reach a first threshold, a charging voltage of the second mode can reach a second threshold, the first threshold is greater than a rated voltage of a battery, and the rated voltage is greater than the second threshold; and

charge the electronic device in the corresponding charging mode;

wherein determining the corresponding charging mode according to the type of the charging device comprises:

determining a load capacity of the charging device in response to determining that the type of the charging device is the non-adaptive-type charging device; and

determining the charging mode according to the load capacity;

wherein determining the load capacity of the charging device comprises:

obtaining more than one output voltage of the charging device in an adjusting process, wherein the charging device is configured to adjust either the output voltage or an output current according to an adjusting mode indicated by the electronic device; and

determining the load capacity of the charging device according to the output voltages of the charging device during the adjusting process.

7 . The electronic device according to claim 6 , wherein the adjusting mode comprises a first manner, and the first manner includes increasing the output voltage from an initial output voltage by an amount corresponding to a preset voltage step; and

the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to:

determine that the load capacity of the charging device is a first class in a case where at least one output voltage among the more than one output voltage is greater than or equal to the first threshold, wherein a charging mode corresponding to the first class is the first mode.

8 . The electronic device according to claim 6 , wherein the adjusting mode comprises a second manner, and the second manner includes increasing the output current from an initial output current by an amount corresponding to a preset current step; and

the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to:

determine that the load capacity of the charging device is a second class in a case where at least one output voltage among the more than one output voltage is smaller than or equal to the second threshold, wherein a charging mode corresponding to the second class is the second mode.

9 . The electronic device according to claim 6 , wherein the charging mode further comprises a third mode, and a charging current of the third mode is smaller than a current threshold; and

the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to:

determine that the load capacity of the charging device is a third class in a case where all the output voltages among the more than one output voltage are greater than the second threshold and smaller than the first threshold, wherein a charging mode corresponding to the third class is the third mode.

10 . The electronic device according to claim 9 , wherein the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to perform one of the following:

control a charging chip in the electronic device to be switched to the first mode for charging;

control the charging chip to be switched to the second mode for charging; or

control the charging chip to be turned off, and control a power management chip in the electronic device to be switched to the third mode for charging.

11 . A non-transitory computer-readable storage medium storing processor-executable instructions, wherein the processor-executable instructions, when collectively executed by one or more processors of an electronic device, cause the electronic device to:

recognize a type of a charging device in response to the electronic device being connected to the charging device, wherein the types of the charging devices comprise an adaptive-type charging device and a non-adaptive-type charging device, the adaptive-type charging device refers to a charging device that is effectively connected with and compatible with the electronic device, and the non-adaptive-type charging device refers to a charging device that is not effectively connected with and not compatible with the electronic device;

determine a corresponding charging mode according to the type of the charging device, wherein the charging mode comprises at least a first mode and a second mode, wherein a charging voltage of the first mode can reach a first threshold voltage, a charging voltage of the second mode can reach a second threshold voltage, the first threshold voltage is greater than a rated voltage of a battery, and the rated voltage is greater than the second threshold voltage; and

charge the electronic device in the determined charging mode;

wherein determining the corresponding charging mode according to the type of the charging device comprises:

determining a load capacity of the charging device in response to determining that the type of the charging device is the non-adaptive-type charging device; and

determining the charging mode according to the load capacity;

wherein determining the load capacity of the charging device comprises:

obtaining more than one output voltage of the charging device in an adjusting process, wherein the charging device is configured to adjust either the output voltage or an output current according to an adjusting mode indicated by the electronic device; and

determining the load capacity of the charging device according to the output voltages of the charging device during the adjusting process.

12 . The storage medium according to claim 11 , wherein the adjusting mode comprises a first manner, and the first manner includes increasing the output voltage from an initial output voltage by an amount corresponding to a preset voltage step; and

the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to:

determine that the load capacity of the charging device is a first class in a case where at least one output voltage among the more than one output voltage is greater than or equal to the first threshold, wherein a charging mode corresponding to the first class is the first mode.

13 . The storage medium according to claim 11 , wherein the adjusting mode comprises a second manner, and the second manner includes increasing the output current from an initial output current by an amount corresponding to a preset current step; and

the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to:

determine that the load capacity of the charging device is a second class in a case where at least one output voltage among the more than one output voltage is smaller than or equal to the second threshold, wherein a charging mode corresponding to the second class is the second mode.

14 . The storage medium according to claim 11 , wherein the charging mode further comprises a third mode, and wherein a charging current of the third mode is smaller than a current threshold; and

the processor-executable instructions, when collectively executed by the one or more processors, further cause the electronic device to:

determine that the load capacity of the charging device is a third class in a case where all the output voltages among the more than one output voltage are greater than the second threshold and smaller than the first threshold, wherein a charging mode corresponding to the third class is the third mode.

15 . The charging method according to claim 1 , wherein the non-adaptive-type charging device has at least one of the following characteristics:

a charging voltage of the non-adaptive-type charging device does not reach a high-voltage threshold, preventing the electronic device from being charged in a high-voltage mode;

a charging voltage of the non-adaptive-type charging device does not reach a low-voltage threshold, preventing the electronic device from being charged in a low-voltage mode; or

causing the electronic device to be unable to implement fast charging, even if the electronic device supports the fast charging.

16 . The charging method according to claim 1 , wherein the load capacity indicates a maximum charging voltage capability or a minimum charging voltage capability of the charging device.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 28, 2022
From: CHEN, YICHUN
To: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Reel/Frame 059263/0368 →
Priority Claims (1)
CN 202111214015.4 · Oct 19, 2021 · national
Continuity (1)
Related Publication 20230120651A1 · Apr 20, 2023
References Cited (40)
US 5506490A · DeMuro · 1996 [cited by examiner]
US 8497662B2 · Aradachi · 2013 [cited by examiner]
US 10277050B2 · Huang · 2019 [cited by examiner]
US 20010000212A1 · Reipur · 2001 [cited by examiner]
US 20080238361A1 · Pinnell · 2008 [cited by examiner]
US 20130086409A1 · Lu · 2013 [cited by examiner]
US 20140360512A1 · Xiang · 2014 [cited by examiner]
US 20150127278A1 · Yang · 2015 [cited by examiner]
US 20170085098A1 · Sporck et al. · 2017 [cited by applicant]
US 20170289334A1 · Tian · 2017 [cited by examiner]
US 20180013295A1 · Sporck et al. · 2018 [cited by applicant]
US 20180048170A1 · Sun et al. · 2018 [cited by applicant]
US 20180166902A1 · Huang et al. · 2018 [cited by applicant]
US 20180254648A1 · Harju · 2018 [cited by applicant]
US 20180351384A1 · Koyama · 2018 [cited by examiner]
US 20190260212A1 · Li · 2019 [cited by examiner]
US 20190288520A1 · Abdel-Monem · 2019 [cited by examiner]
US 20200119581A1 · Kim · 2020 [cited by examiner]
US 20200343777A1 · Jia · 2020 [cited by examiner]
US 20210104899A1 · Chai · 2021 [cited by examiner]
US 20210111566A1 · Wu et al. · 2021 [cited by applicant]
US 20210376618A1 · Chen · 2021 [cited by examiner]
US 20220102995A1 · Fieldbinder · 2022 [cited by examiner]
CN 102938572A · 2013 [cited by applicant]
CN 203014439U · 2013 [cited by applicant]
CN 103560556A · 2014 [cited by applicant]
CN 106537719A · 2017 [cited by applicant]
CN 106655344A · 2017 [cited by applicant]
CN 107612052A · 2018 [cited by applicant]
CN 107769306A · 2018 [cited by applicant]
CN 107769320A · 2018 [cited by applicant]
CN 108233451A · 2018 [cited by applicant]
CN 105978093B · 2018 [cited by applicant]
CN 108539808A · 2018 [cited by applicant]
CN 109004708A · 2018 [cited by applicant]
CN 109327055A · 2019 [cited by applicant]
CN 110718948A · 2020 [cited by applicant]
CN 111262299A · 2020 [cited by applicant]
CN 113241810A · 2021 [cited by applicant]
European Search Report issued on Aug. 26, 2022 for European Patent Application No. 22158930.2. [cited by applicant]