CN117254539A - Charging method and electronic equipment - Google Patents

Charging method and electronic equipment Download PDF

Info

Publication number
CN117254539A
CN117254539A CN202210653678.4A CN202210653678A CN117254539A CN 117254539 A CN117254539 A CN 117254539A CN 202210653678 A CN202210653678 A CN 202210653678A CN 117254539 A CN117254539 A CN 117254539A
Authority
CN
China
Prior art keywords
charging
charging mode
mode
power
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210653678.4A
Other languages
Chinese (zh)
Inventor
罗鹏涛
郑鹏珍
方贇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210653678.4A priority Critical patent/CN117254539A/en
Publication of CN117254539A publication Critical patent/CN117254539A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00036Charger exchanging data with battery
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/443Methods for charging or discharging in response to temperature
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0036Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • H02J7/007194Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature of the battery
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/30Charge provided using DC bus or data bus of a computer

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

A charging method and electronic equipment relate to the technical field of terminals. The method has the advantages that the quick charging mode and the super quick charging mode can be preset in the electronic equipment, and the electronic equipment is charged by adopting the super quick charging mode only when the electric quantity of the battery is low, so that the number of times of charging for a long time with the maximum charging power is reduced, the phenomenon that the battery capacity of the electronic equipment is lowered is also slowed down, and the service life of the battery is prolonged. The first preset temperature corresponding to the first charging mode (for example, the fast charging mode) in the charging method is smaller than the second preset temperature corresponding to the second charging mode (for example, the super fast charging mode), wherein the first preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the first charging mode, and the second preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the second charging mode.

Description

