Charging method, electronic equipment and storage medium
By dynamically adjusting the charging current of the electronic device and adjusting the charging current in the load and standby states according to its working state, the problem of not being able to meet the charging management needs of various charging scenarios in the prior art is solved, and the safety and user experience of charging are improved.
Patent Information
- Application Number
- CN202510109464.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-27
AI Technical Summary
The charging methods of existing electronic devices cannot meet the charging management needs of various charging scenarios, especially when the electronic device is in a load or standby state, the charging current cannot be dynamically adjusted and cannot meet the charging needs under different working states.
By obtaining the working state of the electronic device, its charging current is dynamically adjusted. When the electronic device is in a load state, the charging current is less than the first preset current; when the electronic device is in a standby state, the charging current is greater than or equal to the second preset current.
It realizes dynamically adjusting the battery charging current according to the working state of the electronic device, meeting the charging needs under different working states, and improving the charging safety and user experience.
Smart Images

Figure CN120049553A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of electronic devices, and in particular, to a charging method, an electronic device, and a storage medium. Background Art
[0002] The charging of electronic devices generally includes two methods: constant current charging and constant voltage charging. During the constant current charging process, the current remains at a relatively stable value while the voltage continuously increases. This charging method can charge quickly, but the current during charging should not be too large and needs to be selected according to the rated current of the battery to avoid unnecessary damage to the battery. During constant voltage charging, after the battery voltage reaches the set value, the charger will automatically adjust the current magnitude to maintain the stability of the battery voltage. This charging method can protect the battery to a large extent, but the charging speed is relatively slow. In addition, in the existing intelligent charging method, the charger is provided with an intelligent control chip that can control the charging according to the battery state. The charger will intelligently adjust the current and voltage according to parameters such as the battery power and temperature to avoid problems such as overcharging and over-discharging of the battery, thereby protecting the battery life and performance.
[0003] In the existing charging method of electronic devices, generally, the charger conducts the charging management. This charging method only focuses on the state of the battery itself. However, in actual scenarios, the working state of electronic devices is generally complex and diverse. For example, during the charging process of an electronic device, the user still has the need to use the electronic device. At this time, the simple charging management by the charger cannot meet the actual needs of complex and diverse charging scenarios. Summary of the Invention
[0004] In view of this, embodiments of the present application provide a charging method, an electronic device, and a storage medium, aiming to solve the technical problem that the existing charging method of electronic devices cannot meet the charging management requirements of multiple charging scenarios, and providing a charging management solution that simultaneously monitors the operating state of the electronic device and the battery.
[0005] A first aspect of an embodiment of the present application provides a charging method applied to an electronic device, where the electronic device includes a battery, and the charging method includes: obtaining the working state of the electronic device; adjusting the charging current of the electronic device according to the working state; where the working state includes a load state and a standby state, when the electronic device is in the load state, adjusting the charging current to be less than a first preset current, and when the electronic device is in the standby state, adjusting the charging current to be greater than or equal to a second preset current.
[0006] In one embodiment, before the step of obtaining the working state of the electronic device, it further includes: determining the charging type of the electronic device; controlling the charging current to be less than the first preset current and lasting for a preset time.
[0007] In one embodiment, the charging type includes a USB mode and a charger mode; the step of determining the charging type of the electronic device further includes: determining the charging type of the electronic device; determining the communication type of the electronic device according to the charging type; the communication type includes a wired communication method and a wireless communication method.
[0008] In one embodiment, it further includes: obtaining the temperature of the battery; when the temperature is lower than a preset temperature, adjusting the charging current to be greater than or equal to a second preset current; when the temperature is greater than the preset temperature, adjusting the charging current to be less than the second preset current.
[0009] In one embodiment, the load state means that the electronic device is in a frequently used state, and the standby state means that the electronic device is in a non-frequently used state.
[0010] In one embodiment, the first preset current is numerically 0.1±0.01 times the rated capacity of the battery; the second preset current is numerically 0.2±0.01 times the rated capacity of the battery.
[0011] In one embodiment, the electronic device includes an interaction module; the step of obtaining the working state of the electronic device includes: detecting a trigger signal of the interaction module; if the trigger signal is detected a preset number of times within a preset time, it is considered that the electronic device is in a load state; if the trigger signal is not detected within the preset time, it is considered that the electronic device is in a standby state.
[0012] In one embodiment, the electronic device further includes a display module, and the step of obtaining the working state of the electronic device includes: detecting a trigger signal of the interaction module and the brightness level of the display module; when the brightness level is at the first level, it is considered that the electronic device is in a standby state; when the brightness level is at the second level, if the trigger signal is detected a preset number of times within a preset time, it is considered that the electronic device is in a load state, otherwise, it is in a standby state; when the brightness level is at the third level, if the trigger signal is detected, it is considered that the electronic device is in a load state.
[0013] A second aspect of the embodiments of the present application provides an electronic device, including a battery, a monitoring module, and a control module. It is characterized in that the monitoring module is used to obtain the working state of the electronic device, and the control module is used to adjust the charging current of the electronic device according to the working state; wherein, the working state includes a load state and a standby state. When the electronic device is in the load state, the control module adjusts the charging current to be less than a first preset current, and when the electronic device is in the standby state, the control module adjusts the charging current to be greater than or equal to the second preset current.
[0014] The embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements a charging method provided by the embodiments of the present application.
[0015] The beneficial effects of the embodiments of the present application are as follows: This charging method is applied to an electronic device. By obtaining the working state of the electronic device and adjusting the charging current of its battery according to the working state of the electronic device, when the electronic device is in the load state, the charging current is adjusted to be less than the first preset current, and when the electronic device is in the standby state, the charging current is adjusted to be greater than the second preset current. It can dynamically adjust the magnitude of the charging current of the battery according to the working state of the electronic device, manage the charging of the battery of the electronic device, maintain the charging current of the electronic device within a certain range, meet the charging requirements of the electronic device in different working states, and improve safety and user experience. Description of the Drawings
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0017] Figure 1 It is a schematic flowchart of a charging method provided by an embodiment of the present application; Figure 2 It is a schematic diagram of the principle of an electronic device provided by an embodiment of the present application; Figure 3 It is a schematic flowchart of the sub-steps of a charging method provided by an embodiment of the present application; Figure 4 It is a schematic flowchart of the sub-steps of a charging method provided by another embodiment of the present application; Figure 5 It is a schematic flowchart of the temperature control strategy of a charging method provided by another embodiment of the present application; Figure 6Schematic diagram of the principle of the electronic device provided by another embodiment of the present application; Figure 7 Schematic flowchart of obtaining the working state of the electronic device provided by an embodiment of the present application; Figure 8 Schematic diagram of the principle of the electronic device provided by another embodiment of the present application; Figure 9 Schematic flowchart of obtaining the working state of the electronic device provided by another embodiment of the present application; Figure 10 Schematic diagram of the principle of the electronic device provided by another embodiment of the present application. Detailed implementation manners
[0018] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
[0019] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0020] It should be understood that the orientation or positional relationship indicated by the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application.
[0021] In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be construed as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality of" means two or more unless otherwise specifically defined.
[0022] Such as Figure 1As shown in the figure, the first aspect of the embodiment of the present application provides a charging method, which is applied to an electronic device including a battery. The electronic device here is, for example, a mobile terminal device such as a mobile phone, a tablet computer, a smart bracelet, a smart watch, etc., or a portable electronic device such as a keyboard or a game controller. It can be understood that the electronic device has a rechargeable battery itself and can be charged by connecting to a charger. This charging method is used to charge the battery of the electronic device. The charging method includes: S101. Obtain the working state of the electronic device.
[0023] In the embodiment of the present application, the electronic device also has an interface, which can be used for data transmission of the electronic device and can also be used as a charging interface to charge the battery of the electronic device. When applying the charging method of the present application, first obtain the working state of the electronic device to understand the current working condition of the electronic device.
[0024] S102. Adjust the charging current of the electronic device according to the working state.
[0025] Among them, the working state includes a load state and a standby state. When the electronic device is in the load state, adjust the charging current to be less than the first preset current. When the electronic device is in the standby state, adjust the charging current to be greater than or equal to the second preset current.
[0026] Please refer to Figure 2 As shown in the figure, Figure 2 is an application scenario of the charging method of the electronic device 100 in an embodiment of the present application. Here, the electronic device 100 is taken as an example of a keyboard for illustration. The keyboard has an interface 500, which can be used for data transmission and can also be used as a charger socket. A charge and discharge management chip 300 is provided in the keyboard. The interface 500 is connected to the battery 200 through the charge and discharge management chip 300. In addition, a main control power supply 400 is also provided in the keyboard. The main control power supply 400 is used to provide electrical energy for the power consumption of the keyboard itself. The interface 500 and the battery 200 are respectively connected to the main control power supply 400. That is, the power consumption of the keyboard can be supplied by the battery 200 alone or directly supplied by an external charger through the interface 500. The working state of the keyboard can be provided by the main control power supply 400. Here, the main control power supply 400 includes a main control chip and a system power supply.
[0027] In this embodiment, first, the working state of the keyboard is obtained. For example, at a certain moment, the keyboard has been in use and the power consumption of the keyboard is very large. At this time, it is considered that the working state of the keyboard is a load state. By adjusting the charging current of the electronic device 100 to be less than the first preset current, that is, reducing the charging current magnitude of the battery 200. At this time, the keyboard is used very frequently and has high power consumption. Therefore, the priority is to ensure the use stability of the keyboard. The interface 500 is used to directly supply power to the main control power supply 400, while reducing the charging speed of the battery 200. On the one hand, it can ensure the working stability of the keyboard, for example, avoiding the disconnection between the keyboard and the host device. On the other hand, it can avoid the battery 200 from heating due to too large charging current, resulting in a decline in user experience and even affecting the reliability of the keyboard.
[0028] When the keyboard is in the standby state, for example, the user does not use the keyboard for high-intensity interaction operations, such as the user does not use the keyboard. At this time, it is considered that the keyboard is in the standby state, and the charging current is adjusted to be greater than or equal to the second preset current to increase the charging current. Since the power consumption of the keyboard is small at this time, the priority is to increase the charging speed of the battery 200.
[0029] Please refer to Figure 1 and Figure 2 For the charging method provided by the embodiment of the present application, by obtaining the working state of the electronic device 100 and adjusting the charging current of its battery 200 according to the working state of the electronic device 100. When the electronic device 100 is in the load state, the charging current is adjusted to be less than the first preset current. When the electronic device 100 is in the standby state, the charging current is adjusted to be greater than the second preset current. It can dynamically adjust the charging current magnitude of the battery 200 according to the working state of the electronic device 100, perform charging management on the battery 200 of the electronic device 100, maintain the charging current of the electronic device 100 within a certain range, meet the charging requirements of the electronic device in different working states, and improve safety and user experience.
[0030] Further, taking the keyboard as an example of the electronic device 100, the battery 200 can be fully and safely charged, providing lasting and stable energy consumption support for the keyboard, enhancing the connection stability of the keyboard, ensuring the safety of the host connection port, and also avoiding the overload of the USB port of the host.
[0031] In one embodiment, the first preset charging current is less than or equal to the second preset charging current.
[0032] Please refer to Figure 1 、 Figure 2 and Figure 3 In one embodiment, before the step S101 of obtaining the working state of the electronic device 100, it further includes: Step 201, determine the charging type of the electronic device 100; Step 202: Control the charging current to be less than the first preset current and last for a preset time.
[0033] In the embodiment of the present application, when the electronic device 100 is connected to a charger, first determine the charging type of the electronic device 100, and control the charging current to be less than the first preset current and last for a preset time. By limiting the charging current to be less than the first preset current and last for a preset time at the initial stage when the electronic device 100 is inserted into the charger to start charging, the preset time can be, for example, 1 min, 5 min, 10 min, etc. By using a small current in the initial stage to gently activate the battery 200 and avoid the impact of a large current on the battery 200, through the preparation stage with a small current, it can be ensured that the battery 200 can absorb electrical energy more effectively during subsequent large-current charging.
[0034] Please refer to Figure 1 、 Figure 2 、 Figure 3 and Figure 4 , further, in one embodiment, the charging types of the electronic device 100 include the USB mode and the charger mode. Taking the keyboard as an example of the electronic device 100, generally, the power supply and data of the keyboard share the same and only one interface 500, and the interface 500 is, for example, a USB-A or USB-C interface. It can be understood that in the charger mode, the keyboard and the host can communicate wirelessly, and in the USB mode, the keyboard preferentially communicates with the host through USB. The step 201 of determining the charging type of the electronic device 100 further includes: S2011: Determine the charging type of the electronic device 100.
[0035] S2012: Determine the communication type of the electronic device 100 according to the charging type, and the communication type includes wired communication methods and wireless communication methods.
[0036] In some other embodiments, after determining the charging type and communication type of the electronic device 100, the magnitude of the charging current can be adaptively adjusted. When the electronic device 100 is charged via USB and is in a loaded state, adjust the charging current to be less than the third preset current, but when the electronic device 100 is in the charger mode and is in a loaded state, adjust the charging current to be less than the fourth preset current, where the third preset current is less than the fourth preset current. In the USB mode, when the electronic device 100 is in a loaded state, give priority to ensuring the connection stability of the electronic device 100, so the charging current is reduced at this time. Further, in the charger mode, the electronic device 100 can communicate with the host through a wireless communication method, but since the electronic device 100 is still in a loaded state, the charging current is reduced. By setting the third preset current to be less than the fourth preset current, that is, in the charger mode of the electronic device 100, the charging current magnitude can be appropriately increased to improve the charging speed on the premise of ensuring safety, thereby improving the user experience.
[0037] In one embodiment, both the third preset current and the fourth preset current are less than or equal to the first preset current.
[0038] Please refer to Figure 1 、 Figure 2 and Figure 5 In one embodiment, the charging method provided by the embodiments of the present application further includes: S301. Obtain the temperature of the battery 200.
[0039] S302. When the temperature is lower than the preset temperature, adjust the charging current to be greater than or equal to the second preset current. When the temperature is higher than the preset temperature, adjust the charging current to be less than the second preset current.
[0040] In the embodiments of the present application, taking the keyboard as an example of the electronic device 100, the main control power supply 400 can monitor the current temperature of the battery 200 in real time. When the temperature of the battery 200 is too high, the charging current is reduced to avoid charging safety problems caused by excessive temperature. When the temperature of the battery 200 is within the safe range, the charging current is increased. By adding a temperature control strategy, the embodiments of the present application further improve the charging safety of the electronic device 100, improve the charging efficiency of the battery 200, optimize the performance of the battery 200, and enhance the user experience.
[0041] Please refer to Figure 1 and Figure 2 In one embodiment, the load state of the electronic device 100 refers to the state where the electronic device is in a frequently used state, and the standby state refers to the state where the electronic device 100 is in a non-frequently used state. Taking the keyboard as an example of the electronic device 100, when the user frequently uses the keyboard, the keyboard is in the load state. When the user rarely uses the keyboard or does not use the keyboard, the keyboard is in the standby state. Taking the mobile phone as an example of the electronic device 100, when the user frequently unlocks the mobile phone to perform operations such as running games and watching videos, the mobile phone is in the load state. When the mobile phone is in the locked screen state, the mobile phone is in the standby state.
[0042] Please refer to Figure 1 and Figure 2 In one embodiment, the first preset current is numerically 0.1 ± 0.01 times the rated capacity of the battery 200, and the second preset current is numerically 0.2 ± 0.01 times the rated capacity of the battery 200. Taking the keyboard as an example of the electronic device 100, the battery 200 can be a lithium battery with a nominal voltage of 3.7V and a rated capacity of 1000mAh. The nominal voltage is the average voltage under normal use conditions. Usually, the fully charged voltage can reach about 4.2V, and the discharge cut-off voltage is not lower than 3.0V. The rated capacity of 1000mAh means that the battery 200 can provide a current of 1000mA for 1 hour under ideal conditions at a rate of 1C (i.e., the rate of fully discharging or charging within 1 hour).
[0043] The first preset current is 0.1 times the rated capacity of 1000 mAh, that is, the first preset current is 100 mA, and a 10% error is allowed, that is, the first preset current is 0.1 ± 0.01 times the rated capacity of the battery 200. The second preset current is 0.2 times the rated capacity of 1000 mAh, that is, the second preset current is 200 mA, and a ±10% error is allowed, that is, the second preset current is 0.2 ± 0.01 times the rated capacity of the battery 200.
[0044] In some embodiments, the first preset current is 0.1 ± 0.0025 times the rated capacity of the battery 200, and the second preset current is 0.2 ± 0.0025 times the rated capacity of the battery 200, that is, a ±2.5% error is allowed.
[0045] Please refer to Figures 1 to 7 , in one embodiment, the electronic device 100 includes an interaction module 600, and the step S101 of obtaining the working state of the electronic device 100 includes: S1011. Detect the trigger signal of the interaction module 600.
[0046] S1012. If the trigger signal is detected a preset number of times within a preset time, it is considered that the electronic device 100 is in a load state. If the trigger signal is not detected within the preset time, it is considered that the electronic device 100 is in a standby state.
[0047] In the embodiment of the present application, the interaction module 600 is, for example, a module for the interaction between the electronic device 100 and the user, such as a button, a touch screen, etc. Taking the electronic device 100 as a keyboard, the interaction module 600 is the button on the keyboard. In order to obtain the working state of the keyboard, the trigger signal of the button is detected, that is, whether the keyboard is triggered. If the signal of the keyboard button being triggered is detected a preset number of times within a preset time, it is considered that the keyboard is in a load state. For example, if 50 trigger signals are detected within 1 min, it is considered that the user is frequently using the keyboard at this time and the keyboard is in a load state. Taking the electronic device 100 as a mobile phone, the interaction module 600 is the display screen. In order to obtain the working state of the mobile phone, the click signal of the display screen is detected, that is, whether the user clicks the display screen. For example, if 10 trigger signals are detected within 30 s, it is considered that the user is frequently using the mobile phone at this time and the mobile phone is in a load state.
[0048] In the embodiment of the present application, by detecting the trigger signal of the interaction module 600 of the electronic device 100, the detection of the state of the electronic device 100 is realized, which is convenient for more accurately identifying and obtaining the working state of the electronic device 100.
[0049] Please refer to Figures 1 to 9, in one embodiment, the electronic device 100 further includes a display module 700, and the step S101 of obtaining the working state of the electronic device 100 includes: S1101. Detect the trigger signal of the interaction module 600 and the brightness level of the display module 700.
[0050] In the embodiments of the present application, the interaction module 600 is, for example, a module for the interaction between the electronic device 100 and the user, such as a button or a touch screen, and the display module 700 is, for example, a module for display, such as a screen or an LED light.
[0051] S1102. When the brightness level is the first level, it is considered that the electronic device 100 is in the standby state.
[0052] S1103. When the brightness level is the second level, if the trigger signal is detected a preset number of times within a preset time, it is considered that the electronic device 100 is in the load state; otherwise, it is in the standby state.
[0053] S1104. When the brightness level is the third level, if the trigger signal is detected, it is considered that the electronic device 100 is in the load state.
[0054] In the embodiments of the present application, the display module 700 has different levels of display brightness. Taking the electronic device 100 as a keyboard as an example, the display module 700 is the LED light of the keyboard. When the brightness level of the LED light is the first level, for example, the zero-level brightness, that is, the keyboard LED light is not on, at this time, it is considered that the keyboard is in the standby state. When the keyboard brightness is the second level, for example, the brightness of the LED light is 50%, at this time, the key trigger signal of the keyboard is further detected. When the keyboard brightness is the third level, for example, the full-level brightness, at this time, the LED brightness is the maximum, and as long as it is detected that a key is triggered, it is considered that the keyboard is in the load state.
[0055] By combining the brightness level of the display module 700 of the electronic device 100 with the trigger signal of the interaction module 600, the working state of the electronic device 100 can be obtained more accurately, so as to more intelligently dynamically adjust the charging current size and improve the user experience.
[0056] Please refer to Figure 10 , the present application provides an electronic device 100, including a battery 200, a monitoring module 110, and a control module 120. The monitoring module 110 is used to obtain the working state of the electronic device 100, and the control module 120 is used to adjust the charging current of the electronic device 100 according to the working state.
[0057] Among them, the working states of the electronic device 100 include a load state and a standby state. When the electronic device 100 is in the load state, the control module 120 adjusts the charging current to be less than a first preset current. When the electronic device 100 is in the standby state, the control module 120 adjusts the charging current to be greater than or equal to a second preset current.
[0058] An embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the charging method provided by the embodiment of the present application when executed.
[0059] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0060] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.
[0061] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above embodiment methods of the present application, it can also be completed by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0062] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A charging method, applied to an electronic device, wherein the electronic device comprises a battery, characterized in that: The charging method comprises: Acquire the working status of the electronic device; adjusting a charging current of the electronic device according to the working state; Wherein, the working state includes a load state and a standby state. When the electronic device is in the load state, the charging current is adjusted to be less than a first preset current. When the electronic device is in the standby state, the charging current is adjusted to be greater than or equal to the second preset current.
2. The charging method according to claim 1, characterized in that: Before the step of obtaining the working status of the electronic device, the method further includes: determining a charging type of the electronic device; The charging current is controlled to be less than the first preset current and lasts for a preset time.
3. The charging method according to claim 2, characterized in that: The charging type includes a USB mode and a charger mode; and the step of determining the charging type of the electronic device further includes: determining a charging type of the electronic device; The communication type of the electronic device is determined according to the charging type; the communication type includes a wired communication method and a wireless communication method.
4. The charging method according to claim 1, characterized in that: Also includes: obtaining a temperature of the battery; When the temperature is lower than a preset temperature, adjusting the charging current to be greater than or equal to a second preset current; When the temperature is greater than a preset temperature, the charging current is adjusted to be less than the second preset current.
5. The charging method according to claim 1, characterized in that: The load state refers to that the electronic device is in a frequently used state, and the standby state refers to that the electronic device is in a non-frequently used state.
6. The charging method according to claim 1, characterized in that: The first preset current is numerically 0.1±0.01 times the rated capacity of the battery; the second preset current is numerically 0.2±0.01 times the rated capacity of the battery.
7. The charging method according to any one of claims 1 to 6, characterized in that: The electronic device includes an interaction module; the step of obtaining the working status of the electronic device includes: Detecting a trigger signal of the interaction module; If the trigger signal is detected a preset number of times within a preset time, it is considered that the electronic device is in a load state; if the trigger signal is not detected within the preset time, it is considered that the electronic device is in a standby state.
8. The charging method according to claim 7, characterized in that: The electronic device further includes a display module, and the step of obtaining the working status of the electronic device includes: Detecting a trigger signal of the interaction module and a brightness level of the display module; When the brightness level is the first level, it is considered that the electronic device is in a standby state; When the brightness level is the second level, if the trigger signal is detected a preset number of times within a preset time, it is considered that the electronic device is in a load state, otherwise, it is in a standby state; When the brightness level is at the third level, if the trigger signal is detected, it is considered that the electronic device is in a load state.
9. An electronic device, characterized in that: It includes a battery, a monitoring module and a control module, wherein the monitoring module is used to obtain the working state of the electronic device, and the control module is used to adjust the charging current of the electronic device according to the working state; Wherein, the working state includes a load state and a standby state. When the electronic device is in the load state, the control module adjusts the charging current to be less than a first preset current. When the electronic device is in the standby state, the control module adjusts the charging current to be greater than or equal to the second preset current.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the charging method according to any one of claims 1 to 8 is implemented.