Reverse charging method, reverse charging device, electronic equipment and storage medium
By determining the current charging mode and switching the charging power when the electronic device is reverse-charged, the problem of low charging efficiency in the prior art is solved, and a highly efficient reverse charging effect is achieved, adapting to the device status and user needs.
Patent Information
- Application Number
- CN202410652969.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2025-11-25
AI Technical Summary
In the prior art, electronic devices use a lower constant power charging when reverse charging due to consideration of the device status, resulting in low charging efficiency and inability to quickly reach the power required by the user.
When an electronic device is reverse-charged, its current charging mode is determined, and different reverse charging power is used according to different charging modes, including a first charging mode and a second charging mode. The charging mode is switched to adapt to the device status and user needs, and unnecessary load functions are turned off to improve charging efficiency.
It achieves improved charging efficiency during reverse charging, adapts the charging process to the device status and user needs, and ensures that electronic devices are charged at the optimal rate under normal conditions.
Smart Images

Figure CN121012147A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of charging, and more particularly to reverse charging methods, reverse charging devices, electronic devices, and storage media. Background Technology
[0002] The use of electronic devices such as mobile phones, wearable devices, and laptops is growing exponentially, becoming indispensable in users' lives, entertainment, and work. Consequently, these devices need to remain in standby mode for extended periods. However, in situations where no power source is nearby and no backup power is available, the battery capacity of these devices becomes insufficient.
[0003] Given that users currently have the habit of carrying multiple electronic devices (such as a primary device and a backup device), related technologies have incorporated reverse charging functionality for electronic devices, enabling users to charge another electronic device (such as a primary device) using an electronic device with reverse charging capability (such as a backup device). Summary of the Invention
[0004] To overcome the problems existing in related technologies, this disclosure provides a reverse charging method, a reverse charging device, an electronic device, and a storage medium.
[0005] According to a first aspect of the present disclosure, a reverse charging method is provided, comprising: determining a current charging mode in response to an electronic device performing reverse charging; and performing reverse charging according to a reverse charging power corresponding to the current charging mode; wherein the charging mode of the electronic device includes a first charging mode and a second charging mode, and the reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode.
[0006] In one embodiment, the step of performing reverse charging according to the reverse charging power corresponding to the current charging mode includes: in response to the current charging mode being a first charging mode, setting the load mode of the electronic device to a preset load mode, and adjusting the reverse charging power of the electronic device to a first charging power, wherein the first charging mode is a charging mode that uses the first charging power for reverse charging, the difference between the first charging power and the maximum reverse charging power supported by the electronic device is less than a threshold, and the preset load mode is a load mode that disables the preset load function; and performing reverse charging according to the first charging power.
[0007] In one embodiment, during the process of setting the load mode of the electronic device to a preset load mode, the method further includes: performing reverse charging using a second charging power, wherein the second charging power is less than the first charging power.
[0008] In one embodiment, the method further includes: in response to determining that the electronic device exits the first charging mode, setting the current charging mode of the electronic device to a second charging mode, the second charging mode being a charging mode for reverse charging using a third charging power, the third charging power being less than or equal to the first charging power; and performing reverse charging according to the third charging power.
[0009] In one embodiment, determining that the electronic device exits the first charging mode includes: determining that the electronic device exits the first charging mode in response to determining that the electronic device exits the preset load mode and / or that the current battery level of the electronic device is less than a preset battery level threshold.
[0010] In one embodiment, determining that the electronic device exits the preset load mode includes: determining that the electronic device exits the preset load mode in response to the battery temperature of the electronic device being higher than a temperature threshold and / or the electronic device enabling the preset load function.
[0011] In one embodiment, the step of reverse charging according to the reverse charging power corresponding to the current charging mode includes: in response to the current charging mode being a second charging mode, determining the current battery level corresponding to the current battery level of the electronic device, and determining the current load level of the electronic device, wherein the electronic device includes multiple battery levels and multiple load levels, the multiple battery levels of the electronic device correspond to different battery ranges, and the load level of the electronic device is determined based on the battery temperature and enabled load functions of the electronic device; determining the current charging power corresponding to the current battery level and the current load level according to the correspondence between the battery level, the load level and the charging power, and determining the current charging power as a third charging power; and performing reverse charging according to the third charging power.
[0012] In one embodiment, when the load level of the electronic device is a fixed load level, the reverse charging power of the electronic device is positively correlated with the power level; when the power level of the electronic device is a fixed power level, the reverse charging power of the electronic device is negatively correlated with the load level; the reverse charging power corresponding to the lowest load level and the highest power level of the electronic device is less than or equal to a first charging power, and the highest load level and the lowest power level of the electronic device correspond to stopping reverse charging or corresponding to the lowest reverse charging power supported by the electronic device.
[0013] In one embodiment, determining the current charging mode includes: in response to the electronic device having a default reverse charging mode, determining the default reverse charging mode as the current charging mode; or, in response to the electronic device not having a default reverse charging mode, displaying a charging mode selection interface, displaying function options for the user to select a charging mode on the charging mode selection interface, and determining the current charging mode based on the function options selected by the user.
[0014] According to a second aspect of the present disclosure, a reverse charging device is provided, comprising: a determining unit, configured to determine a current charging mode in response to an electronic device performing reverse charging; and a processing unit, configured to perform reverse charging according to a reverse charging power corresponding to the current charging mode; wherein the charging mode of the electronic device includes a first charging mode and a second charging mode, and the reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode.
[0015] In one embodiment, the processing unit performs reverse charging according to the reverse charging power corresponding to the current charging mode in the following manner: in response to the current charging mode being a first charging mode, the load mode of the electronic device is set to a preset load mode, and the reverse charging power of the electronic device is adjusted to the first charging power. The first charging mode is a charging mode that uses the first charging power for reverse charging, and the difference between the first charging power and the maximum reverse charging power supported by the electronic device is less than a threshold. The preset load mode is a load mode in which the preset load function is turned off. Reverse charging is performed according to the first charging power.
[0016] In one embodiment, during the process of setting the load mode of the electronic device to a preset load mode, the processing unit is further configured to: perform reverse charging using a second charging power, wherein the second charging power is less than the first charging power.
[0017] In one embodiment, the processing unit is further configured to: in response to determining that the electronic device exits the first charging mode, set the current charging mode of the electronic device to a second charging mode, the second charging mode being a charging mode for reverse charging using a third charging power, the third charging power being less than or equal to the first charging power; and perform reverse charging according to the third charging power.
[0018] In one embodiment, the processing unit determines that the electronic device exits the first charging mode in the following manner: in response to determining that the electronic device exits the preset load mode and / or that the current battery level of the electronic device is less than a preset battery level threshold, the processing unit determines that the electronic device exits the first charging mode.
[0019] In one embodiment, the processing unit determines that the electronic device exits the preset load mode in the following manner: in response to the battery temperature of the electronic device being higher than a temperature threshold and / or the electronic device enabling the preset load function, the processing unit determines that the electronic device exits the preset load mode.
[0020] In one embodiment, the processing unit performs reverse charging according to the reverse charging power corresponding to the current charging mode in the following manner: In response to the current charging mode being a second charging mode, it determines the current battery level corresponding to the current battery level of the electronic device and determines the current load level of the electronic device. The electronic device includes multiple battery levels and multiple load levels, each battery level corresponding to a different battery range. The load level of the electronic device is determined based on the battery temperature and enabled load functions of the electronic device. Based on the correspondence between battery level, load level, and charging power, it determines the current charging power corresponding to the current battery level and the current load level, and designates the current charging power as a third charging power. Reverse charging is then performed based on the third charging power.
[0021] In one embodiment, when the load level of the electronic device is a fixed load level, the reverse charging power of the electronic device is positively correlated with the power level; when the power level of the electronic device is a fixed power level, the reverse charging power of the electronic device is negatively correlated with the load level; the reverse charging power corresponding to the lowest load level and the highest power level of the electronic device is less than or equal to a first charging power, and the highest load level and the lowest power level of the electronic device correspond to stopping reverse charging or corresponding to the lowest reverse charging power supported by the electronic device.
[0022] In one embodiment, the determining unit determines the current charging mode in the following manner: in response to the electronic device having a default reverse charging mode, the default reverse charging mode is determined as the current charging mode; or, in response to the electronic device not having a default reverse charging mode, a charging mode selection interface is displayed, and function options for the user to select a charging mode are displayed on the charging mode selection interface, and the current charging mode is determined based on the function options selected by the user.
[0023] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: execute the reverse charging method described in the first aspect or any embodiment of the first aspect.
[0024] According to a fourth aspect of the present disclosure, a storage medium is provided, the storage medium storing instructions that, when executed by a processor, enable the processor to perform the reverse charging method described in the first aspect or any embodiment of the first aspect.
[0025] The technical solutions provided by the embodiments of this disclosure can include the following beneficial effects: when an electronic device is reverse-charging, the current charging mode of the electronic device is determined. The electronic device then performs reverse charging according to the reverse charging power corresponding to the current charging mode. The electronic device has a first charging mode and a second charging mode, and the reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode. Through this disclosure, when an electronic device is reverse-charging, different charging modes (i.e., the first charging mode and the second charging mode) can be used to perform reverse charging with different reverse charging powers. This allows the electronic device to change the charging power by switching charging modes during the reverse charging process, ensuring charging efficiency while making the charging process conform to user needs and the device state.
[0026] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0027] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0028] Figure 1 This is a flowchart illustrating a reverse charging method according to an exemplary embodiment.
[0029] Figure 2 This is a flowchart illustrating a method for reverse charging based on the reverse charging power corresponding to the current charging mode, according to an exemplary embodiment.
[0030] Figure 3 This is a flowchart illustrating a reverse charging method according to an exemplary embodiment.
[0031] Figure 4 This is a flowchart illustrating a method for determining whether an electronic device should exit a first charging mode, according to an exemplary embodiment.
[0032] Figure 5 This is a flowchart illustrating a method for determining when an electronic device exits a preset load mode, according to an exemplary embodiment.
[0033] Figure 6This is a flowchart illustrating a method for reverse charging based on the reverse charging power corresponding to the current charging mode, according to an exemplary embodiment.
[0034] Figure 7 This is a flowchart illustrating a reverse charging method according to an exemplary embodiment of the present disclosure.
[0035] Figure 8 This is a flowchart illustrating a method for reverse charging based on the reverse charging power corresponding to the current charging mode, according to an exemplary embodiment.
[0036] Figure 9A This is a schematic diagram of a charging mode selection interface according to an exemplary embodiment of the present disclosure.
[0037] Figure 9B This is a schematic diagram of a charging mode selection interface according to an exemplary embodiment of the present disclosure.
[0038] Figure 10 This is a flowchart illustrating a charging method according to an exemplary embodiment of the present disclosure.
[0039] Figure 11 This is a flowchart illustrating a charging method according to an exemplary embodiment of the present disclosure.
[0040] Figure 12 This is a block diagram illustrating a reverse charging device according to an exemplary embodiment.
[0041] Figure 13 This is a block diagram illustrating a device for reverse charging according to an exemplary embodiment. Detailed Implementation
[0042] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure.
[0043] The reverse charging method provided in this disclosure is applied to scenarios where an electronic device with reverse charging capability is used to reverse charge an electronic device to be charged.
[0044] Currently, the use of electronic devices such as mobile phones, wearable devices, and laptops is growing exponentially, occupying an indispensable position in users' lives, entertainment, and work. Based on the long-term use needs of electronic devices, users require them to have sufficient battery power to maintain standby mode for extended periods. Ensuring sufficient battery power is predicated on the ability to charge electronic devices at any time. However, when users are out and about, if there is no power source nearby and they do not carry a backup power source, they cannot charge their electronic devices in a timely manner, and the battery capacity becomes insufficient.
[0045] Given that users typically carry multiple electronic devices (such as a primary phone and a backup phone), related technologies incorporate reverse charging functionality for these devices. Electronic devices with reverse charging capabilities can power other electronic devices. Based on this reverse charging function, users can use less frequently used devices to reverse charge other electronic devices with longer usage needs, ensuring that the devices with longer usage needs can remain in standby mode for extended periods. In one example, a user can use a backup phone with reverse charging capabilities to charge their primary phone.
[0046] However, considering the normal usage requirements of electronic devices (such as power consumption and temperature rise during use), related technologies employ a relatively conservative reverse charging strategy when using electronic devices for reverse charging. That is, these technologies do not consider the load state of the electronic device itself, using a fixed minimum charging power or other low, constant power for reverse charging to prevent the electronic device, as the power supply, from being used during charging and causing excessive power consumption or temperature. In summary, the conservative charging strategy using low charging power in these technologies results in low charging efficiency, failing to quickly bring the device to the user's required level of power.
[0047] In view of this, this disclosure proposes a reverse charging method, which determines the current charging mode of the electronic device when it is reverse charging. The electronic device then performs reverse charging according to the reverse charging power corresponding to the current charging mode. The electronic device has a first charging mode and a second charging mode, and the reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode. Through this disclosure, when the electronic device is reverse charging, different charging modes (i.e., the first charging mode and the second charging mode) can be used to perform reverse charging with different reverse charging powers. This allows the electronic device to change the charging power by switching charging modes during the reverse charging process, ensuring charging efficiency while making the charging process conform to user needs and the device's state.
[0048] Figure 1This is a flowchart illustrating a reverse charging method according to an exemplary embodiment. Figure 1 As shown, the method includes steps S101 to S102.
[0049] In step S101, in response to the electronic device performing reverse charging, the current charging mode is determined.
[0050] In step S102, reverse charging is performed according to the reverse charging power corresponding to the current charging mode. The charging modes of the electronic device include a first charging mode and a second charging mode. The reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode.
[0051] In this embodiment of the disclosure, the electronic device has multiple charging modes, including a first charging mode and a second charging mode, and the first charging mode and the second charging mode correspond to different reverse charging powers. By selecting the desired charging mode when the electronic device determines that reverse charging needs to be performed, the charging rate of the electronic device can meet the user's needs, and reverse charging can be performed with the charging power required by the user. By switching the charging mode during the reverse charging process of the electronic device, the charging power of the electronic device can meet the user's dynamic needs and the dynamically changing device state of the electronic device.
[0052] It is understood that the different charging modes in this disclosure can correspond to different reverse charging control logics, rather than simply adjusting the charging level when reverse charging is required. Furthermore, it is understood that, based on the different reverse charging modes of the electronic device, the user can select the desired charging mode when establishing an electrical connection between the electronic device and the device to be charged, ensuring that the electronic device charges at the optimal charging power and guarantees charging efficiency. It is further understood that during the reverse charging process, the electronic device's own state (such as load, remaining power, etc.) will change as charging progresses, and the user's usage of the electronic device (such as not using the electronic device and putting it into standby mode, or opening application functions, etc.) will also change. In this case, a single charging control logic (i.e., using a fixed charging mode) cannot adapt to the dynamically changing usage and state of the electronic device. Through the multiple charging modes (first charging mode) involved in this disclosure, mode switching can be achieved during charging, thereby adapting the reverse charging process to the usage and state of the electronic device, ensuring that the electronic device maintains its normal state while performing reverse charging at the optimal charging rate.
[0053] In the embodiments of this disclosure, the first charging mode and the second charging mode correspond to different charging control logics. The following embodiments of this disclosure describe a method for adjusting the charging power of reverse charging according to the first charging mode.
[0054] Figure 2 This is a flowchart illustrating a method for reverse charging based on the reverse charging power corresponding to the current charging mode, according to an exemplary embodiment. Figure 2 As shown, the method includes steps S201 and S202.
[0055] In step S201, in response to the current charging mode being the first charging mode, the load mode of the electronic device is set to the preset load mode, and the reverse charging power of the electronic device is adjusted to the first charging power.
[0056] The first charging mode is a charging mode that uses the first charging power for reverse charging. The difference between the first charging power and the maximum reverse charging power supported by the electronic device is less than a threshold. The preset load mode is a load mode that disables the preset load function.
[0057] In step S202, reverse charging is performed according to the first charging power.
[0058] In this embodiment, the first charging mode is a high-efficiency reverse charging mode. In the first charging mode, the electronic device charges in reverse with a first charging power wave. The first charging power is close to or equal to the maximum charging power it supports (i.e., the difference between the first charging power and the maximum reverse charging power supported by the electronic device is less than a threshold). When the current charging mode is the first charging mode, the electronic device shuts down preset load functions (such as various third-party applications and system applications, Wi-Fi function, location function, etc.), that is, it shuts down all load functions except for the reverse charging function and basic load functions (such as load functions that keep the device in normal standby and communication functions), enters the preset load mode, and after entering the preset load mode, the charging power of the electronic device is set to the first charging power corresponding to the highest reverse charging power supported by the electronic device, and reverse charging is performed with the first charging power. In summary, in the first charging mode, the electronic device is not considered to be used normally, but only its reverse charging function is used while its basic functions are being performed, that is, the electronic device is used as a "portable power bank".
[0059] In this embodiment of the disclosure, the "preset load functions" that need to be turned off in the first charging mode include various load functions, but do not include basic functions that maintain the normal standby mode of the electronic device. In one example, this disclosure turns off functions such as Wi-Fi, mobile data, location services, and Bluetooth, closes various applications, and enters a screen-off state, thereby enabling the electronic device to enter a low-load mode.
[0060] It is understandable that users, when urgently needing to restore the battery of a device, would have high requirements for the charging power when the electronic device performs reverse charging. The first charging mode in this disclosure allows the electronic device to reverse charge the device at a power close to or equal to its maximum charging power. Furthermore, it is understood that power consumption from screen illumination and application operation affects the charging power during reverse charging. Therefore, when the electronic device performs reverse charging in the first charging mode, unnecessary load functions are disabled to maintain the highest charging power for reverse charging.
[0061] It is understood that users can set the reverse charging mode again based on their own needs while the electronic device is performing reverse charging in a certain reverse charging mode. For example, while the electronic device is performing reverse charging in a second charging mode, the user can set the reverse charging mode back to the first charging mode. The following embodiments further illustrate the reverse charging method of this disclosure.
[0062] In one embodiment of this disclosure, during the process of setting the load mode of an electronic device to a preset load mode, the method further includes: using a second charging power for reverse charging, wherein the second charging power is less than the first charging power.
[0063] Understandably, when an electronic device determines that the current charging mode is the first charging mode, it needs to disable various preset load functions to enter the preset load mode, which requires a certain delay. To improve the overall charging speed of reverse charging and prevent device overheating caused by inconsistency between the charging efficiency and the device state, this disclosure charges the device to be charged at a second charging power close to the lowest supported reverse charging power during the time period between determining that the current charging mode is the first charging mode and entering the zero-load mode.
[0064] It is understood that the first charging mode in this disclosure requires the electronic device to reverse charge at a first charging power close to or equal to the maximum charging power, which places certain requirements on the device state of the electronic device. When the device state of the electronic device changes, it may cause the electronic device to exit the first charging mode. The following embodiments of this disclosure further illustrate the reverse charging method of this disclosure.
[0065] Figure 3 This is a flowchart illustrating a reverse charging method according to an exemplary embodiment. Figure 3 As shown, the method includes steps S301 to S302.
[0066] In step S301, in response to determining that the electronic device exits the first charging mode, the current charging mode of the electronic device is set to the second charging mode, which is a charging mode that uses a third charging power for reverse charging, and the third charging power is less than or equal to the first charging power.
[0067] In step S302, reverse charging is performed according to the third charging power.
[0068] In this embodiment, the first charging mode is a relatively extreme charging mode that requires disabling unnecessary load functions and using a reverse charging power (i.e., the first charging power) close to or equal to the maximum charging rate of the electronic device. Enabling the first charging mode places relatively strict requirements on the load state and remaining battery power of the electronic device. User usage and a decrease in the device's battery power can both cause the device to exit the first charging mode. Therefore, in the event that the electronic device exits the first charging mode, this disclosure activates a second charging mode, using the reverse charging power (the third charging power) corresponding to the second charging mode for reverse charging.
[0069] This disclosure enables mode switching during charging, thereby adapting the reverse charging process to the usage and status of the electronic device, ensuring that the electronic device maintains its normal state while performing reverse charging at the optimal charging rate.
[0070] In this embodiment of the disclosure, when the electronic device is reverse-charged, changes in the load state of the electronic device and a decrease in the remaining power will cause the electronic device to exit the first charging mode. The following embodiments of this disclosure describe the method for determining when the electronic device exits the first charging mode.
[0071] Figure 4 This is a flowchart illustrating a method for determining whether an electronic device should exit a first charging mode, according to an exemplary embodiment. Figure 4 As shown, the method includes steps S401 to S402.
[0072] In step S401, in response to determining that the electronic device exits the preset load mode and / or the current battery level of the electronic device is less than a preset battery level threshold.
[0073] In step S402, it is determined that the electronic device exits the first charging mode.
[0074] In this embodiment of the disclosure, when the electronic device is reverse charging in the first charging mode, it is determined in real time whether to exit the preset load mode and the battery level of the electronic device is determined in real time. When the electronic device exits the preset load mode and / or the current battery level of the electronic device corresponds to the lowest battery level, it indicates that the electronic device cannot perform reverse charging with the highest charging power, and therefore exits the first charging mode.
[0075] Understandably, when users have temporary needs for using electronic devices, they will activate the device's load function. In this case, the electronic device is considered to have exited the preset load mode. After exiting the preset load mode, the electronic device's load level increases, and it can no longer continue to reverse charge at the highest charging power. Therefore, after exiting the preset load mode, the electronic device also simultaneously exits the first charging mode. Furthermore, it can be understood that the charging efficiency of the electronic device during reverse charging is affected by the remaining battery power. When the remaining battery power is below a certain value, the electronic device cannot continue to reverse charge at the highest charging power. Therefore, when the remaining battery power is below a certain value, the electronic device also simultaneously exits the first charging mode. In this situation, the electronic device starts the second charging mode, using the corresponding reverse charging power (third charging power) for reverse charging.
[0076] It is understandable that during reverse charging of an electronic device, if the user has temporary usage needs, the user will activate part of the electronic device's load function, causing the electronic device's load to increase. In this case, the electronic device is considered to have exited the zero-load mode. Furthermore, it is understood that when the electronic device is charging in reverse at its maximum charging power, the battery temperature of the electronic device will gradually rise. Since the battery temperature is also a factor determining the load state of the electronic device, when the battery temperature exceeds a certain value, the electronic device is considered to have exited the zero-load mode. The following embodiments of this disclosure describe a method for determining when an electronic device exits a preset load mode.
[0077] Figure 5 This is a flowchart illustrating a method for determining whether an electronic device should exit a preset load mode, according to an exemplary embodiment. Figure 5 As shown, the method includes steps S501 to S502.
[0078] In step S501, in response to the battery temperature of the electronic device being higher than a temperature threshold and / or the electronic device activating a preset load function.
[0079] In step S502, it is determined that the electronic device exits the preset load mode.
[0080] In this embodiment, during reverse charging of the electronic device in the first charging mode, the battery temperature of the electronic device is monitored in real time, and it is also monitored whether the electronic device enables a new load function. If the battery temperature of the electronic device is lower than or equal to a temperature threshold, and the electronic device does not enable a new load function, it is considered that the electronic device is still maintaining the preset load mode and continues to reverse charge at the highest charging power. If the battery temperature of the electronic device is higher than the temperature threshold and / or the electronic device enables a new load function, it is considered that the electronic device has exited the preset load mode, and then exits the first charging mode and enters the second charging mode. In the second charging mode, the load level and power level of the electronic device are determined in real time, and the charging level is determined according to the load level, power level and preset correspondence of the electronic device, and reverse charging is performed according to the charging efficiency corresponding to the determined charging level.
[0081] It is understandable that during reverse charging of an electronic device, if the user has temporary usage needs, they may activate some of the device's load functions, causing the device's load to increase. In this case, the electronic device is considered to have exited the preset load mode. Furthermore, it is understandable that when an electronic device performs reverse charging at its maximum charging power, the battery temperature gradually rises. Since battery temperature is a factor determining the device's load state, when the battery temperature exceeds a certain value, the electronic device is considered to have exited the preset load mode.
[0082] In this embodiment of the disclosure, in the second charging mode, the load level and power level of the electronic device are parameters that can be determined in real time. By using the real-time determined load level and power level, and a preset correspondence representing the relationship between load level, power level, and charging level, the current charging level can be determined in real time, and reverse charging can be performed according to the charging power corresponding to the current charging level. The following embodiments of this disclosure describe the method of reverse charging according to the second charging mode.
[0083] Figure 6 This is a flowchart illustrating a method for reverse charging based on the reverse charging power corresponding to the current charging mode, according to an exemplary embodiment. Figure 6 As shown, the method includes steps S601, S602 and S603.
[0084] In step S601, in response to the current charging mode being the second charging mode, the current power level corresponding to the current power level of the electronic device is determined, and the current load level of the electronic device is determined.
[0085] The electronic device includes multiple power levels and multiple load levels. The multiple power levels of the electronic device correspond to different power ranges, and the load level of the electronic device is determined based on the battery temperature and the enabled load functions.
[0086] In step S602, based on the correspondence between the power level, load level and charging power, the current charging power corresponding to the current power level and the current load level is determined, and the current charging power is determined as the third charging power.
[0087] In step S603, reverse charging is performed according to the third charging power.
[0088] In this embodiment, when the current charging mode is the second charging mode, reverse charging control logic that dynamically adjusts the charging power according to the device status is used to perform directional charging. That is, the third charging power used in the second charging mode is a dynamically changing charging power. In the second charging mode, the current battery level and current load level of the electronic device are determined in real time. Based on the current load level, current battery level, and a preset correspondence (defining the correspondence between the load level, battery level, and charging level of the electronic device), the current charging level corresponding to the current load level and current battery level is determined, and the charging power corresponding to the current charging level is set as the charging power of the electronic device (i.e., the third charging power). Reverse charging is then performed according to the set charging power.
[0089] It is understandable that there is a time delay between determining the current battery level and load level of the electronic device and setting the charging power according to the determined current load level. This disclosure enables the electronic device to reverse charge at the lowest charging power supported by the electronic device within the aforementioned time delay, avoiding the use of a charging power higher than the charging power corresponding to the current load level and current battery level, thereby preventing the temperature of the electronic device from rising and ensuring the stability of the electronic device during the reverse charging function.
[0090] In an exemplary embodiment of this disclosure, such as Figure 7As shown in the flowchart of the reverse charging method, this disclosure adopts the following approach for reverse charging based on the second charging mode: Upon detecting insertion and confirming the current charging mode is the second charging mode, reverse charging begins. The minimum power is broadcast, meaning reverse charging is performed using the minimum charging power supported by the electronic device. The current battery level and user usage scenario are determined, i.e., the current battery level and current load level are identified. The maximum power at that level is broadcast, i.e., the charging level corresponding to the current battery level and current load level is determined according to a preset relationship, and reverse charging is performed using the charging power corresponding to the determined charging level. Whether other battery levels and user usage scenarios are triggered, i.e., whether the current battery level and current load level have changed. If no change has occurred, the charging power corresponding to the previously determined charging level is maintained. If a change has occurred and another reverse charging level is triggered, the changed charging level power is broadcast, i.e., reverse charging is performed using the charging power corresponding to the changed charging level. If a change has occurred and another uncharged charging level is triggered, reverse charging is stopped.
[0091] In an exemplary embodiment of this disclosure, battery capacity is categorized into high, medium, and low. Usage scenarios (i.e., load levels) are categorized into high-load scenarios (i.e., high load level), medium-load scenarios (i.e., medium load level), and low-load scenarios (i.e., low load level). Reverse charging levels are categorized into 1-5, where level 1 is the highest charging level and level 5 is the lowest charging level. Under the above conditions, the preset correspondence between the load level, capacity level, and charging level of the electronic device is shown in the following table:
[0092]
[0093] In this embodiment of the disclosure, in the second charging mode, the charging efficiency during reverse charging is set according to a preset correspondence, the electronic device's battery level, and the electronic device's load level. The electronic device's battery level reflects its electrical capacity, and the electronic device's load level reflects its load state (or load scenario). In other words, the preset correspondence characterizes the relationship between battery capacity, load state, and charging efficiency during reverse charging. The following embodiments further illustrate the reverse charging method of this disclosure.
[0094] In one embodiment of this disclosure, when the load level of the electronic device is a fixed load level, the reverse charging power of the electronic device is positively correlated with the power level, and when the power level of the electronic device is a fixed power level, the reverse charging power of the electronic device is negatively correlated with the load level; the reverse charging power corresponding to the lowest load level and the highest power level of the electronic device is less than or equal to the first charging power, and the highest load level and the lowest power level of the electronic device correspond to stopping reverse charging or the lowest reverse charging power supported by the electronic device.
[0095] In this embodiment, multiple load levels (such as high load level, medium load level, and low load level) are defined based on the enabled load function and battery temperature of the electronic device. Different load levels correspond to different load functions and battery temperatures. This disclosure also defines power levels (such as high power level, medium power level, and low power level) by setting different power thresholds, each power level corresponding to a different power range (e.g., high power level corresponds to 66%-100% power percentage, medium power level corresponds to 33%-66% power percentage, and low power level corresponds to 0%-33% power percentage). This disclosure provides multiple incremental charging levels, each corresponding to a different charging power. The highest charging level corresponds to a charging power less than or equal to the highest charging power supported by the electronic device, while the lowest charging level corresponds to the lowest charging power supported by the electronic device or corresponds to stopping reverse charging. The preset correspondence in this disclosure is the correspondence between the electronic device's load level, power level, and charging level.
[0096] It is understood that users can set a default reverse charging mode for electronic devices. If the electronic device has a preset default reverse charging mode, then when reverse charging is needed, the default reverse charging mode will be used as the current charging mode and reverse charging will be performed. However, if the electronic device does not have a preset default reverse charging mode, then when reverse charging is needed, the user selects the current charging mode from a first charging mode and a second charging mode, and reverse charging will be performed according to the user-selected current charging mode. The following embodiments of this disclosure describe the method for determining the current charging mode.
[0097] Figure 8 This is a flowchart illustrating a method for reverse charging based on the reverse charging power corresponding to the current charging mode, according to an exemplary embodiment. Figure 8 As shown, the method includes steps S701, S702A, and S702B.
[0098] In step S701, it is determined that the electronic device is performing reverse charging.
[0099] In step S702A, in response to the electronic device having a default reverse charging mode, the default reverse charging mode is determined as the current charging mode.
[0100] In step S702B, in response to the electronic device not having a default reverse charging mode set, a charging mode selection interface is displayed, and function options for the user to select a charging mode are displayed on the charging mode selection interface. Based on the function options selected by the user, the current charging mode is determined.
[0101] This disclosure includes an exemplary embodiment, such as Figure 9AAs shown in the schematic diagram of the charging mode selection interface, the electronic device displays a variety of charging modes that the user can select. These include options such as enabling extreme reverse charging mode (i.e., using the first charging mode as the current charging mode) or enabling dynamic adjustment reverse charging mode (i.e., using the second charging mode as the current charging mode).
[0102] This disclosure includes an exemplary embodiment, such as Figure 9B As shown in the schematic diagram of the charging mode selection interface, the electronic device displays a single option pointing to a specific charging mode (whether to enable extreme reverse charging, corresponding to the first charging mode). If the user selects "OK," the charging mode specified by that single option (such as the first charging mode) is set as the current charging mode. If the user selects a blank area, another charging mode (such as the second charging mode) is entered.
[0103] In this embodiment of the disclosure, the user can preset the default charging mode to be used when performing reverse charging in the interface for setting the reverse charging mode (such as the corresponding interface in the system settings application). For example, if the default reverse charging mode of the electronic device is the first charging mode, then when it is determined to perform reverse charging, the first charging mode is determined as the current charging mode, and the charging power is set according to the first charging mode to perform reverse charging.
[0104] In this embodiment of the disclosure, if the electronic device has not been pre-set with a reverse charging mode, the user needs to further select the desired reverse charging mode. That is, when the electronic device establishes an electrical connection with the device to be charged and determines that reverse charging is required, the electronic device displays function options (including a first charging mode and a second charging mode) for the user to select a charging mode, and determines the current charging mode based on the function option selected by the user, and then performs reverse charging according to the reverse charging mode selected by the user.
[0105] In this embodiment, the user can pre-set the default reverse charging mode during the reverse charging process of the electronic device, or select the desired reverse charging mode on the spot if no default reverse charging mode is set. This diverse reverse charging mode setting allows users to customize the charging mode according to their own needs, ensuring charging efficiency while also meeting personalized requirements.
[0106] It is understood that the electronic device in this disclosure also supports a "normal charging mode" that performs reverse charging at a specific charging power. In an exemplary embodiment of this disclosure, as... Figure 10As shown in the flowchart of the charging method, this disclosure controls the electronic device to perform reverse charging function in the following manner: In response to the start of reverse charging, it is determined whether to enter the extreme reverse charging mode (i.e., whether the default charging mode is the first charging mode). If the extreme reverse charging mode is entered, after detecting insertion and powering on the charging line, normal power (i.e., reverse charging at a specific charging power, corresponding to the second charging power) is broadcast, and system power consumption is reduced (i.e., entering a low power mode, corresponding to the preset load mode). If the reverse charging mode is not entered, it is determined again whether to enter the extreme reverse charging mode after detecting insertion and powering on the charging line. If the reverse charging mode is not entered after the second determination, normal power is broadcast until charging ends. If the reverse charging mode is entered after the second determination, system power consumption is reduced. After reducing system power consumption, it is determined whether the mobile terminal (i.e., the electronic device) exits the extreme reverse charging mode. If the extreme reverse charging mode is not exited, the maximum power (i.e., reverse charging at the highest charging power, corresponding to the first charging power) is broadcast, and it is determined again whether the mobile terminal (i.e., the electronic device) exits the extreme reverse charging mode. The determination process is repeated until the extreme reverse charging mode is exited. If the electronic device exits the extreme reverse charging mode, normal power is broadcast until charging ends.
[0107] In an exemplary embodiment of this disclosure, such as Figure 11 As shown in the flowchart of the charging method, this disclosure controls the electronic device to perform reverse charging function in the following manner: In response to the start of reverse charging, it is determined whether to enter the extreme reverse charging mode (i.e., whether the default charging mode is the first charging mode). If the reverse charging mode is entered, after the insertion is detected and the charging line (Vbus) is powered on, reverse charging is performed using normal charging power (i.e., reverse charging with a specific charging power, i.e., reverse charging with the second charging power), and the system power consumption is reduced (i.e., entering the low power mode, entering the preset load mode). If the reverse charging mode is not entered, it is determined again whether to enter the extreme reverse charging mode after the insertion is detected and the charging line is powered on. If the reverse charging mode is not entered after the second determination, normal power is broadcast until charging ends. If the reverse charging mode is entered after the second determination, the system power consumption is reduced. After reducing the system power consumption, it is determined whether the mobile terminal (i.e., the electronic device) exits the extreme reverse charging mode. If the extreme reverse charging mode is not exited, the maximum power (i.e., reverse charging with the highest charging power) is broadcast, and it is determined again whether the mobile terminal (i.e., the electronic device) exits the extreme reverse charging mode. Repeat the judgment process until the extreme reverse charging mode is exited. If the electronic device exits the extreme reverse charging mode, a dynamic adjustment scheme (i.e., the second charging mode) is adopted to reverse charge until the charging ends.
[0108] In this embodiment, when the electronic device is reverse-charging, the current charging mode of the electronic device is determined. If the current charging mode is a first charging mode, the electronic device is controlled to enter a preset load mode and reverse-charged with a first charging power close to or equal to the maximum charging power. If the current charging mode is a second charging mode, the battery level and load level of the electronic device are determined, and the charging power of the electronic device is adjusted according to the battery level, load level, and preset correspondence, and reverse-charging is performed according to the adjusted power. During reverse charging using the first charging mode, it is monitored in real time whether the electronic device exits the preset load mode and the battery level of the electronic device is monitored. If the electronic device exits the preset load mode and / or the current battery level of the electronic device corresponds to the lowest battery level, the first charging mode is exited and reverse charging is performed using the second charging mode. Through this disclosure, when the electronic device is reverse-charging, it is possible to perform reverse charging with the maximum charging power, or to set the charging power according to the load state of the electronic device and perform reverse charging, ensuring the charging efficiency of the electronic device during reverse charging.
[0109] Based on the same concept, this disclosure also provides a reverse charging device 100.
[0110] It is understood that the reverse charging device 100 provided in this disclosure includes hardware structures and / or software modules corresponding to each function in order to achieve the above-mentioned functions. In conjunction with the units and algorithm steps of the various examples disclosed in this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of this disclosure.
[0111] Figure 12 This is a block diagram illustrating a reverse charging device 100 according to an exemplary embodiment. (Refer to...) Figure 11 The device includes a determining unit 101 and a processing unit 102.
[0112] The determining unit 101 is used to determine the current charging mode in response to the electronic device performing reverse charging.
[0113] The processing unit 102 is used to perform reverse charging according to the reverse charging power corresponding to the current charging mode.
[0114] The charging modes of the electronic device include a first charging mode and a second charging mode. The reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode.
[0115] In one embodiment, the processing unit 102 performs reverse charging according to the reverse charging power corresponding to the current charging mode in the following manner: In response to the current charging mode being a first charging mode, the load mode of the electronic device is set to a preset load mode, and the reverse charging power of the electronic device is adjusted to the first charging power. The first charging mode is a charging mode that uses the first charging power for reverse charging, and the difference between the first charging power and the maximum reverse charging power supported by the electronic device is less than a threshold. The preset load mode is a load mode in which the preset load function is disabled. Reverse charging is performed according to the first charging power.
[0116] In one embodiment, during the process of setting the load mode of the electronic device to a preset load mode, the processing unit 102 is further configured to: perform reverse charging using a second charging power, wherein the second charging power is less than the first charging power.
[0117] In one embodiment, the processing unit 102 is further configured to: in response to determining that the electronic device has exited the first charging mode, set the current charging mode of the electronic device to a second charging mode, wherein the second charging mode is a charging mode that uses a third charging power for reverse charging, and the third charging power is less than or equal to the first charging power; and perform reverse charging according to the third charging power.
[0118] In one embodiment, the processing unit 102 determines that the electronic device exits the first charging mode in the following manner: in response to determining that the electronic device exits the preset load mode and / or that the current battery power of the electronic device is less than a preset power threshold, the electronic device exits the first charging mode.
[0119] In one embodiment, the processing unit 102 determines that the electronic device exits the preset load mode in the following manner: in response to the battery temperature of the electronic device being higher than a temperature threshold and / or the electronic device activating the preset load function, the processing unit 102 determines that the electronic device exits the preset load mode.
[0120] In one embodiment, the processing unit 102 performs reverse charging based on the reverse charging power corresponding to the current charging mode in the following manner: In response to the current charging mode being a second charging mode, it determines the current battery level corresponding to the current battery level of the electronic device and the current load level of the electronic device. The electronic device includes multiple battery levels and multiple load levels, each corresponding to a different battery range. The load level of the electronic device is determined based on the battery temperature and enabled load functions. Based on the correspondence between battery level, load level, and charging power, it determines the current charging power corresponding to the current battery level and current load level, and sets this current charging power as the third charging power. Reverse charging is then performed based on the third charging power.
[0121] In one implementation, when the load level of the electronic device is fixed, the reverse charging power is positively correlated with the battery level; when the battery level of the electronic device is fixed, the reverse charging power is negatively correlated with the load level. The reverse charging power corresponding to the lowest load level and the highest battery level of the electronic device is less than or equal to a first charging power, and the highest load level and the lowest battery level of the electronic device correspond to either stopping reverse charging or the lowest reverse charging power supported by the electronic device.
[0122] In one embodiment, the determining unit 101 determines the current charging mode in the following manner: In response to the electronic device having a default reverse charging mode, the default reverse charging mode is determined as the current charging mode. Alternatively, in response to the electronic device not having a default reverse charging mode, a charging mode selection interface is displayed, showing function options for the user to select a charging mode, and the current charging mode is determined based on the function options selected by the user.
[0123] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0124] Figure 13 This is a block diagram illustrating a device 200 for reverse charging according to an exemplary embodiment. Device 200 can be provided as a terminal. For example, device 200 can be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0125] Reference Figure 12 The device 200 may include one or more of the following components: processing component 202, memory 204, power component 206, multimedia component 208, audio component 210, input / output (I / O) interface 212, sensor component 214, and communication component 216.
[0126] Processing component 202 typically controls the overall operation of device 200, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 202 may include one or more modules to facilitate interaction between processing component 202 and other components. For example, processing component 202 may include a multimedia module to facilitate interaction between multimedia component 208 and processing component 202.
[0127] Memory 204 is configured to store various types of data to support the operation of device 200. Examples of such data include instructions for any application or method operating on device 200, contact data, phonebook data, messages, pictures, videos, etc. Memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0128] The power supply component 206 provides power to the various components of the device 200. The power supply component 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 200.
[0129] Multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 208 includes a front-facing camera and / or a rear-facing camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0130] Audio component 210 is configured to output and / or input audio signals. For example, audio component 210 includes a microphone (MIC) configured to receive external audio signals when device 200 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 204 or transmitted via communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
[0131] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0132] Sensor assembly 214 includes one or more sensors for providing status assessments of various aspects of device 200. For example, sensor assembly 214 may detect the on / off state of device 200, the relative positioning of components such as the display and keypad of device 200, changes in the position of device 200 or a component of device 200, the presence or absence of user contact with device 200, the orientation or acceleration / deceleration of device 200, and temperature changes of device 200. Sensor assembly 214 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 214 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0133] Communication component 216 is configured to facilitate wired or wireless communication between device 200 and other devices. Device 200 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 216 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 216 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0134] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0135] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, which can be executed by a processor 220 of the device 200 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0136] It is understood that in this disclosure, "multiple" refers to two or more, and other quantifiers are similar. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The singular forms "a," "the," and "the" are also intended to include the plural forms unless the context clearly indicates otherwise.
[0137] It is further understood that the terms "first," "second," etc., are used to describe various types of information, but this information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another, and do not indicate a specific order or degree of importance. In fact, the expressions "first," "second," etc., are completely interchangeable. For example, without departing from the scope of this disclosure, first information can also be referred to as second information, and similarly, second information can also be referred to as first information.
[0138] It is further understood that the terms “center,” “longitudinal,” “lateral,” “front,” “rear,” “up,” “down,” “left,” “right,” “vertical,” “horizontal,” “top,” “bottom,” “inner,” and “outer,” etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation.
[0139] It can be further understood that, unless otherwise specified, "connection" includes both direct connections where no other components exist between the two parties and indirect connections where other components exist between them.
[0140] It is further understood that although operations are described in a specific order in the accompanying drawings in the embodiments of this disclosure, this should not be construed as requiring these operations to be performed in the specific order or serial order shown, or requiring all of the shown operations to be performed to obtain the desired result. In certain environments, multitasking and parallel processing may be advantageous.
[0141] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein.
[0142] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A reverse charging method, characterized in that, include: In response to the electronic device performing reverse charging, determine the current charging mode; Reverse charging is performed based on the reverse charging power corresponding to the current charging mode. The charging modes of the electronic device include a first charging mode and a second charging mode, wherein the reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode.
2. The method according to claim 1, characterized in that, The reverse charging based on the reverse charging power corresponding to the current charging mode includes: In response to the current charging mode being the first charging mode, the load mode of the electronic device is set to a preset load mode, and the reverse charging power of the electronic device is adjusted to the first charging power. The first charging mode is a charging mode that uses the first charging power for reverse charging. The difference between the first charging power and the maximum reverse charging power supported by the electronic device is less than a threshold. The preset load mode is a load mode that disables the preset load function. Reverse charging is performed based on the first charging power.
3. The method according to claim 2, characterized in that, In setting the load mode of the electronic device to a preset load mode, the method further includes: Reverse charging is performed using a second charging power, which is less than the first charging power.
4. The method according to claim 2, characterized in that, The method further includes: In response to determining that the electronic device has exited the first charging mode, the current charging mode of the electronic device is set to a second charging mode, wherein the second charging mode is a charging mode that uses a third charging power for reverse charging, and the third charging power is less than or equal to the first charging power. Reverse charging is performed based on the third charging power.
5. The method according to claim 4, characterized in that, The step of determining that the electronic device exits the first charging mode includes: In response to determining that the electronic device exits the preset load mode and / or that the current battery level of the electronic device is less than a preset battery level threshold, the electronic device is determined to exit the first charging mode.
6. The method according to claim 5, characterized in that, The step of determining that the electronic device exits the preset load mode includes: In response to the battery temperature of the electronic device being higher than a temperature threshold and / or the electronic device activating a preset load function, it is determined that the electronic device exits the preset load mode.
7. The method according to claim 1, characterized in that, The reverse charging based on the reverse charging power corresponding to the current charging mode includes: In response to the current charging mode being the second charging mode, the current power level corresponding to the current power level of the electronic device is determined, and the current load level of the electronic device is determined. The electronic device includes multiple power levels and multiple load levels. The multiple power levels of the electronic device correspond to different power ranges. The load level of the electronic device is determined based on the battery temperature of the electronic device and the enabled load function. Based on the correspondence between battery level, load level and charging power, the current charging power corresponding to the current battery level and the current load level is determined, and the current charging power is determined as the third charging power; Reverse charging is performed based on the third charging power.
8. The method according to claim 7, characterized in that, When the load level of the electronic device is a fixed load level, the reverse charging power of the electronic device is positively correlated with the power level; when the power level of the electronic device is a fixed power level, the reverse charging power of the electronic device is negatively correlated with the load level. The reverse charging power corresponding to the lowest load level and the highest power level of the electronic device is less than or equal to the first charging power, and the highest load level and the lowest power level of the electronic device correspond to stopping reverse charging or the lowest reverse charging power supported by the electronic device.
9. The method according to claim 1, characterized in that, Determining the current charging mode includes: In response to the fact that the electronic device is set to a default reverse charging mode, the default reverse charging mode is determined as the current charging mode; or, In response to the fact that the electronic device has not set a default reverse charging mode, a charging mode selection interface is displayed, on which function options for the user to select a charging mode are displayed, and the current charging mode is determined based on the function options selected by the user.
10. A reverse charging device, characterized in that, include: A determining unit is used to determine the current charging mode in response to the electronic device performing reverse charging; The processing unit is used to perform reverse charging according to the reverse charging power corresponding to the current charging mode; The charging modes of the electronic device include a first charging mode and a second charging mode, wherein the reverse charging power corresponding to the first charging mode is different from the reverse charging power corresponding to the second charging mode.
11. An electronic device, characterized in that, include: processor: Memory used to store processor-executable instructions; The processor is configured to execute the reverse charging method according to any one of claims 1 to 9.
12. A storage medium, characterized in that, The storage medium stores instructions that, when executed by a processor, enable the processor to perform the reverse charging method according to any one of claims 1 to 9.