Charging method and electronic equipment
Technical Field
The application relates to the technical field of terminals, in particular to a charging method and electronic equipment.
Background
The longer the electronic device is operated, the more power is consumed. When the residual electric quantity of the electronic equipment is small, a user is required to charge in time. If the electronic device is not charged all the time, normal use of the user may be affected. In order to reduce the influence of the overlong charging time of the electronic device on the user, some electronic devices are designed to have a larger charging power, for example, 60W (watts), 100W, etc. In this way, the electronic device can be charged with a larger charging power, thereby reducing the charging time.
However, larger charging power may affect the battery capacity of the electronic device. If the electronic device is charged with a relatively large charging power every time, the battery capacity of the electronic device is rapidly reduced, so that the user always fails to use the electronic device even if the user does not use the electronic device frequently. Therefore, although the present charging method provides a faster charging mode, and ensures the experience of users in terms of fast use of electronic equipment, the charging method accelerates the reduction of the battery capacity, thereby greatly reducing the service life of the battery.
Disclosure of Invention
The embodiment of the application provides a charging method and electronic equipment, wherein a charging mode (such as a super rapid charging mode) with relatively high charging speed is adopted to charge the electronic equipment only when the equipment state of the electronic equipment meets certain conditions, so that the number of times of charging with the maximum charging power is reduced, the speed of reducing the battery capacity of the electronic equipment is also slowed down, and the service life of a battery is prolonged.
In order to achieve the above purpose, the embodiments of the present application adopt the following technical solutions:
in a first aspect, a charging method is provided. The charging method is applied to the electronic equipment, and a first charging mode and a second charging mode are preset in the electronic equipment. The first preset temperature corresponding to the first charging mode is smaller than the second preset temperature corresponding to the second charging mode. The first preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the first charging mode, and the second preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the second charging mode. In the charging method, the current battery electric quantity of the electronic equipment is firstly obtained, and then the second charging mode is adopted for charging under the condition that the current battery electric quantity of the electronic equipment is smaller than or equal to the first preset electric quantity.
Therefore, in the charging method, the electronic equipment can be charged in the second charging mode only under the condition that the battery electric quantity is smaller than or equal to the first preset electric quantity, so that the electronic equipment is prevented from being charged in the second charging mode every time, the number of times of charging for a long time with the maximum charging power is reduced, the phenomenon that the battery capacity of the electronic equipment is lowered is also slowed down, and the service life of the battery is prolonged. And the electronic device has lower temperature limit on the second charging mode and higher temperature limit on the first charging mode, so when the second charging mode is adopted for charging, the charging maintenance time of the maximum charging power is longer before the battery temperature reaches the second preset temperature, and the charging maintenance time of the maximum charging power is longer than that when the first charging mode is adopted for charging. And in the condition that the maximum charging power is maintained for a long time, the electronic equipment can be charged rapidly, so that the charging speed of the electronic equipment can be improved, and the charging time is shortened. And better use experience is brought to users.
In an implementation manner of the first aspect, when the second charging mode is adopted for charging, a mode selection interface may be displayed to the user when the current battery power of the electronic device is less than or equal to the first preset power, where the mode selection interface is used to display a prompt message for controlling the electronic device to adopt the second charging mode for charging, and the prompt message is used to prompt the user to adopt the second charging mode for charging. Then, in response to the user selecting the second charging mode, charging is performed in the second charging mode. In this implementation manner, the second charging mode is displayed for the user only when the battery power is less than or equal to the first preset power, so that the user can select the second charging mode only when the battery power is less than or equal to the first preset power. Therefore, the situation that the user selects the second charging mode every time is avoided, and the time of charging for a longer time with the maximum charging power can be reduced, so that the phenomenon that the battery capacity of the electronic equipment is lowered is slowed down, and the service life of the battery is prolonged.
In an implementation manner of the first aspect, a control area corresponding to the prompt information may be further displayed on the mode selection interface, and the prompt information may be used to prompt a user to press the control area for a long time to control the electronic device to charge in the second charging mode. In the foregoing charging method, when the second charging mode is used for charging, the second charging mode may also be used for charging in response to the operation of the user pressing the control area for a long time. In this implementation manner, the control area on the mode selection interface may provide an operation area for the user to select the charging mode, and the mode selection interface is only displayed when the battery power is less than or equal to the first preset power, so that the user can select the second charging mode only when the battery power is less than or equal to the first preset power, and the phenomenon that the battery capacity of the electronic device is reduced when the user selects the second charging mode each time can be avoided.
In an implementation manner of the first aspect, when the charging is performed in the second charging mode, a battery temperature of the electronic device may also be obtained, and when the battery temperature is greater than or equal to a second preset temperature, a maximum charging power currently used for charging is reduced, and the charging is performed by using the reduced charging power. In this implementation, the reduction of the charging power is started when the battery temperature is greater than or equal to the second preset temperature, thereby reducing the battery temperature during the reduction of the charging power. Therefore, the temperature of the battery can be ensured to meet the requirement of a temperature threshold value while the charging duration is prolonged, and the battery can not be in a state of maximum power charging for a long time, so that the reduction speed of the battery capacity is slowed down, and the service life of the battery is prolonged.
In an implementation manner of the first aspect, the charging method may further obtain a preset corresponding relationship corresponding to the second charging mode when a current battery power of the electronic device is less than or equal to a first preset power. The preset corresponding relation corresponding to the second charging mode represents the corresponding relation of the battery electric quantity, the battery temperature and the charging power when the electronic equipment is charged. And then, charging by adopting the second charging mode according to the preset corresponding relation corresponding to the second charging mode. In this implementation manner, since the change of the charging power is closely related to the battery temperature and the battery power, the preset corresponding relationship may reflect the situation that the charging power changes with the battery temperature and the battery power when the electronic device is charged in the second charging mode. Therefore, the battery is charged according to the preset corresponding relation, and the purpose of reducing the charging power when the temperature of the battery reaches the temperature threshold value can be achieved, so that the reduction speed of the battery capacity is slowed down, and the service life of the battery is prolonged.
In an implementation manner of the first aspect, the maximum charging power corresponding to the second charging mode and the maximum charging power corresponding to the first charging mode may be the same, or the maximum charging power corresponding to the second charging mode is greater than the maximum charging power corresponding to the first charging mode. Therefore, the purpose of reducing the temperature limit of the second charging mode can be achieved under the condition that the second preset temperature corresponding to the second charging mode is larger than the first preset temperature corresponding to the first charging mode, so that the charging maintenance time of the maximum charging power corresponding to the second charging mode is prolonged, and the charging speed of the electronic equipment is accelerated.
In an implementation manner of the first aspect, the above charging method may further use the second charging mode to perform charging when the electronic device is connected to a standard charger and a current battery capacity of the electronic device is less than or equal to a first preset electric capacity. The standard charger is used for providing charging power which is matched with the maximum charging power corresponding to the second charging mode. In this implementation, after the electronic device is connected to the standard charger, the standard charger can support high-power charging of the electronic device and provide larger charging power for the electronic device.
In an implementation manner of the first aspect, a third charging mode may be preset in the electronic device, where a maximum charging power corresponding to the third charging mode is smaller than a maximum charging power corresponding to the first charging mode. In this implementation, if the third charging mode is a slow charging mode, the first charging mode may be a fast charging mode and the second charging mode may be a super fast charging mode, which may provide multiple charging modes for the user.
In an implementation manner of the first aspect, the above charging method may further use the first charging mode or the third charging mode to perform charging in response to an instruction operation of a user when a current battery capacity of the electronic device is greater than a first preset electric capacity. In this implementation manner, if the obtained battery power is greater than the first preset power when the electronic device starts to charge, the obtained battery power can be regarded as sufficient power when the electronic device starts to charge, and the electronic device cannot use the second charging mode to charge, so that the number of times of charging with the maximum charging power for a long time can be reduced, the phenomenon that the battery capacity of the electronic device is reduced is slowed down, and the service life of the battery is prolonged.
In an implementation manner of the first aspect, in the charging method of the first aspect, in a process of charging in the second charging mode, when a battery power of the electronic device is greater than or equal to a second preset power, the second charging mode is automatically switched to the first charging mode or the third charging mode, and the first charging mode or the third charging mode is used for charging. In this implementation manner, if the battery temperature is still less than or equal to the second preset temperature after the electronic device is charged for a period of time, but the current electric quantity of the battery is relatively high, the electronic device may actively reduce the charging power, so as to reduce the duration of charging with the maximum charging power and slow down the speed of reducing the battery capacity.
In an implementation manner of the first aspect, in the charging method, during charging in the second charging mode, the second charging mode is switched to the first charging mode or the third charging mode in response to a charging mode switching operation of a user, and charging is performed in the first charging mode or the third charging mode. In this implementation, if the battery temperature is still less than or equal to the second preset temperature after the electronic device is charged for a period of time, but the current electric quantity of the battery is relatively high, in this case, the user may choose to reduce the charging power, so as to reduce the duration of charging with the maximum charging power, and slow down the speed of reducing the battery capacity.
In an implementation manner of the first aspect, the above charging method may further use a third charging mode to perform charging when the electronic device is not connected to a standard charger. At this time, since the charger connected to the electronic device is a general charger, the general charger cannot support high-power charging of the electronic device, and cannot provide large charging power for the electronic device. Therefore, when the electronic device and the common charger are used, the electronic device can only be charged in the third charging mode, so that the electronic device can be charged with lower charging power.
In a second aspect, an electronic device is provided that includes a memory, one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the charging method according to any of the implementation forms of the first aspect.
In a third aspect, a computer readable storage medium is provided, comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the charging method according to any one of the implementations of the first aspect.
In a fourth aspect, a computer program product is provided which, when run on a computer, causes the computer to perform the charging method according to any of the implementations of the first aspect.
It will be appreciated that the advantages achieved by the electronic device according to the second aspect, the computer readable storage medium according to the third aspect, and the computer program product according to the fourth aspect provided above may refer to the advantages in the first aspect and any possible design manner thereof, and are not described herein.
Drawings
Fig. 1 is a schematic diagram of a charging curve according to an embodiment of the present application;
fig. 2 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic software structure of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic flow chart of a charging method according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of yet another charging profile shown in an embodiment of the present application;
FIG. 6 is a schematic diagram of a first mode selection interface shown in an embodiment of the present application;
FIG. 7 is a schematic diagram of a second mode selection interface shown in an embodiment of the present application;
FIG. 8 is a schematic diagram of a third mode selection interface shown in an embodiment of the present application;
FIG. 9 is a schematic diagram of yet another charging profile shown in an embodiment of the present application;
fig. 10 is a flow chart illustrating yet another charging method according to an embodiment of the present application;
FIG. 11 is a block diagram illustrating an electronic device according to an embodiment of the present application;
FIG. 12 is a block diagram of yet another electronic device shown in an embodiment of the present application;
fig. 13 is a schematic diagram of a charging management module according to an embodiment of the present application;
fig. 14 is a schematic hardware structure of still another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the present application, "/" means that the related objects are in a "or" relationship, unless otherwise specified, for example, a/B may mean a or B; the term "and/or" in this application is merely an association relation describing an association object, and means that three kinds of relations may exist, for example, a and/or B may mean: there are three cases, a alone, a and B together, and B alone, wherein a, B may be singular or plural. Also, in the description of the present application, unless otherwise indicated, "a plurality" means two or more than two. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or plural. In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ. Meanwhile, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
In addition, the service scenario described in the embodiment of the present application is for more clearly describing the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art can know that, with the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
With the richness of functions of electronic devices such as mobile phones, users increasingly spend time on the electronic devices, so that the electronic devices work for a longer time. However, the longer the electronic device is operated, the more power consumption will be. When the residual electric quantity of the electronic equipment is small, the user is required to charge in time.
Generally, the smaller the remaining power of the electronic device, the longer the charging time of the electronic device. If the electronic device is not charged, normal use of the user is affected. In order to reduce the influence of the overlong charging time of the electronic device on the user, some electronic devices are designed to have a larger charging power, for example, 60W (watts), 100W, etc. In this way, the electronic device can be charged with a larger charging power, thereby reducing the charging time.
For example, in some current charging methods, a charging mode of an electronic device may be set. The charging modes may include a quick charging mode and a normal charging mode, among others. Under the condition that a user connects the charger with the electronic equipment, a charging mode option and the like can be popped up on an interface of the electronic equipment, and the user can select different charging modes according to own requirements.
The quick charging mode and the common charging mode of the electronic equipment are respectively corresponding to preset corresponding relations, wherein the preset corresponding relations refer to corresponding relations of battery electric quantity, battery temperature and charging power in the charging process of the electronic equipment, the corresponding relations can be represented as a change trend of the charging power under different charging time or satisfy curve rules between the charging power and the charging time, and the corresponding relations can be specifically represented in a charging curve mode. For example, referring to the charge graph shown in fig. 1, the horizontal axis of the coordinates in fig. 1 represents the charge time in minutes (min), and the vertical axis represents the charge power in watts (W). The corresponding fast charging curve in the fast charging mode and the corresponding slow charging curve in the normal charging mode are respectively corresponding to the respective maximum charging power. Since the battery temperature of the electronic device increases as the charging power increases, the maximum charging power in the charging curve is maintained for a period of time only, and is not always maintained, in order to meet the requirement of the battery temperature. In order to meet the requirement of the fast charge, the maximum charge power in the fast charge curve is higher than the maximum charge power in the slow charge curve, and then the end time of the fast charge curve (i.e., the charge end time) is earlier than the end time of the slow charge curve.
When the user needs to fully charge the electronic device, the user can select the quick charging mode, and the electronic device can be charged according to the quick charging curve, so that the charging time is greatly reduced. When the user is not urgent to fully charge the electronic device, the user can select the normal charging mode, and the electronic device is charged according to the slow charging curve, and correspondingly, the charging time is longer.
Since the electronic device provides such a fast charging mode, a user often selects the fast charging mode and rarely selects the normal charging mode in order to use the electronic device as soon as possible during actual charging, regardless of the current remaining power of the electronic device. And charging with a larger charging power often affects the battery capacity of the electronic device. If the user selects the quick charge mode every time, the electronic device is charged with a relatively large charge power every time, so that the battery capacity of the electronic device is rapidly reduced, and the electronic device is always powered down even if the user does not use the electronic device frequently. It can be seen that, although the present charging method provides a fast charging mode, ensuring the experience of the user in terms of fast use of the electronic device, the charging method inevitably accelerates the reduction of the battery capacity, thereby greatly reducing the service life of the battery.
Based on the above, the embodiment of the application provides a charging method, which can be applied to electronic equipment. In the method, the electronic equipment presets a first charging mode and a second charging mode. The first preset temperature corresponding to the first charging mode is smaller than the second preset temperature corresponding to the second charging mode, the first preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the first charging mode, and the second preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the second charging mode.
Thereafter, in the case where the device state of the electronic device satisfies a certain condition, the charging may be performed in the second charging mode.
The device state of the electronic device may refer to a current battery power of the electronic device, a number of software running in a background of the electronic device, an environmental temperature where the electronic device is located, and the like. The device state meeting a certain condition may be that the current battery power of the electronic device is smaller than or equal to a first preset power, the number of software running in the background of the electronic device is larger than or equal to a preset number, or the environmental temperature of the electronic device is smaller than or equal to a preset temperature threshold value, etc. And the maximum charging power corresponding to the second charging mode may be greater than the maximum charging power corresponding to the first charging mode, or may be equal to the maximum charging power corresponding to the first charging mode.
In the charging method, the electronic equipment adopts the second charging mode only when the equipment state meets certain conditions, so that the electronic equipment is prevented from being charged in the second charging mode every time, the number of times of charging for a long time with the maximum charging power is reduced, the phenomenon that the battery capacity of the electronic equipment is lowered is also slowed down, and the service life of the battery is prolonged.
In addition, the longer the duration of continuous charging with maximum charging power, the higher the temperature of the electronic device is generally. The first preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the first charging mode, the second preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the second charging mode, and the first preset temperature is smaller than the second preset temperature, so that the electronic equipment can be regarded as having lower temperature limitation on the second charging mode and higher temperature limitation on the first charging mode. The electronic device has a lower temperature limit on the second charging mode, so that when the second charging mode is adopted for charging, the maximum charging power is charged and maintained for a longer time before the battery temperature reaches the second preset temperature. And in the condition that the maximum charging power is maintained for a long time, the electronic equipment can be charged rapidly, so that the charging speed of the electronic equipment can be improved, and the charging time is shortened. And better use experience is brought to users.
The electronic device in the embodiment of the present application may be an electronic device supporting high-power charging, for example, a mobile phone, a tablet computer, a notebook computer, and the like. Taking the example that the electronic device is a mobile phone. Fig. 2 shows a schematic diagram of the hardware structure of the electronic device.
As shown in fig. 2, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The audio module 170 may include a speaker, a receiver, a microphone, and a headphone interface. The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor 180J, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
In some embodiments, the charge management module 140 in the electronic device 100 may provide a variety of charging modes, such as a fast charging mode, a slow charging mode (e.g., the general charging mode described above), a super fast charging mode, and so forth. The fast charge mode may be the first charge mode in the foregoing embodiment, by way of example; the super fast charge mode may be the second charge mode in the foregoing embodiment.
The maximum charging power corresponding to the fast charging mode is larger than the maximum charging power corresponding to the slow charging mode, and the charging duration corresponding to the fast charging mode is smaller than the charging duration corresponding to the slow charging mode; the maximum charging power corresponding to the super-fast charging mode may be the same as the maximum charging power corresponding to the fast charging mode, or the maximum charging power corresponding to the super-fast charging mode may be greater than the maximum charging power corresponding to the fast charging mode, and the time period during which the maximum charging power corresponding to the super-fast charging mode is maintained is greater than the time period during which the maximum charging power corresponding to the fast charging mode is maintained.
The charge duration of the electronic device 100 in the super-fast charge mode is less than the charge duration of the electronic device 100 in the fast charge mode, and the charge duration of the electronic device 100 in the fast charge mode is less than the charge duration of the electronic device in the slow charge mode.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
In some embodiments, the electronic device 100 may detect the current battery level of the electronic device 100 through the power management module 141. When the battery level is less than or equal to the preset level, the electronic device 100 charges in the super-fast charging mode.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like. The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121.
In some embodiments, the processor 110 of the electronic device 100 may control the electronic device 100 to obtain the current battery power by executing the instructions stored in the internal memory 121, and when the current battery power is less than or equal to the preset power, control the electronic device 100 to charge in the super-fast charging mode.
And, the processor 110 of the electronic device 100 may control the electronic device 100 to obtain the battery temperature by executing the instruction stored in the internal memory 121, and in the case of the super fast charging mode, when the battery temperature is greater than or equal to the preset temperature, control the electronic device 100 to reduce the current charging power, so as to avoid the problem of reducing the battery capacity caused by charging with a larger charging power for a long time.
The electronic device 100 may implement audio functions through an audio module 170, a speaker, a receiver, a microphone, a headphone interface, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110. Speakers, also known as "horns," are used to convert audio electrical signals into sound signals. A receiver, also called an "earpiece", is used to convert the audio electrical signal into a sound signal. Microphones, also known as "microphones" and "microphones", are used to convert sound signals into electrical signals. The earphone interface is used for connecting a wired earphone.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
In some embodiments, when the electronic device 100 is in a different charging mode, the electronic device 100 may detect the battery temperature through the temperature sensor 180J, so that the processor 110 controls the electronic device 100 to reduce the charging power and charge at the reduced charging power when the battery temperature is greater than or equal to a certain temperature threshold. The temperature threshold corresponding to the super rapid charging mode is higher than the temperature threshold corresponding to the rapid charging mode.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
When the charging method in the embodiment of the present application is implemented based on the electronic device 100 shown in fig. 2, the processor 110 of the electronic device 100 may configure the fast charging mode, the super fast charging mode, and the slow charging mode to the charge management module 140 by executing instructions stored in the internal memory 121. The processor 110 of the electronic device 100 may detect the current battery level by the power management module 141 by executing instructions stored in the internal memory 121. When the battery level is less than or equal to the preset threshold, the electronic device 100 is controlled to be in the super-fast charge mode. And detects the battery temperature by the temperature sensor 180J while in the super fast charge mode. When the battery temperature is greater than or equal to the preset temperature, the charging power is controlled to be reduced. Thereby avoiding the problem of reduced battery capacity caused by charging at a larger charging power for a long time.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Taking the example that the electronic device is a mobile phone. Fig. 3 is a schematic software structure of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, a HAL layer (HardWare Abstraction Layer ), and a kernel layer.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications such as a camera, gallery, calendar, phone call, map (not shown), navigation (not shown), WLAN, bluetooth, music, video, short message, etc.
In some embodiments, the application may also include a housekeeping software or the like for managing the electronic device 100, such as a cell phone housekeeping or the like. The mobile phone can provide a charging mode option for a user through software such as a mobile phone manager, and set a charging mode.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 3, the application framework layer may include a window manager, a content provider, a view system (not shown), a phone manager, a resource manager, a notification manager (not shown), and so on.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
In some embodiments, the application framework layer may further include a charging mode setting module, a charging mode determination module, and the like. The charging mode setting module is configured to provide a charging mode selection interface for a user when the current battery power of the electronic device 100 is less than or equal to a preset power. The charging mode selection interface may display a plurality of charging modes including a super-fast charging mode. In the case when the user selects the super fast charging mode, the charging mode setting module is configured to send a result of the selection of the user to the charging mode determining module.
The charging mode determining module is configured to control the electronic device 100 to charge in the super fast charging mode when the user selects the super fast charging mode.
Android run time includes a core library and virtual machines. Android run is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The HAL layer is a hardware abstraction layer between the kernel layer and the hardware. The HAL layer includes at least a charging profile management module.
The charging curve management module at least provides three charging curves corresponding to three charging modes respectively, wherein the super-fast charging mode corresponds to the super-fast charging curve, the fast charging mode corresponds to the fast charging curve, and the slow charging mode corresponds to the slow charging curve.
In some embodiments, the charging mode determining module may further send a charging mode selection result of the user to the charging curve management module, where the charging curve management module determines a corresponding charging curve according to the selection result of the user to charge the electronic device 100.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In some embodiments, the kernel layer may also include a charge management chip driver. The charging management chip driver can drive the charging management chip to charge the electronic equipment according to the corresponding charging power according to the charging mode selection result of the user sent by the charging mode judging module. In this process, the sensor driver is configured to drive the temperature sensor to detect the battery temperature and send the battery temperature to the charge management chip, where the charge management chip reduces the current charging power (or charging current) when the battery temperature is greater than or equal to a certain temperature threshold.
In other embodiments, the charging management chip driver may also receive a charging curve corresponding to the charging mode selected by the user and send the charging curve to the charging management module, and drive the charging management chip to charge the electronic device according to the charging power on the charging curve.
When the charging method in the embodiment of the present application is implemented based on the electronic device 100 shown in fig. 3, the application framework layer may provide a super-fast charging mode in the electronic device 100. The temperature limit of the electronic device for the super rapid charging mode is lower than that for the rapid charging mode, and the duration of the maximum charging power corresponding to the super rapid charging mode is longer than that of the maximum charging power corresponding to the rapid charging mode. When the current battery level of the electronic device 100 is less than or equal to the preset level, the application framework layer may display a super-fast charge mode for the user. In the case that the user selects the super fast charging mode, the application framework layer may send the mode selection result of the user to the kernel layer, so that the kernel layer charges the electronic device 100 according to the charging power corresponding to the super fast charging mode.
In the process, the core layer can also detect the temperature of the battery, and the current charging power is reduced when the temperature of the battery is greater than or equal to a certain temperature threshold value in the charging process of the electronic equipment. Thereby avoiding the problem of reduced battery capacity caused by charging at a larger charging power for a long time.
The charging method provided in the embodiment of the present application will be described below by taking an example in which the electronic device is a mobile phone. As shown in fig. 4, the method may include the following steps S201 to S203.
S201, presetting a first charging mode and a second charging mode by the mobile phone.
The mobile phone can preset a first charging mode and a second charging mode before delivery or in the upgrading process. The first charging mode may be a charging mode in which the maximum charging power is greater than the first preset power.
In some embodiments, the first preset power may be 60W, 80W, 100W, etc., which is not specifically limited in the embodiments of the present application. When the maximum charging power corresponding to the first charging mode of the mobile phone is larger than the first preset power, the first preset power is larger than the first preset power, so that the maximum charging power corresponding to the first charging mode is larger, and the charging speed is higher when the first charging mode is adopted for charging. Therefore, in the case where the maximum charging power corresponding to the first charging mode is greater than the first preset power, the first charging mode can be regarded as the quick charging mode in the foregoing embodiment. And the first charging mode corresponds to a first preset temperature, and the second charging mode corresponds to a second preset temperature.
The maximum charging power corresponding to the second charging mode and used for charging the mobile phone may be the same as or greater than the maximum charging power corresponding to the first charging mode. And the second preset temperature corresponding to the second charging mode is greater than the first preset temperature corresponding to the first charging mode, so that the temperature limit on the second charging mode is reduced.
By way of example, the first preset temperature may be a temperature value that is greater than or equal to 35 ℃, and less than 40 ℃, such as 35 ℃, 37 ℃, 39 ℃, etc.
By way of example, the second preset temperature may be a temperature value that is greater than or equal to 40 ℃, and less than or equal to 45 ℃, such as 40 ℃, 42 ℃, 45 ℃, etc.
The first preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the first charging mode, and the second preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the second charging mode. Because the second preset temperature is higher than the first preset temperature, compared with the first charging mode, the second charging mode improves the temperature threshold, so that the limitation of the battery temperature on the charging power is reduced, the charging duration with the maximum charging power is prolonged when the second charging mode is adopted for charging, and the charging speed of the mobile phone is also increased rapidly. The second charging mode may be the super-fast charging mode in the foregoing embodiment.
Fig. 5 is a schematic diagram illustrating a maximum charging power maintenance time when the mobile phone is charged in the first charging mode and the second charging mode, respectively. As shown in fig. 5, the horizontal axis of the coordinate system in the figure represents the charging period, and the vertical axis represents the charging power. The first charge mode corresponds to charge curve a and the second charge mode corresponds to charge curve b. Wherein the charging curve a is the same as the maximum charging power of the charging curve b. Because the temperature threshold corresponding to the second charging mode is increased, when the second charging mode is adopted, the charging time of the maximum charging power is prolonged to a certain extent, so that the battery temperature reaches the temperature threshold, and the time for maintaining the maximum charging power in the charging curve b is longer than the time for maintaining the maximum charging power in the charging curve a. The longer the maximum charge power is maintained, the faster the cell phone charges.
It should be noted that, some mobile phones do not have a fast charging mode, or only have one charging mode, for example, the above-mentioned normal charging mode or slow charging mode, etc., so long as the maximum charging power corresponding to the current charging mode of the mobile phone is greater than the first preset power, the method in the embodiment of the present application may be adopted, and the mobile phone may preset a new charging mode according to the current charging mode, where the charging mode increases the maintenance time of the maximum charging power and increases the temperature threshold of the battery temperature based on the original charging mode. Thus, the purpose of quick charging of the mobile phone can be realized.
In some embodiments, when the maximum charging power corresponding to the charging mode preset by the mobile phone is less than or equal to the first preset power, it may be regarded that the maximum charging power corresponding to the charging mode is actually smaller, and when the charging mode is used for charging, the charging speed is also slower. Therefore, in the case where the maximum charging power corresponding to such a charging mode is less than or equal to the first preset power, such a charging mode can be regarded as the third charging mode, i.e., the slow charging mode in the foregoing embodiment. And the third charging mode corresponds to a third preset temperature. The third preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the third charging mode.
By way of example, the third preset temperature may be a temperature value that is greater than or equal to 25 ℃, and less than or equal to 33 ℃, such as 25 ℃, 27 ℃, 31 ℃, 33 ℃, etc.
In some embodiments, the mobile phone may have the first charging mode, the second charging mode, and the third charging mode at the same time. In other embodiments, the mobile phone may also have the first charging mode and the second charging mode.
S202, the mobile phone is connected with a charger, the mobile phone obtains the current battery power, and when the current battery power is smaller than or equal to the first preset power, the mobile phone charges in a second charging mode.
Generally, a user can charge a mobile phone regardless of the current battery level of the mobile phone. The specific charging mode is that a user connects the mobile phone with a charger, the charger is connected into a power grid such as household electricity, and high-voltage alternating current in the power grid is converted into low-voltage direct current through the charger, so that charging electric energy is provided for the mobile phone. The charger can be a wireless charger or a wired charger.
In this embodiment, when the battery power of the mobile phone is less than or equal to the first preset power, the battery power of the mobile phone is considered to be less, and the mobile phone needs to be charged urgently. This can reduce the number and duration of charging using the maximum charging power.
The first preset power may be 10%, 20%, 25% of the current battery limit, and the embodiment of the present application is not specifically limited.
In some embodiments, the manner in which the cell phone is charged in the second charging mode includes automatically charging in the second charging mode, charging in the second charging mode in response to a user operation, and so on.
In a mode that the mobile phone is charged in a second charging mode in response to operation of a user, the mobile phone prompts the user in the second charging mode only when the electric quantity of the battery is smaller than or equal to the first preset electric quantity. That is, the user cannot select the second charging mode when the battery power of the mobile phone is greater than the first preset power. Therefore, the condition that a user selects the second charging mode when the electric quantity is sufficient can be reduced, the number of times of charging with the maximum charging power is reduced, the reduction speed of the battery capacity can be slowed down, and the service life of the battery is prolonged.
There are various ways in which the mobile phone prompts the user for the second charging mode, for example, displaying the first mode selection interface, and displaying prompt information on the mode selection interface for the user to select. The prompt information can comprise a plurality of charging modes including a second charging mode; or displaying a second mode selection interface, displaying prompt information corresponding to the second charging mode and a corresponding control area on the mode selection interface, and the like.
For example, referring to fig. 6, when the battery level of the mobile phone is less than or equal to the first preset level after the mobile phone is charged in succession, the mobile phone may display the first mode selection interface. The first mode selection interface may include a super-fast charge mode in addition to a fast charge mode, a slow charge mode, and the like. The user can select the corresponding charging mode according to the own requirement. If the user wants to use the mobile phone at a fast point, the super fast charge mode may be selected, and if the user does not have the need to use the mobile phone, the user may select the fast charge mode, or select the slow charge mode. It can be seen that the first mode selection page can provide the user with options for multiple charging modes, thereby facilitating the selection of the user.
Or after the first mode selection interface is displayed on the mobile phone, the user does not need to use the mobile phone, and does not need to select any charging mode. In this case, the mobile phone may detect whether the selection operation of the user is received within the first preset duration, and if no selection operation of the user is received within the first preset duration, the mobile phone may perform charging in a default charging mode. The default charging mode may be a fast charging mode or a slow charging mode.
For example, referring to fig. 7, when the battery level of the mobile phone is less than or equal to the first preset level after the mobile phone is charged in succession, the mobile phone may further display a second mode selection interface. The second mode selection interface may display only the prompt information for entering the super fast charge mode, the corresponding control area, and the like. For example, the prompt message may be "long press screen center selectable super fast charge mode" or the like, and the control area may be a circular area 700 shown in fig. 7, and the control area may provide an operation area for the user to select the charge mode. The user can be regarded as selecting the super quick charge mode after pressing the circular area 700 in the center of the screen for a long time according to the prompt message. And the mobile phone can also detect whether the long-press operation of the user is received within the first preset time period, and if any selection operation of the user is not received within the first preset time period, the mobile phone can adopt a default charging mode for charging.
In some embodiments, when the mobile phone starts to charge, if the current battery power is greater than the first preset power, the mobile phone may be regarded as having sufficient power when starting to charge. In this case, the mobile phone is not charged in the second charging mode although the second charging mode is already set. In this case, the user cannot select the second charging mode either. At this time, the mobile phone is charged in a default charging mode. Or, referring to fig. 6, the mobile phone may also display a mode selection interface for the user, where only the fast charging mode and/or the slow charging mode are displayed on the mode selection interface, and then the user selects the fast charging mode or the slow charging mode on the mode selection interface, so as to perform an instruction operation, and the mobile phone responds to the instruction operation of the user and charges in the corresponding charging mode.
Therefore, the mobile phone can be limited in a mode of charging the mobile phone in the second charging mode, the number of times and the duration of charging the mobile phone with the maximum charging power can be reduced, the speed of reducing the battery capacity is slowed down, and the service life of the battery is prolonged.
And S203, when the mobile phone is charged in the second charging mode, acquiring the current battery temperature, and when the current battery temperature is greater than or equal to the second preset temperature, controlling the maximum charging power corresponding to the second charging mode to be reduced, and continuing to charge by using the reduced charging power until the mobile phone is charged.
In this embodiment of the present application, the purpose of the second charging mode is to enable the mobile phone to extend the duration of charging with the maximum charging power, but since charging with the maximum charging power for a long time can enable the battery to continuously raise the temperature, thereby reducing the battery capacity, in this embodiment of the present application, the mobile phone also needs to detect the battery temperature and start to reduce the charging power when the battery temperature is greater than or equal to the second preset temperature, thereby reducing the battery temperature in the process of reducing the charging power. Therefore, the temperature of the battery can be ensured to meet the requirement of a temperature threshold value while the charging duration is prolonged, and the battery can not be in a state of maximum power charging for a long time, so that the reduction speed of the battery capacity is slowed down, and the service life of the battery is prolonged.
For example, referring to the charging curve shown in fig. 5, in the charging curve b corresponding to the second charging mode, the time point when the charging power starts to be reduced is the time point when the mobile phone detects that the battery temperature is greater than or equal to the second preset temperature. Before this point in time, the handset is charged with the maximum charging power, and after this point in time, the handset begins to reduce the charging power. The maximum charge power in the charge curve b is maintained for a relatively long time, and the handset may already be in a higher state of charge, e.g., 80%, 85%, etc., when the charge power starts to decrease. Therefore, even if the charging power is lowered thereafter, the remaining uncharged amount of the cellular phone is filled in a short time. As a whole, the charging duration corresponding to the charging curve b is shorter than the charging duration corresponding to the charging curve a.
In some embodiments, during the charging process in the second charging mode, the mobile phone may also continue to obtain the current battery power, if the battery temperature is still less than or equal to the second preset temperature, but the current battery power of the battery is relatively high, for example, the battery power has reached 80%, 85%, etc., where the charging power may also start to be reduced, so as to reduce the duration of charging with the maximum charging power, and slow down the speed of reducing the battery capacity.
For example, the mobile phone may automatically switch the current second charging mode back to the previous first charging mode when the battery temperature is less than or equal to the second preset temperature and the battery power is greater than or equal to the second preset power. The second preset power may be 80%, 85%, etc. After that, the mobile phone continues to charge from the current battery level by adopting the first charging mode. It should be noted that, when the charging is continued in the first charging mode, the mobile phone may obtain a first charging curve corresponding to the first charging mode, for example, a charging curve a shown in fig. 5. And then, the mobile phone starts to charge from the current charging time point according to the first charging curve. Until the mobile phone is charged.
Or, the mobile phone may display a prompt message for reducing the charging power or switching the charging mode to the user when the battery temperature is less than or equal to the second preset temperature and the battery power is greater than or equal to the second preset power. Thus, the user can select whether to reduce the charging power or switch the charging mode according to his own demand.
Referring to fig. 8, when the battery temperature is less than or equal to the second preset temperature and the battery power is greater than or equal to the second preset power, the mobile phone may display a third mode selection interface. A fast charge mode, a slow charge mode, etc. may be displayed in the third mode selection interface. A prompt message for prompting the user to switch the charging mode, for example, "the current electric quantity is sufficient, you can choose to switch to other charging modes", etc. may also be displayed. If the user wants to continue charging in a faster manner, the user can select the fast charge mode; and if the user wants to charge in a slower manner, the user may select the slow charge mode.
In some embodiments, in the process of charging the mobile phone in the second charging mode, when the user does not need to quickly charge, the user can also select to switch the second charging mode to the first charging mode or the third charging mode at any time, so that the duration of charging the mobile phone with the maximum charging power is shortened, or the mobile phone is charged with smaller charging power. This also slows down the rate of decrease in battery capacity.
In this embodiment of the present application, the premise that the mobile phone can adopt the first charging mode or the second charging mode for charging is that a charger, a charging wire, and the like connected with the mobile phone can support the mobile phone to perform rapid charging. That is, the maximum power provided by the charger is matched with or greater than the maximum charging power corresponding to the first charging mode of the mobile phone, and the charging line connecting the mobile phone and the charger can support the maximum charging power corresponding to the first charging mode. If the charger, the charging wire and the like connected with the mobile phone can support the mobile phone to carry out quick charging, the charger is a standard charger matched with the maximum charging power of the mobile phone, and the charging wire is also a standard charging wire. Therefore, after the mobile phone is connected with the charger, the charger can support high-power charging of the mobile phone and provide larger charging power for the mobile phone, so that the mobile phone can adopt the rapid charging mode or the super rapid charging mode in the embodiment.
In some embodiments, if the charger is not a standard charger that can support fast charging, but is a normal charger; or the charging cord is not a standard charging cord that can support rapid charging, but a general charging cord. Then the common charger or common charging cord cannot support high power charging of the mobile phone, and cannot provide larger charging power for the mobile phone. Therefore, when the mobile phone is connected with the common charger or the common charging wire, the mobile phone can only be charged in the third charging mode, so that the mobile phone can be charged with lower charging power.
In general, the fast charging mode (the first charging mode) and the slow charging mode (the third charging mode) both have corresponding preset corresponding relations, and the preset corresponding relations represent the corresponding relations of the current battery power, the current battery temperature and the current charging power when the electronic device is charged in different charging modes. The correspondence may be represented as a trend of change of the charging power at different charging times or satisfy a curve rule between the charging power and the charging time, and may be specifically represented in a manner of a charging curve. Therefore, under the condition of being in a certain charging mode, the mobile phone can also directly acquire a charging curve corresponding to the certain charging mode, and then charge according to the charging curve. The charging curve represents a correspondence between each charging time point in the charging process and the corresponding charging power (or charging current). The inflection point of the charging curve when the maximum charging power starts to decrease and the charging time point corresponding to the inflection point are determined according to the battery electric quantity and the battery temperature of the mobile phone in the actual charging process.
In this embodiment of the present application, the super-fast charging mode (the second charging mode) also corresponds to a preset correspondence, that is, a corresponding curve charging (the second charging curve).
For example, referring to the charge curve diagram shown in fig. 9, the horizontal axis of the coordinate system represents the charge duration and the vertical axis represents the charge power. The fast charge mode corresponds to charge curve a, the super fast charge mode corresponds to charge curve b, and the slow charge mode corresponds to charge curve c. Because the temperature threshold corresponding to the super-fast charge mode is increased, when the super-fast charge mode is adopted, the charging time of the maximum charging power is prolonged to a certain extent, so that the temperature of the battery reaches the temperature threshold, and the time for maintaining the maximum charging power in the charging curve b is longer than the time for maintaining the maximum charging power in the charging curve a. The longer the maximum charge power is maintained, the faster the cell phone charges. And because the maximum charging power corresponding to the slow charging mode is smaller than the maximum charging power of the fast charging mode and the super fast charging mode, the charging time is longer when the slow charging mode is adopted for charging. Further, the charging duration of the charging curve c corresponding to the slow charging mode is longer than the charging durations of both the charging curves a and b.
The mobile phone may store the first charging curve, the second charging curve, and the third charging curve representing the correspondence together. And after the user selects a certain charging mode, the mobile phone can directly acquire the corresponding relation (charging curve) corresponding to the charging mode, so that the charging power is correspondingly adjusted according to the corresponding relation (charging curve) to charge.
Based on this, in some embodiments, the above-described charging method may also be implemented in the manner shown in fig. 10. Referring to fig. 10, after the user connects the mobile phone to the charger, the mobile phone may be charged in a default charging mode, for example, using a third charging mode. And the mobile phone detects the current battery power, and displays the option of the second charging mode to the user when the battery power is smaller than or equal to the first preset power. After the user selects the second charging mode, the mobile phone responds to the selection operation of the user to acquire a corresponding second charging curve. And then, the mobile phone charges according to the second charging curve. And displaying prompt information currently in the second charging mode on a display interface in the charging process.
When the battery power is greater than the first preset power, the mobile phone can display options of the first charging mode and the third charging mode to the user. And then, the mobile phone responds to the selection operation of selecting a certain charging mode by the user, acquires a corresponding charging curve, and charges according to the corresponding charging curve.
In the charging method shown in fig. 10, since the change of the charging power is closely related to the battery temperature and the battery power, and the second charging curve is a power-time curve correspondingly set according to the power change condition of the second charging mode during charging, the second charging curve may reflect the change condition of the charging power when the mobile phone is charged in the second charging mode, and the inflection point of the maximum charging power may represent the charging time point when the battery temperature is greater than or equal to the second preset temperature. Therefore, the battery is charged according to the second charging curve, and the purpose of reducing the charging power when the temperature of the battery reaches the temperature threshold value can be achieved, so that the reduction speed of the battery capacity is slowed down, and the service life of the battery is prolonged.
In some embodiments, if the user does not select the second charging mode, or the current battery power of the mobile phone is greater than the first preset power, the mobile phone may also obtain a corresponding charging curve according to the default charging mode, and correspondingly adjust the charging power according to the charging curve to perform charging.
The embodiment of the application also provides electronic equipment. Referring to fig. 11, the electronic device may include a charge mode setting module 301 and a charge mode judging module 302.
The charging mode setting module 301 is further configured to display an option of the second charging mode for the user when the current battery power is less than or equal to the first preset power. And transmits the result of the user's selection to the charge mode judgment module 302. For example, the relevant contents of step S202 in the foregoing embodiment are executed.
The charging mode determining module 302 is configured to control the electronic device to perform charging in the second charging mode in response to a selection operation of a user. And in the charging process, when the current battery temperature is greater than or equal to a second preset temperature, controlling the maximum charging power corresponding to the second charging mode to be reduced, and continuing to charge by using the reduced charging power until the charging of the electronic equipment is completed. For example, the relevant contents of step S203 in the foregoing embodiment are executed.
In some embodiments, referring to fig. 12, the electronic device may further include a charging profile management module 303. The charging curve management module 303 is configured to store a first charging curve, a second charging curve, a third charging curve, and the like.
The charging curve management module 303 is further configured to receive a result of selecting the charging mode by the user sent by the charging mode determining module 302, obtain a corresponding charging curve according to the selection result, and charge the electronic device according to the charging curve. For example, when the user selects the second charging mode, the charging curve management module 303 obtains a corresponding second charging curve, and charges the electronic device according to the second charging curve.
In some embodiments, as shown in fig. 13, the charge management module 140 in the electronic device may store a plurality of charging modes, such as a first charging mode, a second charging mode, a third charging mode, and so on. When the electronic device is connected to the charger, the charge management module 140 may provide these charging modes to the user.
It will be appreciated that in order to achieve the above-described functionality, the electronic device comprises corresponding hardware and/or software modules that perform the respective functionality. The steps of an algorithm for each example described in connection with the embodiments disclosed herein may be embodied in hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation is not to be considered as outside the scope of this application.
The present embodiment may divide the functional modules of the electronic device according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
Embodiments of the present application also provide an electronic device, as shown in fig. 14, which may include one or more processors 1001, memory 1002, and a communication interface 1003.
Wherein a memory 1002, a communication interface 1003, and a processor 1001 are coupled. For example, the memory 1002, the communication interface 1003, and the processor 1001 may be coupled together by a bus 1004.
Wherein the communication interface 1003 is used for data transmission with other devices. The memory 1002 has stored therein computer program code. The computer program code comprises computer instructions which, when executed by the processor 1001, cause the electronic device to perform the charging method in the embodiments of the present application.
The processor 1001 may be a processor or a controller, for example, a central processing unit (Central Processing Unit, CPU), a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an Application-specific integrated circuit (ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. The processor may also be a combination that performs the function of a computation, e.g., a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
The bus 1004 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The bus 1004 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 14, but not only one bus or one type of bus.
The present application also provides a computer readable storage medium having stored therein computer program code which, when executed by the above processor, causes an electronic device to perform the relevant method steps of the method embodiments described above.
The present application also provides a computer program product which, when run on a computer, causes the computer to perform the relevant method steps of the method embodiments described above.
The electronic device, the computer storage medium or the computer program product provided in the present application are configured to perform the corresponding methods provided above, and therefore, the advantages achieved by the electronic device, the computer storage medium or the computer program product may refer to the advantages of the corresponding methods provided above, which are not described herein.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or contributing part or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, where the software product includes several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (15)

1. The charging method is characterized by being applied to electronic equipment, wherein a first charging mode and a second charging mode are preset in the electronic equipment; the first preset temperature corresponding to the first charging mode is smaller than the second preset temperature corresponding to the second charging mode; the first preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the first charging mode, and the second preset temperature is used for limiting the maintenance time of the maximum charging power corresponding to the second charging mode;
the method comprises the following steps:
acquiring the current battery power of the electronic equipment;
and under the condition that the current battery capacity of the electronic equipment is smaller than or equal to the first preset electric capacity, charging in the second charging mode.
2. The method of claim 1, wherein the charging in the second charging mode when the current battery level of the electronic device is less than or equal to a first preset level comprises:
Displaying a mode selection interface to a user when the current battery capacity of the electronic equipment is smaller than or equal to a first preset electric capacity, wherein the mode selection interface is used for displaying prompt information for controlling the electronic equipment to be charged in the second charging mode, and the prompt information is used for prompting the user to charge in the second charging mode;
and in response to the operation of selecting the second charging mode by the user, charging is performed in the second charging mode.
3. The method of claim 2, wherein the mode selection interface is further configured to display a control area corresponding to the prompt message, the prompt message being configured to prompt the user to press the control area for a long time to control the electronic device to charge in the second charging mode; the responding to the operation of the user selecting the second charging mode, charging by adopting the second charging mode comprises the following steps:
and responding to the operation of the user for pressing the control area for a long time, and adopting the second charging mode to charge.
4. A method according to any one of claims 1-3, wherein the method further comprises:
Acquiring the battery temperature of the electronic equipment in the process of charging in the second charging mode;
and under the condition that the battery temperature is greater than or equal to the second preset temperature, reducing the maximum charging power currently used for charging, and charging by using the reduced charging power.
5. The method according to any one of claims 1-4, further comprising:
acquiring a preset corresponding relation corresponding to the second charging mode under the condition that the current battery electric quantity of the electronic equipment is smaller than or equal to a first preset electric quantity; the preset corresponding relation corresponding to the second charging mode represents the corresponding relation of the battery electric quantity, the battery temperature and the charging power of the electronic equipment in the charging process;
and charging by adopting the second charging mode according to a preset corresponding relation corresponding to the second charging mode.
6. The method of any of claims 1-5, wherein the maximum charging power corresponding to the second charging mode is the same as the maximum charging power corresponding to the first charging mode.
7. The method of claim 6, wherein the method further comprises:
When the electronic equipment is connected with a standard charger and the current battery capacity of the electronic equipment is smaller than or equal to a first preset electric capacity, charging in the second charging mode; the standard charger represents a charger that provides a charging power that matches a maximum charging power corresponding to the second charging mode.
8. The method according to any one of claims 1-7, wherein a third charging mode is further preset in the electronic device, and a maximum charging power corresponding to the third charging mode is smaller than a maximum charging power corresponding to the first charging mode.
9. The method of claim 8, wherein the method further comprises:
and under the condition that the current battery capacity of the electronic equipment is larger than the first preset electric capacity, responding to the indication operation of a user, and adopting the first charging mode or the third charging mode to charge.
10. The method of claim 8, wherein the method further comprises:
and in the process of charging by adopting the second charging mode, under the condition that the battery electric quantity of the electronic equipment is larger than or equal to a second preset electric quantity, automatically switching the second charging mode into the first charging mode or the third charging mode, and charging by adopting the first charging mode or the third charging mode.
11. The method of claim 8, wherein the method further comprises:
in the process of charging in the second charging mode, responding to a charging mode switching operation of a user, switching the second charging mode into the first charging mode or the third charging mode, and charging in the first charging mode or the third charging mode.
12. The method of claim 8, wherein the method further comprises:
and in the case that the electronic equipment is not connected with a standard charger, charging is carried out in the third charging mode.
13. An electronic device, comprising: a memory, one or more processors; the memory is coupled with the processor; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the charging method of any of claims 1-12.
14. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the charging method of any one of claims 1-12.
15. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to carry out the charging method according to any one of claims 1-12.
CN202210653678.4A 2022-06-09 2022-06-09 Charging method and electronic equipment Pending CN117254539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210653678.4A CN117254539A (en) 2022-06-09 2022-06-09 Charging method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210653678.4A CN117254539A (en) 2022-06-09 2022-06-09 Charging method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117254539A true CN117254539A (en) 2023-12-19

Family

ID=89131881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210653678.4A Pending CN117254539A (en) 2022-06-09 2022-06-09 Charging method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117254539A (en)

Similar Documents

Publication Publication Date Title
CN112789651B (en) Frequency adjustment method and device applied to terminal and electronic equipment
US11683850B2 (en) Bluetooth reconnection method and related apparatus
WO2020062159A1 (en) Wireless charging method and electronic device
US20220159453A1 (en) Method for Using Remote SIM Module and Electronic Device
US20220353819A1 (en) Method for Reducing Power Consumption of Mobile Terminal and Mobile Terminal
US20220248160A1 (en) Sound processing method and apparatus
JP7234379B2 (en) Methods and associated devices for accessing networks by smart home devices
CN114727101B (en) Antenna power adjusting method and electronic equipment
CN116231815B (en) Method for controlling charging and electronic equipment
CN113391743A (en) Display method and electronic equipment
CN115119048B (en) Video stream processing method and electronic equipment
CN116679900B (en) Audio service processing method, firmware loading method and related devices
CN116048217B (en) Electronic equipment operation method and device and electronic equipment
CN117254539A (en) Charging method and electronic equipment
CN115167802A (en) Audio switching playing method and electronic equipment
CN115633394B (en) Power control method and related equipment
WO2024032430A1 (en) Memory management method and electronic device
EP4113276A1 (en) Sound playback method and device
CN117667506A (en) Drawing library cloning method, system and electronic equipment
CN118158313A (en) Method, electronic device and system for displaying electric quantity
CN116780683A (en) Power supply control method and electronic equipment
CN116795197A (en) Layer processing method and electronic equipment
CN117631935A (en) Parameter synchronization method and electronic equipment
CN117492879A (en) Application program management method and electronic equipment
CN116954770A (en) Display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination