Charging control method and device, electronic equipment and medium
By setting different target battery capacity and charging modes during the battery charging process, the problem of difficult to take into account in the charging speed and battery life in the existing technology is solved, and the battery is quickly charged or ultra-long battery life is achieved, improving the user experience.
Patent Information
- Application Number
- CN202410082970.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2025-07-22
AI Technical Summary
In the prior art, the battery charging method is difficult to meet users' demands for charging speed and battery life at the same time, affecting users' user experience.
By determining the charging mode of the battery, setting different target power, and using the same preset charging method to charge in different charging modes until the remaining battery power reaches the target power, meeting users' demand for charging speed and battery life.
It realizes fast charging or ultra-long battery life, improves user experience, and meets users' needs for charging speed and battery life.
Smart Images

Figure CN120357572A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging technologies, and in particular, to a charging control method, apparatus, electronic device, and medium. Background Art
[0002] Currently, during the charging process of a battery, the battery is charged from the remaining power to the rated power through a preset charging method to fully charge the battery. However, with the increase in the rated power and the limitation of the preset charging method, the time required to fully charge the battery increases, making it difficult to meet the charging speed and endurance requirements of different users and affecting the user experience. Summary of the Invention
[0003] To overcome the problems in the related art, the present disclosure provides a charging control method, apparatus, electronic device, and medium.
[0004] According to a first aspect of the embodiments of the present disclosure, a charging control method is provided. The charging control method includes:
[0005] Determine the charging mode of the battery;
[0006] According to the charging mode, determine the target power when the battery is fully charged;
[0007] Charge the battery until the remaining power of the battery reaches the target power.
[0008] In some embodiments of the present disclosure, the determining the target power when the battery is fully charged according to the charging mode includes:
[0009] When the charging mode is the first preset mode, determine that the target power is the first preset power;
[0010] When the charging mode is the second preset mode, determine that the target power is the second preset power;
[0011] Wherein, the first preset power is less than the second preset power.
[0012] In some embodiments of the present disclosure, the first preset power is the rated power of the battery, and the second preset power is the maximum power of the battery.
[0013] In some embodiments of the present disclosure, when the charging mode is the first preset mode and when the charging mode is the second preset mode, the charging method of the battery is the same preset charging method.
[0014] In some embodiments of the present disclosure, after charging the battery, the charging control method further includes:
[0015] In response to a switching operation of the user, a first prompt message is issued, and the first prompt message is used to prompt the user that the charging mode is switched after stopping charging the battery;
[0016] In the case of stopping charging the battery, the charging mode is switched.
[0017] In some embodiments of the present disclosure, after charging the battery, the charging control method further includes:
[0018] In the case where the remaining power of the battery reaches the target power, a second prompt message is issued; or,
[0019] In the case where the remaining power of the battery reaches a first preset power, a second prompt message is issued;
[0020] Wherein, the second prompt message is used to prompt the user that the battery is fully charged.
[0021] In some embodiments of the present disclosure, after determining the target power when the battery is fully charged according to the charging mode, the charging control method further includes:
[0022] Determine a first ratio of the remaining power of the battery to the target power;
[0023] Take the first ratio as the first power percentage; or,
[0024] Determine a second ratio of the remaining power of the battery to the first preset power;
[0025] Take the second ratio as the first power percentage;
[0026] In the case where the first power percentage is greater than the preset power percentage, set the first power percentage to the preset power percentage.
[0027] In some embodiments of the present disclosure, the charging control method further includes:
[0028] In response to a switching operation of the user, keep the displayed second power percentage unchanged;
[0029] When charging the battery, if the increase in the remaining power of the battery is greater than a third preset power and the first power percentage is greater than the second power percentage, adjust the displayed second power percentage to the first power percentage;
[0030] When the battery is not being charged, if the decrease in the remaining battery power is greater than a fourth preset power and the first power percentage is less than the second power percentage, the displayed second power percentage is adjusted to the first power percentage.
[0031] In some embodiments of the present disclosure, after charging the battery, the charging control method further includes:
[0032] According to the charging mode, a third prompt message is sent to the user, and the third prompt message is used to prompt the user of the charging mode of the battery during charging.
[0033] According to a second aspect of the embodiments of the present disclosure, a charging control device is provided, and the charging control device includes:
[0034] A first determination module configured to determine the charging mode of the battery;
[0035] A second determination module configured to determine the target power of the battery when it is fully charged according to the charging mode;
[0036] A control module configured to charge the battery until the remaining power of the battery reaches the target power.
[0037] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, and the electronic device includes:
[0038] A processor;
[0039] A memory for storing executable instructions of the processor;
[0040] Wherein, the processor is configured to execute the charging control method as described above.
[0041] According to a fourth aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute the charging control method as described above.
[0042] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0043] Determine the charging mode of the battery to determine the user's requirements for the charging speed and battery life of the battery. According to the charging mode, determine the target battery level when the battery is fully charged, so as to meet the user's requirements for charging speed and battery life through the magnitude of the target battery level. Charge the battery until the remaining battery level reaches the target battery level to fully charge the battery. By determining the corresponding target battery level under different charging modes, fast charging or ultra-long battery life of the battery is achieved, meeting the user's requirements for charging speed and battery life, thereby improving the user experience.
[0044] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0046] Figure 1 is a schematic diagram of a battery charging curve;
[0047] Figure 2 is a flowchart of a charging control method shown according to an exemplary embodiment;
[0048] Figure 3 is a schematic diagram of a battery charging curve shown according to an exemplary embodiment;
[0049] Figure 4 is a flowchart of a charging control method shown according to another exemplary embodiment;
[0050] Figure 5 is a flowchart of a charging control method shown according to another exemplary embodiment;
[0051] Figure 6 is a flowchart of a charging control method shown according to another exemplary embodiment;
[0052] Figure 7 is a block diagram of a charging control device shown according to an exemplary embodiment;
[0053] Figure 8 is a block diagram of an electronic device shown according to an exemplary embodiment.
[0054] In the figure:
[0055] 100 - First determination module; 200 - Second determination module; 300 - Control module; 400 - Electronic device; 402 - Processing component; 404 - Memory; 406 - Power supply component; 408 - Multimedia component; 410 - Audio component; 412 - Input / output interface; 414 - Sensor component; 416 - Communication component; 420 - Processor. Detailed implementation manners
[0056] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0057] Currently, with the increase in the functions of electronic devices, the rate of battery power decline in electronic devices increases, and users need to frequently charge the battery. To improve the user experience, the rated battery power gradually increases, and fast charging is adopted to reduce the charging time.
[0058] In the related art, a charging control method is provided, as Figure 1 shown. According to the voltage of the battery, the battery is charged in different charging stages in a preset charging manner. When the voltage of the battery is less than 2.5V, the battery is in the trickle charging stage, and the charging current can be 50mA. When the voltage of the battery is greater than or equal to 2.5V and less than 3V, the battery is in the pre-charging stage, and the charging current can be 250mA. When the voltage of the battery is greater than or equal to 3V and less than 4.2V, the battery is in the constant current charging stage, and the charging current can be 5A. When the voltage of the battery is greater than or equal to 4.2V, the battery is in the constant voltage charging stage, and the charging voltage can be 4.5V. Among them, curve S1 represents the voltage curve of the battery, and curve S2 represents the charging current curve of the battery. The abscissa t represents time, and the ordinate V BAT represents the voltage of the battery, and the ordinate I BATIndicates the charging current of the battery. The stage from 0 to t0 is the trickle charging stage, the stage from t0 to t1 is the pre-charging stage, the stage from t1 to t2 is the constant current charging stage, and the stage from t2 to t3 is the constant voltage charging stage. By charging the battery with a smaller current when the voltage of the battery is small, the service life of the battery can be extended. By charging the battery with a larger current when the voltage of the battery is moderate, the charging speed of the battery can be increased. By charging the battery with a constant voltage when the voltage of the battery is large, overcharging of the battery can be prevented to extend the service life of the battery. However, since the battery requires a long time in the constant voltage charging stage and the charging speed of the battery is slow, the demand for the charging speed of users cannot be met. If the charging of the battery is stopped before the battery is fully charged, the remaining power of the battery is small, resulting in a short battery life. Therefore, the above charging control method is difficult to meet the demands of different users for charging speed and battery life, thus affecting the user experience.
[0059] To solve the above technical problems, the present disclosure provides a charging control method, which determines a corresponding target power according to the charging mode of the battery, so that the remaining power reaches the target power and the battery is fully charged during the charging process of the battery. Since the battery requires different times to charge to different target powers, by setting the corresponding charging mode, the charging time of the battery can be reduced, thereby meeting the user's demand for charging speed and improving the user experience. Since the battery life is different when the battery is charged to different target powers, by setting the corresponding charging mode, the battery life of the battery can be improved, thereby meeting the user's demand for battery life and improving the user experience.
[0060] An embodiment of the present disclosure provides a charging control method, as Figure 2 shown, the method includes:
[0061] S100. Determine the charging mode of the battery.
[0062] S200. Determine the target power when the battery is fully charged according to the charging mode.
[0063] S300. Charge the battery until the remaining power of the battery reaches the target power.
[0064] In this embodiment, the charging mode of the battery is determined to determine the user's demands for the charging speed and battery life of the battery. According to the charging mode, the target power when the battery is fully charged is determined to meet the user's demands for the charging speed and battery life through the magnitude of the target power. The battery is charged until the remaining power reaches the target power and the battery is fully charged. By determining the corresponding target power under different charging modes, fast charging or ultra-long battery life of the battery is achieved, meeting the user's demands for charging speed and battery life, thereby improving the user experience.
[0065] Exemplarily, after charging the remaining power of the battery to the target power, regardless of whether there is standby power in the battery, the charging of the battery is stopped.
[0066] Exemplarily, the charging mode of the battery can be the default charging mode of the battery after the electronic device leaves the factory, or the charging mode set by the user.
[0067] In one embodiment, the target power when the battery is fully charged is determined according to the charging mode in step S200 in the following manner:
[0068] When the charging mode is the first preset mode, the target power is determined to be the first preset power.
[0069] When the charging mode is the second preset mode, the target power is determined to be the second preset power.
[0070] Wherein, the first preset power is less than the second preset power.
[0071] In this embodiment, since the first preset power is less than the second preset power, when the user sets the charging mode to the first mode, the time for charging the battery to the target power can be reduced to achieve fast charging of the battery. When the user sets the charging mode to the second mode, the difference between the second preset power and the first preset power can be used additionally after the battery is fully charged to achieve ultra-long battery life. By corresponding different target powers to different charging modes, the user can select according to needs to achieve fast charging or ultra-long battery life of the battery, thereby improving the user experience.
[0072] Exemplarily, the first preset mode can be, for example, a fast charging mode, and the second preset mode can be, for example, an ultra-long battery life mode.
[0073] Exemplarily, in addition to setting the first preset mode or the second preset mode as the charging mode, the third preset mode, the fourth preset mode, etc. can also be set, and the corresponding third preset power, fourth preset power, etc. are between the first preset power and the second preset power. By setting more than two charging modes, the user can have more choices, so as to meet the user's requirements for the charging speed and battery life of the battery.
[0074] In one embodiment, the first preset power is the rated power of the battery, and the second preset power is the maximum power of the battery.
[0075] In this embodiment, the first preset power is marked on the battery as the rated power of the battery, so as to avoid the situation that the battery is fully charged when the target power is the first preset power and cannot reach the marked power, so as to balance the demand for battery life on the basis of realizing fast charging and improve the user experience. The second preset power is the maximum power of the battery, and the difference between the maximum power and the rated power is used as the backup power, so as to utilize the backup power to achieve ultra-long battery life and improve the user experience.
[0076] Exemplarily, the value range of the first preset power can be 4000 mAh to 4800 mAh. The value of the first preset power can be 4500 mAh, 4600 mAh, 4700 mAh, etc. The value range of the second preset power can be 4500 mAh to 5300 mAh. The value of the second preset power can be 4800 mAh, 5000 mAh, 5200 mAh, etc.
[0077] In one embodiment, when the charging mode is the first preset mode and when the charging mode is the second preset mode, the charging method of the battery is the same preset charging method.
[0078] In this embodiment, by charging in the same preset charging method under different charging modes, the charging time in the constant voltage charging stage can be reduced in the first preset mode, thus realizing fast charging of the battery and improving the user experience.
[0079] Exemplarily, as Figure 3 shown, when charging is carried out by using a preset charging method including a trickle charging stage, a pre-charging stage, a constant current charging stage and a constant voltage charging stage, when the charging mode is the first preset mode, the battery can be charged to the t3 moment so that the remaining power reaches the target power and stops charging. When the charging mode is the second preset mode, the battery is charged to the t4 moment so that the remaining power reaches the target power and stops charging. Therefore, when the charging mode is the first preset mode, the charging time of the battery is shortened by t4 - t3, thus realizing fast charging. And because the difference between the first preset power and the second preset power is small, the influence on the battery life is small, so as to balance the battery life on the basis of realizing fast charging.
[0080] It can be understood that when the charging modes are different, different preset charging methods can also be used to charge the battery, which is not limited here.
[0081] Exemplarily, the charging of the battery in step S300 can be carried out by a wired charging method or a wireless charging method.
[0082] In one embodiment, after charging the battery in step S300, the charging control method further includes:
[0083] In response to a switching operation of the user, a first prompt message is issued, and the first prompt message is used to prompt the user that the charging mode is switched after stopping charging the battery.
[0084] In the case of stopping charging the battery, the charging mode is switched.
[0085] In this embodiment, since the switching operation is performed during the charging process of the battery, if the charging mode is switched, it will affect the charging process of the battery and the display of the battery percentage. By switching the charging mode after stopping charging, the user's switching operation is prevented from affecting the charging process of the battery, thereby improving the reliability of battery charging.
[0086] It can be understood that, in response to the switching operation of the user, the charging mode can also be switched during the charging process of the battery to meet the user's requirements for charging speed and battery life, which is not limited herein.
[0087] Exemplarily, the first prompt message can be displayed through the user interface of the screen or played through the voice module.
[0088] In one embodiment, after charging the battery in step S300, the charging control method further includes:
[0089] When the remaining power of the battery reaches the target power, a second prompt message is issued.
[0090] Wherein, the second prompt message is used to prompt the user that the battery is fully charged.
[0091] In this embodiment, by issuing a second prompt message when the remaining power of the battery reaches the target power, the battery is fully charged by fast charging or the battery life reaches the requirement of ultra-long battery life, which truly reflects whether the battery is fully charged to improve the user experience.
[0092] Exemplarily, the second prompt message can be displayed through the user interface of the screen or played through the voice module.
[0093] In one embodiment, after charging the battery in step S300, the charging control method further includes:
[0094] When the remaining power of the battery reaches the first preset power, a second prompt message is issued.
[0095] In this embodiment, by sending a second prompt message when the remaining power of the battery reaches the first preset power, it is avoided that the charging time corresponding to the same power percentage under different charging modes is different, so that the user does not mistakenly think that the battery is faulty, thereby improving the user experience.
[0096] In one embodiment, as Figure 4 shown, after determining the target power when the battery is fully charged according to the charging mode in step S200, the charging control method further includes:
[0097] S400. Determine a first ratio of the remaining power of the battery to the target power.
[0098] S410. Take the first ratio as the first power percentage.
[0099] In this embodiment, by taking the ratio of the remaining power of the battery to the target power as the first power percentage, the user can truly understand the remaining power of the battery according to the first power percentage, thereby improving the user experience.
[0100] In one embodiment, as Figure 5 shown, after determining the target power when the battery is fully charged according to the charging mode in step S200, the charging control method further includes:
[0101] S420. Determine a second ratio of the remaining power of the battery to the first preset power.
[0102] S430. Take the second ratio as the first power percentage.
[0103] S440. When the first power percentage is greater than the preset power percentage, set the first power percentage to the preset power percentage.
[0104] In this embodiment, by taking the ratio of the remaining power of the battery to the first preset power as the first power percentage, when the user switches the charging mode, the displayed power percentage will not change to avoid being unable to determine the battery life, thereby improving the user experience. At the same time, when the first power percentage is greater than the preset power percentage, setting the first power percentage to the preset power percentage can avoid the user mistakenly thinking that the battery is faulty, thereby further improving the user experience.
[0105] Exemplarily, the preset power percentage can be 100%.
[0106] In one embodiment, the charging control method further includes:
[0107] In response to the user's switching operation, keep the displayed second power percentage unchanged.
[0108] When charging the battery, if the increase in the remaining battery power is greater than the third preset power and the first power percentage is greater than the second power percentage, the displayed second power percentage is adjusted to the first power percentage.
[0109] When the battery is not being charged, if the decrease in the remaining battery power is greater than the fourth preset power and the first power percentage is less than the second power percentage, the displayed second power percentage is adjusted to the first power percentage.
[0110] In this embodiment, during the use of the electronic device, the user performs a switching operation to change the charging mode of the battery, and keeps the displayed second power percentage unchanged to prevent the user from mistakenly thinking that the battery is faulty. When the second power percentage does not change and the battery is being charged, the remaining battery power gradually increases. If the charging mode is switched from the first preset mode to the second preset mode and the second power percentage is adjusted immediately, the second power percentage will suddenly decrease, making the user mistakenly think that the battery or the charging device is faulty. When the first power percentage is greater than the second power percentage, the second power percentage is adjusted to the first power percentage to enable the user to determine that the battery is in the slow charging process. If the charging mode is switched from the second preset mode to the first preset mode and the second power percentage is adjusted immediately, the second power percentage will suddenly increase, making the user mistakenly think that the battery or the charging device is faulty. When the increase in the remaining battery power is greater than the third preset power, the second power percentage is adjusted to the first power percentage to enable the user to determine that the battery is in the fast charging process. When the second power percentage does not change and the battery is not being charged, the remaining battery power gradually decreases. If the charging mode is switched from the first preset mode to the second preset mode and the second power percentage is adjusted immediately, the second power percentage will suddenly decrease, making the user mistakenly think that the battery is faulty. When the decrease in the remaining battery power is greater than the fourth preset power, the second power percentage is adjusted to the first power percentage to enable the user to determine that the battery is in the fast discharging process. If the charging mode is switched from the second preset mode to the first preset mode and the second power percentage is adjusted immediately, the second power percentage will suddenly increase, making the user mistakenly think that the battery is faulty. When the first power percentage is less than the second power percentage, the second power percentage is adjusted to the first power percentage to enable the user to determine that the battery is in the slow discharging process. By adjusting the displayed second power percentage in different ways after switching the charging mode, the user is prevented from mistakenly thinking that the battery or the charging device is faulty, thus improving the user experience.
[0111] Exemplarily, the value range of the third preset power can be 50 mAh to 300 mAh. The value of the third preset power can be 100 mAh, 150 mAh, 200 mAh, etc. The value range of the fourth preset power can be 50 mAh to 300 mAh. The value of the fourth preset power can be 100 mAh, 150 mAh, 200 mAh, etc. The third preset power can be the same as or different from the fourth preset power, which will not be elaborated here.
[0112] Exemplarily, in addition to using the increase or decrease amount of the remaining power as the limiting condition for adjusting the second power percentage, the change in time or the increase or decrease amount of the power percentage, etc. can also be used as the limiting condition for adjusting the second power percentage. For example, in the case of charging the battery, if the switching operation is performed after a preset time and the first power percentage is greater than the second power percentage, the displayed second power percentage is adjusted to the first power percentage. In the case where the battery is not being charged, if the switching operation is performed after a preset time and the first power percentage is less than the second power percentage, the displayed second power percentage is adjusted to the first power percentage.
[0113] It can be understood that in response to the user's switching operation, the displayed second power percentage can also be immediately adjusted to the first power percentage, which is not limited here.
[0114] In one embodiment, after charging the battery in step S300, the charging control method further includes:
[0115] According to the charging mode, send a third prompt message to the user, and the third prompt message is used to prompt the user of the charging mode when the battery is charging.
[0116] In this embodiment, by sending a third prompt message to the user during the charging process, the user can determine what charging mode to use to charge the battery, which is convenient for the user to determine the charging time required and the battery life during use, thereby improving the user experience.
[0117] Exemplarily, the above step of sending a third prompt message to the user according to the charging mode may be, when the charging mode is the first preset mode, sending a third prompt message to prompt the user that the charging mode is the first preset mode. When the charging mode is the second preset mode, sending a third prompt message to prompt the user that the charging mode is the second preset mode.
[0118] Exemplarily, the third prompt message can be displayed through the user interface of the screen or played through the voice module.
[0119] The embodiments of the present disclosure provide a charging control method, as Figure 6 shown, the method includes:
[0120] S500. Determine the charging mode of the battery.
[0121] S510. When the charging mode is the first preset mode, determine that the target power is the first preset power.
[0122] S520. When the charging mode is the second preset mode, determine that the target power is the second preset power.
[0123] S530. Determine the second ratio of the remaining power of the battery to the first preset power.
[0124] S540. Use the second ratio as the first power percentage.
[0125] S550. When the first power percentage is greater than the preset power percentage, set the first power percentage to the preset power percentage.
[0126] S560. Charge the battery in the preset charging method.
[0127] S570. According to the charging mode, send the third prompt message to the user.
[0128] S580. In response to the user's switching operation, send the first prompt message.
[0129] S590. When the remaining power of the battery reaches the target power, stop charging the battery and send the second prompt message.
[0130] In this embodiment, the charging mode of the battery is determined to determine the user's requirements for the charging speed and battery life of the battery. When the charging mode is the first preset mode, the user hopes to charge the battery in a fast charging manner, and the target power is determined to be the first preset power. When the charging mode is the second preset mode, the user hopes to charge the battery in an ultra-long battery life manner, and the target power is determined to be the second preset power. The second ratio of the remaining power of the battery to the first preset power is determined as the first power percentage, and when the first power percentage is greater than the preset power percentage, the first power percentage is set to the preset power percentage to prevent the user from mistakenly thinking that the battery is faulty. Regardless of whether the charging mode is the first preset mode or the second preset mode, the battery is charged in the same preset charging manner to achieve fast charging or ultra-long battery life of the battery. According to the charging mode, a third prompt message is sent to the user to enable the user to determine the charging mode of the battery. In response to the user's switching operation, a first prompt message is sent to enable the user to determine that the change in the charging mode will take effect during the next charging. When the remaining power of the battery reaches the target power, the charging of the battery is stopped, and a second prompt message is sent to prompt the user that the battery is fully charged. By determining the corresponding target power in different charging modes, fast charging or ultra-long battery life of the battery is achieved, meeting the user's requirements for charging speed and battery life, thereby improving the user experience.
[0131] In an exemplary embodiment, a charging control device is provided, and this charging control device is used to implement the above method. Refer to Figure 7 As shown, the charging control device may include a first determination module 100, a second determination module 200, and a control module 300. Among them, during the implementation of the above method,
[0132] The first determination module 100 is configured to determine the charging mode of the battery.
[0133] The second determination module 200 is configured to determine the target power when the battery is fully charged according to the charging mode.
[0134] The control module 300 is configured to charge the battery until the remaining power of the battery reaches the target power.
[0135] In an exemplary embodiment, a charging control device is provided. In this device, the second determination module 200 is configured to:
[0136] When the charging mode is the first preset mode, determine that the target power is the first preset power.
[0137] When the charging mode is the second preset mode, determine that the target power is the second preset power.
[0138] In an exemplary embodiment, a charging control device is provided. In this device, a second determination module 200 is configured to:
[0139] Determine a first ratio of the remaining power of the battery to the target power.
[0140] Use the first ratio as the first power percentage.
[0141] In an exemplary embodiment, a charging control device is provided. In this device, a second determination module 200 is configured to:
[0142] Determine a second ratio of the remaining power of the battery to the first preset power.
[0143] Use the second ratio as the first power percentage.
[0144] When the first power percentage is greater than the preset power percentage, set the first power percentage to the preset power percentage.
[0145] In an exemplary embodiment, a charging control device is provided. The device further includes:
[0146] A prompt module configured to issue a first prompt message in response to a user's switching operation.
[0147] A switching module configured to switch the charging mode when charging the battery is stopped.
[0148] In an exemplary embodiment, a charging control device is provided. In this device, the prompt module is configured to:
[0149] Issue a second prompt message when the remaining power of the battery reaches the target power.
[0150] In an exemplary embodiment, a charging control device is provided. In this device, the prompt module is configured to:
[0151] Issue a second prompt message when the remaining power of the battery reaches the first preset power.
[0152] In an exemplary embodiment, a charging control device is provided. In this device, the prompt module is configured to:
[0153] Issue a third prompt message to the user according to the charging mode.
[0154] In an exemplary embodiment, a charging control device is provided. The device further includes:
[0155] A display module configured to keep the displayed second battery percentage unchanged in response to a switching operation by a user.
[0156] In the case of charging the battery, if the increase in the remaining battery power is greater than a third preset power and the first battery percentage is greater than the second battery percentage, the displayed second battery percentage is adjusted to the first battery percentage.
[0157] In the case of not charging the battery, if the decrease in the remaining battery power is greater than a fourth preset power and the first battery percentage is less than the second battery percentage, the displayed second battery percentage is adjusted to the first battery percentage.
[0158] In one exemplary embodiment, an electronic device is provided. The electronic device can be, for example, a mobile phone, a laptop computer, a tablet computer, a wearable device, etc.
[0159] Reference Figure 8 As shown, the electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, an audio component 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.
[0160] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.
[0161] The memory 404 is configured to store various types of data to support the operation of the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 may be implemented by any type of volatile or non-volatile storage terminal 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 memory, flash memory, a magnetic disk, or an optical disc.
[0162] The power supply component 406 provides power for various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 400.
[0163] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 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 can be implemented as a touch screen 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 can not only sense the boundaries of the touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operations. In some embodiments, the multimedia component 408 includes a front camera module and / or a rear camera module. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera module and / or the rear camera module can receive external multimedia data. Each of the front camera module and the rear camera module can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0164] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 400 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the audio component 410 further includes a speaker for outputting audio signals.
[0165] The I / O interface 412 provides an interface between the processing component 402 and a peripheral interface module, and the peripheral interface module can be a keyboard, a click wheel, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0166] The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects for the electronic device 400. For example, the sensor assembly 414 can detect the on / off state of the electronic device 400, the relative positioning of components, such as the display and keypad of the electronic device 400. The sensor assembly 414 can also detect a change in the position of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 can also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0167] The communication component 416 is configured to facilitate communication between the electronic device 400 and other terminals in a wired or wireless manner. The electronic device 400 can access a wireless network based on communication standards, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0168] In an exemplary embodiment, the electronic device 400 can 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 for performing the above-described methods.
[0169] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the above instructions can be executed by the processor 420 of the electronic device 400 to complete the above methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc. When the instructions in the storage medium are executed by the processor of the terminal, the terminal can execute the methods shown in the above embodiments.
[0170] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.
[0171] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0172] It should be understood that the present disclosure is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A charging control method, characterized in that, The charging control method includes: Determine the charging mode of the battery; According to the charging mode, determine the target power when the battery is fully charged; Charge the battery until the remaining power of the battery reaches the target power.
2. The charging control method according to claim 1, wherein The determining the target power when the battery is fully charged according to the charging mode includes: When the charging mode is the first preset mode, determine that the target power is the first preset power; When the charging mode is the second preset mode, determine that the target power is the second preset power; Wherein, the first preset power is less than the second preset power.
3. The charging control method according to claim 2, wherein The first preset power is the rated power of the battery, and the second preset power is the maximum power of the battery.
4. The charging control method according to claim 2, wherein When the charging mode is the first preset mode and when the charging mode is the second preset mode, the charging method of the battery is the same preset charging method.
5. The charging control method according to claim 1, characterized in that After charging the battery, the charging control method further includes: In response to a switching operation of the user, send a first prompt message, where the first prompt message is used to prompt the user that the charging mode is switched after stopping charging the battery; When stopping charging the battery, switch the charging mode.
6. The charging control method according to claim 1, wherein After charging the battery, the charging control method further includes: When the remaining power of the battery reaches the target power, send a second prompt message; or, When the remaining power of the battery reaches the first preset power, send a second prompt message; Wherein, the second prompt message is used to prompt the user that the battery is fully charged.
7. The charging control method according to any one of claims 1 to 6, characterized in that After determining the target power when the battery is fully charged according to the charging mode, the charging control method further includes: Determine a first ratio of the remaining power of the battery to the target power; Use the first ratio as the first power percentage; or, Determine a second ratio of the remaining power of the battery to the first preset power; Use the second ratio as the first power percentage; When the first power percentage is greater than the preset power percentage, set the first power percentage to the preset power percentage.
8. The charging control method according to claim 7, wherein The charging control method further includes: In response to a switching operation of the user, keep the displayed second power percentage unchanged; When charging the battery, if the increase in the remaining power of the battery is greater than the third preset power and the first power percentage is greater than the second power percentage, adjust the displayed second power percentage to the first power percentage; When not charging the battery, if the decrease in the remaining power of the battery is greater than the fourth preset power and the first power percentage is less than the second power percentage, adjust the displayed second power percentage to the first power percentage.
9. The charging control method according to any one of claims 1 to 6, characterized in that, After charging the battery, the charging control method further includes: According to the charging mode, send a third prompt message to the user, where the third prompt message is used to prompt the user of the charging mode when the battery is charging.
10. A charging control device, characterized in that, The charging control device includes: A first determination module, the first determination module being configured to determine a charging mode of a battery; A second determination module, the second determination module being configured to determine a target power when the battery is fully charged according to the charging mode; A control module, the control module being configured to charge the battery until a remaining power of the battery reaches the target power.
11. An electronic device, characterized in that, The electronic device includes: A processor; A memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the charging control method according to any one of claims 1 to 9.
12. A non-transitory computer-readable storage medium, characterized in that, When instructions in the storage medium are executed by a processor of a terminal, the terminal is enabled to execute the charging control method according to any one of claims 1 to 9.