Power-on control method and apparatus, and electronic device and readable storage medium

By controlling the power management unit to disconnect the path between the charging device and the battery module and detecting the second voltage parameter of the battery module, the problem of repeated power-on and power-off of electronic devices during battery module charging is solved, thus improving charging efficiency.

WO2026092324A1PCT designated stage Publication Date: 2026-05-07VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2025-10-24
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

During the battery module charging process, the electronic device repeatedly turns on and off due to inaccurate voltage detection, resulting in excessively long charging time.

Method used

By controlling the power management unit to disconnect the path between the charging device and the battery module, the second voltage parameter of the battery module is detected, and the power-on operation is performed only after ensuring that it is greater than or equal to the preset voltage parameter.

Benefits of technology

This reduces the time required for electronic devices to power on during battery module charging and avoids power outages caused by inaccurate voltage parameters.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025129896_07052026_PF_FP_ABST
    Figure CN2025129896_07052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of terminals. Disclosed are a power-on control method and apparatus, and an electronic device and a readable storage medium. The power-on control method provided in the embodiments of the present application may comprise: when a battery module of an electronic device is charged by means of a charging device and a first voltage parameter of the battery module is greater than or equal to a preset voltage parameter, controlling a power management unit of the electronic device to disconnect a path between the charging device and the battery module; controlling the power management unit to detect a second voltage parameter of the battery module; and when the second voltage parameter is greater than or equal to the preset voltage parameter, executing a power-on operation if the electronic device is in a power-off state.
Need to check novelty before this filing date? Find Prior Art

Description

Power-on control methods, devices, electronic equipment and readable storage media

[0001] This application claims priority to Chinese Patent Application No. 202411522143.9, filed on October 29, 2024, entitled "Power-on control method, apparatus, electronic device and readable storage medium", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application belongs to the field of terminal technology, specifically relating to a power-on control method, device, electronic device, and readable storage medium. Background Technology

[0003] To prevent battery module bulging due to low voltage, a preset voltage parameter can be set in the electronic device. When the device is powered on, if the power management unit (PMU) detects that the battery module voltage is lower than the preset voltage parameter, it can shut down the device. Conversely, if the PMU detects that the battery module voltage is greater than or equal to the preset voltage parameter while the battery is charging, it can power on the device.

[0004] However, during the charging process of the battery module, the charging process may affect the PMU's detection of the battery module, causing the voltage parameter detected by the PMU to be higher than the actual voltage parameter of the battery module. In this case, the voltage parameter detected by the PMU may be higher than the preset voltage parameter, while the actual voltage parameter of the battery module may be lower than the preset voltage parameter. In this situation, the electronic device will perform a power-on operation, and then perform a power-off operation again after a short period of time because the PMU detects that the actual voltage parameter of the battery module is lower than the preset voltage parameter. This process repeats, resulting in a long time for the electronic device to perform the power-on operation during the charging process of the battery module. Summary of the Invention

[0005] The purpose of this application is to provide a power-on control method, device, electronic device, and readable storage medium that can solve the problem of long time consumption when the electronic device performs the power-on operation during the charging process of the battery module.

[0006] In a first aspect, embodiments of this application provide a power-on control method, the method comprising: when the battery module of an electronic device is charged by a charging device and a first voltage parameter of the battery module is greater than or equal to a preset voltage parameter, controlling the power management unit of the electronic device to disconnect the path between the charging device and the battery module; controlling the power management unit to detect a second voltage parameter of the battery module; and if the electronic device is in a power-off state when the second voltage parameter is greater than or equal to the preset voltage parameter, performing a power-on operation.

[0007] Secondly, embodiments of this application provide a power-on control device, which includes a control module and an execution module. The control module is configured to, when the battery module of the power-on control device is being charged by a charging device and a first voltage parameter of the battery module is greater than or equal to a preset voltage parameter, control the power management unit of the power-on control device to disconnect the path between the charging device and the battery module; and control the power management unit to detect a second voltage parameter of the battery module. The execution module is configured to, if the power-on control device is in a power-off state, perform a power-on operation when the second voltage parameter detected by the power management unit under the control of the control module is greater than or equal to the preset voltage parameter.

[0008] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0009] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0010] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the method described in the first aspect.

[0011] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the steps of the method described in the first aspect.

[0012] In the embodiment of the present application, the electronic device can control the power management unit of the electronic device to disconnect the path between the charging device and the battery module when the battery module is charged by the charging device and the first voltage parameter of the battery module is greater than or equal to the preset voltage parameter, and control the power management unit to detect the second voltage parameter of the battery module, so that when the second voltage parameter is greater than or equal to the preset voltage parameter, the electronic device can perform the power-on operation if the electronic device is in the power-off state. Since when the battery module is charged by the charging device, if it is detected that the first voltage parameter of the battery module is greater than or equal to the preset voltage parameter, the electronic device can not perform the power-on operation first, but control the power management unit to disconnect the path between the charging device and the battery module to stop charging the battery module, and detect the second voltage parameter of the battery module again. In this way, the influence of the battery module on the power management unit during charging can be avoided to ensure that the second voltage parameter is the actual voltage parameter of the battery module. In this way, the electronic device can perform the power-on operation only when the second voltage parameter is greater than or equal to the preset voltage parameter, i.e., when the actual voltage parameter of the battery module is greater than or equal to the preset voltage parameter, instead of directly performing the power-on operation when the detected voltage parameter of the battery module (i.e., the first voltage parameter) is greater than or equal to the preset voltage parameter. Therefore, the situation that the electronic device performs the power-off operation due to the actual voltage parameter of the battery module being less than the preset voltage parameter after performing the power-on operation can be avoided, so that the time consumption of the electronic device performing the power-on operation during charging of the battery module can be reduced. BRIEF DESCRIPTION OF DRAWINGS

[0013] FIG. 1 is a structural schematic diagram of a battery module in the related art;

[0014] FIG. 2 is a flowchart of a power-on control method according to an embodiment of the present application;

[0015] FIG. 3 is a circuit structure schematic diagram of an electronic device;

[0016] FIG. 4 is a flowchart of a power-on control method according to an embodiment of the present application;

[0017] FIG. 5 is a flowchart of a power-on control method according to an embodiment of the present application;

[0018] FIG. 6 is a flowchart of a power-on control method according to an embodiment of the present application;

[0019] FIG. 7 is a structural schematic diagram of a power-on control device according to an embodiment of the present application;

[0020] FIG. 8 is a hardware structure schematic diagram of an electronic device according to an embodiment of the present application;

[0021] FIG. 9 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art belong to the scope of protection of the present application.

[0023] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0024] The terms "at least one", "at least one of", and the like in the specification and claims of the present application refer to any one of the objects, a combination of any two or more of the objects. For example, at least one of a, b, and c can mean "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more, and has a similar meaning to "at least one".

[0025] The boot control method, device, electronic device, and readable storage medium provided by the embodiments of the present application will be described in detail below with reference to the drawings, through specific embodiments and their application scenarios.

[0026] Generally, in order to avoid the phenomenon of battery module bulging due to the voltage of the battery module being too low, a preset voltage parameter, such as the shutdown voltage parameter (for example, 3.0 volts V) described above, can be set in the electronic device, so that when the electronic device is in a powered-on state, if the PMU of the electronic device detects that the voltage parameter of the battery module is less than 3.0V, the electronic device can perform a shutdown operation, and during charging of the battery module, if the PMU detects that the voltage parameter of the battery module is greater than or equal to 3.0V, the electronic device performs a power-on operation. However, the applicant found in actual application that when the voltage parameter of the battery module is less than 3.0V, the electronic device will perform a shutdown operation, and as shown in FIG. 1, the switch tube Q1 and the switch tube Q2 in the battery module 1 will be turned off, so that when the battery module 1 is charged, the charging circuit will flow through the diode D1 and the diode D2 in the battery module, and it may take a certain voltage (for example, 1.4v) to turn on the diode D1 and the diode D2, so that when detecting the voltage parameter of the battery module 1, the detected voltage parameter of the battery module 1 may be higher than the actual voltage parameter of the battery cell 2 in the battery module 1 due to the influence of the diode D1 and the diode D2. In the related art, when the detected voltage parameter of the battery module 1 is greater than or equal to 3.0V, the power-on operation is directly performed, so that the switch tube Q1 and the switch tube Q2 in the battery module are turned on, and the electronic device detects that the voltage parameter of the battery module 1 (since the switch tube Q1 and the switch tube Q2 in the battery module 1 are turned on, the voltage parameter of the battery module 1 detected at this time is the actual voltage parameter of the battery cell 2 in the battery module), is less than 3.0V, so that the electronic device will appear power failure (for example, instantaneous black screen), so the electronic device will repeatedly perform the power-on operation, and therefore, the electronic device takes a long time to perform the power-on operation during charging of the battery module 1.

[0027] However, in this embodiment, the electronic device can control its power management unit to disconnect the connection between the charging device and the battery module when the battery module is being charged by the charging device and the first voltage parameter of the battery module is greater than or equal to a preset voltage parameter. The power management unit then detects the second voltage parameter of the battery module. If the electronic device is in a powered-off state when the second voltage parameter is greater than or equal to the preset voltage parameter, the electronic device can perform a power-on operation. Since, when the battery module is being charged by the charging device, if the first voltage parameter of the battery module is detected to be greater than or equal to the preset voltage parameter, the electronic device can first stop the power-on operation by disconnecting the connection between the charging device and the battery module, thus stopping the charging of the battery module, and then re-detecting the second voltage parameter of the battery module. This avoids the impact of the battery module charging on the power management unit's detection of the battery module, ensuring that the second voltage parameter is the actual voltage parameter of the battery module. In this way, the electronic device can only perform the power-on operation when the second voltage parameter is greater than or equal to the preset voltage parameter, that is, when the actual voltage parameter of the battery module is greater than or equal to the preset voltage parameter, instead of directly performing the power-on operation when the detected voltage parameter of the battery module (i.e., the first voltage parameter) is greater than or equal to the preset voltage parameter. Therefore, it can avoid the situation where the electronic device loses power after the power-on operation is performed because the actual voltage parameter of the battery module is less than the preset voltage parameter. This reduces the time spent by the electronic device performing the power-on operation during the charging process of the battery module.

[0028] The power-on control method provided in this application can be executed by a power-on control device, an electronic device, or a functional module or entity within an electronic device. This application uses an electronic device executing the power-on control method as an example to illustrate the power-on control method provided in this application.

[0029] Figure 2 shows a schematic flowchart of the power-on control method provided in an embodiment of this application. As shown in Figure 2, the power-on control method provided in an embodiment of this application may include the following steps 101 to 103.

[0030] Step 101: When the electronic device charges the battery module of the electronic device through the charging device and the first voltage parameter of the battery module is greater than or equal to the preset voltage parameter, the power management unit of the electronic device controls the power management unit of the electronic device to disconnect the path between the charging device and the battery module.

[0031] In some embodiments of this application, the charging device may include at least one of the following: a charger, an external power supply, a portable charging device, etc. Of course, the charging device may also be other types of charging devices, and this application does not limit the specific type of charging device described herein.

[0032] In some embodiments of this application, the battery module described above is a silicon anode battery module. Of course, the battery module can also be other types of battery modules, and this application does not limit the specific types of battery modules described herein.

[0033] In some embodiments of this application, the aforementioned first voltage parameter can specifically be a voltage value. The aforementioned preset voltage parameter can specifically be a preset voltage value, which can be the shutdown voltage value of the electronic device. This shutdown voltage value can be 'a', where 'a' is a positive number, for example, 'a' can be 3.0 volts.

[0034] In some embodiments of this application, as shown in FIG3, the electronic device includes a charging port 10, a first switching transistor Q3, an overvoltage protection circuit 11, a power management unit 12, a main fast charging circuit 13, a secondary fast charging circuit 14, a power supply circuit 15, a battery module 16 (i.e., the circuit structure within the area enclosed by the dashed box in FIG3), and a processing module 17. One end of the charging port 10 is connected to the source terminal of the first switching transistor Q3, and the drain terminal of the first switching transistor Q3 is connected to the overvoltage protection circuit 11. The power management unit 12 includes a second switching transistor Q5 and a third switching transistor Q4. The source terminal of the second switching transistor Q5 is connected to the overvoltage protection circuit 11, and the drain terminal of the second switching transistor Q5 is connected to the source terminal of the third switching transistor Q4. The drain terminal of the third switching transistor Q4 is connected to the positive terminal of the battery module 16. Furthermore, the power management unit 12 is also connected to the positive and negative terminals of the battery module 16 via VSENEN_P and VSENEN_M, respectively. The battery module 16 includes a battery cell 161, a fourth switch Q1, and a fifth switch Q2. The positive terminal of the battery cell 161 can be understood as the positive terminal of the battery module 16. The negative terminal of the battery cell 161 is connected to the source terminal of the fourth switch Q1, and the drain terminal of the fourth switch Q1 is connected to the source terminal of the fifth switch Q2. The drain terminal of the fifth switch Q2 can be understood as the negative terminal of the battery module 16. The source terminal of the fourth switch Q1 is also connected to the positive terminal of diode D1, and the negative terminal of diode D1 is connected to the drain terminal of the fourth switch Q1. Similarly, the source terminal of the fifth switch Q2 is connected to the positive terminal of diode D2, and the negative terminal of diode D2 is connected to the drain terminal of the fifth switch Q2. The drain terminal of the first switch Q3 is also connected to the main fast charging circuit 13 and the auxiliary fast charging circuit 14, which are also connected to the positive terminal of the battery module 16. The power management unit 12 is also connected to the power circuit 15, which is in turn connected to the processing module 17. The power circuit 15 can also be connected to other load components in the electronic device, which may include at least one of the following: screen, speaker, camera module, etc. The processing module 17 is also connected to the main fast charging circuit 13 and the auxiliary fast charging circuit 14.

[0035] The charging port 10 can be a Type-C port. However, other types of ports are not limited in this embodiment. The overvoltage protection circuit 11 adjusts the voltage output from the drain terminal of the third switching transistor Q4 to prevent damage to the power management unit 12. The power management unit 12 controls the charging of the battery module 16 or controls the supply of power to the power circuit 15. The processing module 17 may include at least one of the following: an application processor (AP) or a central processing unit (CPU). The processing module 17 is used to connect or disconnect the main fast charging circuit 13 and the battery module 16, or to connect or disconnect the secondary fast charging circuit 14 and the battery module 16, to fast charge the battery module 16.

[0036] Therefore, when the voltage parameter of battery module 16 is greater than or equal to the preset voltage parameter, the first switch Q3 and the second switch Q5 are turned off, while the third switch Q3, the fourth switch Q1, and the fifth switch Q2 are turned on. Thus, battery module 16 can supply power to power circuit 15 through power management unit 12, and power circuit 15 can then supply power to processing module 17 and the other load components, allowing the user to use the electronic device. However, during the user's use of the electronic device, the voltage of battery module 16 continuously decreases. When the voltage of battery module 16 falls below the preset voltage parameter, the electronic device performs a shutdown operation, and the fourth switch Q1 and the fifth switch Q2 are turned off.

[0037] Next, with the charging port 10 inserted into the power output terminal of the charging device, the electronic device system can control the first switch Q3 to turn on, and the power management unit 12 can control the second switch Q5 and the third switch Q4 to turn on, so that the path between the power output terminal of the charging device and the battery module 16 is connected, allowing the electronic device to charge the battery module 16 through the charging device. At this time, the power management unit 12 can detect the first voltage parameter of the battery module 16 through VSENEN_P and VSENEN_M. Here, because the fourth switch Q1 and the fifth switch Q2 are off, the charging current can flow through diodes D1 and D2. However, diodes D1 and D2 need to be turned on with a certain voltage (e.g., 1.4V). Therefore, the first voltage parameter of the battery module 16 at this time is the sum of the voltage parameters of cell 161, diodes D1 and D2, that is, the first voltage parameter is not the actual voltage parameter of the battery module 16 (i.e., the voltage parameter of cell 161), meaning the first voltage parameter is inaccurate.

[0038] During the charging process of the charging device, the voltage parameter of the cell 161 in the battery module 16 continuously increases. When the voltage of the cell 161 is greater than or equal to a voltage parameter (e.g., 2.6V), the fourth switch Q1 is turned on. When the voltage of the cell 161 is greater than or equal to another voltage parameter (e.g., 2.1V), the fifth switch Q2 is turned on, so that the charging current can flow directly through the fourth switch Q1 and the fifth switch Q2.

[0039] In this embodiment, if the first voltage parameter is greater than or equal to the preset voltage parameter, it can be assumed that the voltage parameter of the battery module 16 may be greater than or equal to the preset voltage parameter. Therefore, in order to avoid the impact on the power management unit 12's detection of the voltage parameter of the battery module 16 due to the charging of the battery module 16, the electronic device can control the power management unit 12 to disconnect the path between the charging device and the battery module 16.

[0040] In some embodiments of this application, when the first voltage parameter is greater than or equal to the preset voltage parameter, the voltage of the battery cell 161 is greater than or equal to one of the voltage parameters (e.g., 2.6V) and another voltage parameter (e.g., 2.1V). At this time, the fourth switch Q1 and the fifth switch Q2 are turned on, so that the charging current can flow directly through the fourth switch Q1 and the fifth switch Q2.

[0041] In some embodiments of this application, the electronic device can control the power management unit 12 to disconnect the third switch Q4 to disconnect the path between the charging device and the battery module 16, thereby stopping the charging of the battery module 16 through the charging device.

[0042] Step 102: The electronic device controls the power management unit to detect the second voltage parameter of the battery module.

[0043] In some embodiments of this application, the power management unit can detect the second voltage parameters of the battery module 16 via VSENEN_P and VSENEN_M.

[0044] In this embodiment, since the fourth switch Q1 and the fifth switch Q2 are turned on when the first voltage parameter is greater than or equal to the preset voltage parameter, and the fourth switch Q1 and the fifth switch Q2 do not require voltage to be applied, the actual voltage parameter of the battery module 16 can be obtained at this time, that is, the second voltage parameter is the actual voltage parameter of the battery module 16.

[0045] In some embodiments of this application, the electronic device may delay for a preset period of time before detecting the second voltage parameter when the power management unit of the electronic device disconnects the path between the charging device and the battery module. In some examples, referring to FIG2 and FIG4, the above step 102 can be specifically implemented by the following step 102a.

[0046] Step 102a: At the first moment, the electronic device controls the power management unit to detect the second voltage parameter.

[0047] In this embodiment of the application, the first moment is the moment after a first preset time period starting from the second moment, and the second moment is the moment when the connection between the charging device and the battery module is disconnected.

[0048] In some embodiments of this application, the aforementioned first preset duration may be a multiple of the first duration. Here, the first duration is the standard delay duration for over-discharge detection of battery module 16. This "standard delay duration for over-discharge detection of battery module 16" can be understood as the delay duration between the current detection of the voltage parameters of battery module 16 and the previous detection of the voltage parameters of battery module 16 when the fourth switch Q1 and the fifth switch Q2 in battery module 16 are disconnected.

[0049] In some examples, the first preset duration can be b times the first duration, where b is 1. That is, the first preset duration can be equal to the first duration.

[0050] It is understandable that the time for disconnecting the connection between the charging device and the battery module 16 cannot be too short or too long. If it is too short, the power management unit 12 may be unable to detect the voltage parameters of the battery module 16 again; if it is too long, the battery module 16 may discharge, resulting in inaccurate voltage parameters. Therefore, the first preset duration can be set as a first duration so that when the second voltage parameter of the battery module 16 is obtained, at the first moment, that is, when the power management unit 12 can detect the voltage parameters of the battery module 16 again, the electronic device can control the power management unit 12 to detect the second voltage parameter.

[0051] It should be noted that "too short a time" can be understood as: a time less than the first preset time threshold; "too long a time" can be understood as: a time greater than or equal to the second preset time threshold.

[0052] Thus, since the electronic device can control the power management unit to detect the second voltage parameter at a first moment after the second moment when the path between the charging device and the battery module is disconnected, it can avoid a large deviation between the detected second voltage parameter and the actual voltage parameter of the battery module, thereby ensuring the accuracy of the second voltage parameter.

[0053] Step 103: If the electronic device is in a powered-off state when the second voltage parameter is greater than or equal to the preset voltage parameter, then the power-on operation is performed.

[0054] In this embodiment of the application, if the second voltage parameter is greater than or equal to the preset voltage parameter, it can be considered that the voltage parameter of the battery cell 161 is greater than or equal to the preset voltage parameter. That is, after the power-on operation is performed, the voltage parameter of the battery cell 161 will not be less than the preset voltage parameter in a short period of time due to the large load. In other words, after the power-on operation is performed, the electronic device will not lose power in a short period of time. Therefore, if the electronic device is in the off state, the electronic device can directly perform the power-on operation.

[0055] It should be noted that the aforementioned "short time" can be understood as: a time less than the third preset time threshold.

[0056] In some embodiments of this application, the electronic device system can generate a power-on command and send the power-on command to the processing module 17, so that the processing module 17 can perform a power-on operation according to the power-on command.

[0057] Of course, after the electronic device performs the power-on operation, in order to prevent the voltage parameter of the battery module 16 from dropping too quickly to below the preset voltage parameter and causing the electronic device to lose power, the electronic device can continue to charge the battery module 16 through the charging device. In some examples, the power-on control method provided in this application embodiment may also include the following step 201.

[0058] Step 201: When the second voltage parameter is greater than or equal to the preset voltage parameter, the electronic device controls the power management unit to open the path between the charging device and the battery module.

[0059] It should be noted that the execution order between steps 201 and 103 is not limited in this embodiment. In one example, the electronic device may execute step 103 first and then step 201; in another example, the electronic device may execute step 201 first and then step 103; in yet another example, the electronic device may execute step 201 while executing step 103.

[0060] In some embodiments of this application, the electronic device can control the power management unit 12 to turn on the third switch Q4 to open the path between the charging device and the battery module 16, so that the battery module 16 can continue to be charged by the charging device.

[0061] Thus, it can be seen that when the second voltage parameter is greater than or equal to the preset voltage parameter, the electronic device can also control the power management unit to conduct the path between the charging device and the battery module, so that the charging device can continue to charge the battery module. Therefore, it can avoid the electronic device losing power in a short period of time after the power-on operation is performed.

[0062] This application provides a power-on control method. When an electronic device's battery module is being charged by a charging device, and the battery module's first voltage parameter is greater than or equal to a preset voltage parameter, the electronic device's power management unit (PMU) can disconnect the connection between the charging device and the battery module. The PMU then detects the battery module's second voltage parameter. If the electronic device is in a powered-off state when the second voltage parameter is greater than or equal to the preset voltage parameter, the electronic device can perform a power-on operation. Because when the battery module is being charged by the charging device, if the first voltage parameter of the battery module is detected to be greater than or equal to the preset voltage parameter, the electronic device can first stop the power-on operation by disconnecting the connection between the charging device and the battery module, thus stopping the charging of the battery module, and then re-detecting the second voltage parameter of the battery module. This avoids the impact of the battery module charging on the PMU's detection of the battery module, ensuring that the second voltage parameter is the actual voltage parameter of the battery module. In this way, the electronic device can only perform the power-on operation when the second voltage parameter is greater than or equal to the preset voltage parameter, that is, when the actual voltage parameter of the battery module is greater than or equal to the preset voltage parameter, instead of directly performing the power-on operation when the detected voltage parameter of the battery module (i.e., the first voltage parameter) is greater than or equal to the preset voltage parameter. Therefore, it can avoid the situation where the electronic device performs a power-on operation after the power-on operation is performed because the actual voltage parameter of the battery module is less than the preset voltage parameter, thus reducing the time spent by the electronic device performing the power-on operation during the charging process of the battery module.

[0063] In some embodiments of this application, after the battery module 16 continues to be charged by the charging device, if the power management unit 12 detects that the voltage parameter of the battery module 16 is greater than or equal to a predetermined voltage parameter, the processing module 17 can control the main fast charging circuit 13 and the auxiliary fast charging circuit 14 to be connected to the battery module 16, so that the battery module 16 can be fast charged through the main fast charging circuit 13 and the auxiliary fast charging circuit 14.

[0064] Of course, there may also be a situation where the second voltage parameter is less than the preset voltage parameter. In this case, the electronic device can determine that the actual voltage parameter of the battery module 16 is less than the preset voltage parameter and will not perform the power-on operation. An example will be given below.

[0065] In some embodiments of this application, referring to FIG2 and FIG5, step 103 above can also be replaced by step 104 below.

[0066] Step 104: If the second voltage parameter is less than the preset voltage parameter, the electronic device will not perform the power-on operation and will control the power management unit to connect the path between the charging device and the battery module.

[0067] In this embodiment, if the second voltage parameter is less than the preset voltage parameter, it can be assumed that the actual voltage parameter of the battery module 16 is less than the preset voltage parameter. If the power-on operation is performed, the electronic device may lose power in a short period of time. Therefore, the electronic device may not perform the power-on operation and control the power management unit 12 to conduct the path between the charging device and the battery module 16 so that the battery module 16 can continue to be charged by the charging device.

[0068] Thus, it can be seen that since the electronic device can not perform the power-on operation when the second voltage parameter is less than the preset voltage parameter, that is, when the actual voltage parameter of the battery module 16 is less than the preset voltage parameter, the situation of the electronic device losing power shortly after the power-on operation can be avoided.

[0069] In some embodiments of this application, after step 104 above, the power-on control method provided in the embodiments of this application may further include steps 105 to 107 as described below.

[0070] Step 105: At the third moment, the electronic device controls the power management unit to disconnect the path between the charging device and the battery module. In this embodiment, the aforementioned third moment is a moment after a second preset time period starting from the fourth moment, and the fourth moment is the moment when the path between the charging device and the battery module is reconnected.

[0071] In some embodiments of this application, the second preset duration may be equal to or not equal to the first preset duration.

[0072] It should be noted that the explanation of the second preset duration can be found in the specific description in the above embodiments, and will not be repeated here in the embodiments of this application.

[0073] Step 106: The electronic device control power management unit detects the third voltage parameter of the battery module.

[0074] It should be noted that, for the description of the third voltage parameter of the battery module detected by the power management unit of the electronic device, please refer to the specific description of the second voltage parameter of the battery module detected by the power management unit of the electronic device in the above embodiments. The embodiments of this application will not repeat it here.

[0075] Step 107: If the electronic device is in a powered-off state when the third voltage parameter is greater than or equal to the preset voltage parameter, then the power-on operation is performed.

[0076] Thus, it can be seen that after the electronic device does not perform the power-on operation, it can control the power management unit to disconnect the path between the charging device and the battery module again at the third moment, and control the power management unit to detect the third voltage parameter of the battery module again. If the third voltage parameter is greater than or equal to the preset voltage parameter, the power-on operation is performed. Therefore, the electronic device can perform the power-on operation in a timely manner while avoiding the situation where the electronic device loses power in a short time after the power-on operation is performed.

[0077] The specific process of the power-on control method provided in the embodiments of this application will be illustrated below with specific examples.

[0078] Referring to Figure 3 and as shown in Figure 6, the power-on control method provided in this application embodiment may include the following steps:

[0079] Step 1: The power output terminal of the charging device is inserted into the charging port 10 of the electronic device. At this time, the power management unit 12 controls the fourth switch Q1 and the fifth switch Q2 to turn on, so that the charging device charges the battery module 16. During the charging process, the power management unit 12 can detect the voltage parameter 1 (e.g., the first voltage parameter) of the battery module 16 through VSENSE_P and VSENSE_M.

[0080] Step 2: When voltage parameter 1 is greater than or equal to the preset voltage parameter (e.g., 3.0V), the power management unit 12 can disconnect the third switch Q4.

[0081] Step 3: After a preset time (e.g., 20 milliseconds) following the moment when the third switch Q4 is disconnected, the power management unit 12 detects the voltage parameter 2 (e.g., the second voltage parameter or the third voltage parameter) of the battery module 16 again through VSENSE_P and VSENSE_M, and determines whether the voltage parameter 2 is greater than or equal to the preset voltage parameter mentioned above.

[0082] Step 4: If it is determined that voltage parameter 2 is greater than or equal to the preset voltage parameter, and the electronic device is in a powered-off state, then the electronic device performs a power-on operation. At this time, the electronic device displays a charging icon and controls the power management unit 12 to turn on the third switch Q4 to continue charging the battery module 16 through the charging device.

[0083] Step 5: The electronic device is fully charged.

[0084] Step 6: If it is determined that the voltage parameter 2 is less than the above-mentioned preset voltage parameter, the power management unit 12 turns on the third switch Q4 to continue charging the battery module 16 through the charging device, and repeats the above-mentioned step 2 after a second preset time (e.g., X seconds) after the moment when the third switch Q4 is turned on, where X is a positive integer.

[0085] The power-on control method provided in this application can be executed by a power-on control device. This application uses the example of a power-on control device executing the power-on control method to illustrate the power-on control device provided in this application.

[0086] Figure 7 shows a schematic diagram of the power-on control device provided in an embodiment of this application. As shown in Figure 7, the power-on control device 30 provided in an embodiment of this application may include: a control module 31 and an execution module 32.

[0087] The control module 31 is used to control the power management unit of the power-on control device 30 to disconnect the path between the charging device and the battery module when the battery module of the power-on control device 30 is being charged by the charging device and the first voltage parameter of the battery module is greater than or equal to a preset voltage parameter; and to control the power management unit to detect the second voltage parameter of the battery module. The execution module 32 is used to execute a power-on operation if the power-on control device 30 is in a power-off state when the second voltage parameter detected by the power management unit controlled by the control module 31 is greater than or equal to the preset voltage parameter.

[0088] This application provides a power-on control device. When the battery module of the power-on control device is being charged by a charging device, if the first voltage parameter of the battery module is detected to be greater than or equal to a preset voltage parameter, the power-on control device can first control the power management unit to disconnect the path between the charging device and the battery module to stop charging the battery module, and then detect the second voltage parameter of the battery module again. This avoids the influence of the battery module charging on the power management unit's detection of the battery module, ensuring that the second voltage parameter is the actual voltage parameter of the battery module. In this way, the power-on control device can only perform the power-on operation when the second voltage parameter is greater than or equal to the preset voltage parameter, that is, when the actual voltage parameter of the battery module is greater than or equal to the preset voltage parameter, instead of directly performing the power-on operation when the detected voltage parameter of the battery module (i.e., the first voltage parameter) is greater than or equal to the preset voltage parameter. Therefore, it can avoid the situation where the power-on control device performs a power-off operation after the power-on operation is performed because the actual voltage parameter of the battery module is less than the preset voltage parameter, thus reducing the time consumed by the power-on control device to perform the power-on operation during the charging process of the battery module.

[0089] In one possible implementation, the control module 31 is specifically used to control the power management unit to detect the second voltage parameter at a first moment; wherein the first moment is a moment after a first preset time period from the second moment, and the second moment is the moment when the connection between the charging device and the battery module is disconnected.

[0090] In one possible implementation, the control module 31 is further configured to control the power management unit to open the path between the charging device and the battery module when the second voltage parameter is greater than or equal to the preset voltage parameter.

[0091] In one possible implementation, the execution module 32 is further configured to not perform the power-on operation when the second voltage parameter is less than the preset voltage parameter, and to control the power management unit to connect the path between the charging device and the battery module.

[0092] In one possible implementation, the control module 31 is further configured to, after the power management unit connects the charging device and the battery module, disconnect the connection between the charging device and the battery module at a third time; and to detect a third voltage parameter of the battery module. The execution module 32 is further configured to, if the power-on control device 30 is in a power-off state, perform a power-on operation if the third voltage parameter detected by the power management unit is greater than or equal to a preset voltage parameter; wherein the third time is a time after a second preset duration from a fourth time, and the fourth time is the time when the connection between the charging device and the battery module is established.

[0093] The power-on control device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.

[0094] The power-on control device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0095] The power-on control device provided in this application embodiment can realize the various processes implemented in the method embodiments of Figures 2 to 6. To avoid repetition, it will not be described again here.

[0096] In some embodiments of this application, as shown in FIG8, this application also provides an electronic device 40, including a processor 41 and a memory 42. The memory 42 stores a program or instructions that can run on the processor 41. When the program or instructions are executed by the processor 41, they implement the various process steps of the above-described power-on control method embodiments and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0097] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0098] Figure 9 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.

[0099] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0100] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in Figure 9 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0101] The processor 110 is configured to, when the battery module of the electronic device is being charged by the charging device and the first voltage parameter of the battery module is greater than or equal to a preset voltage parameter, control the power management unit of the electronic device to disconnect the path between the charging device and the battery module; and control the power management unit to detect the second voltage parameter of the battery module; and, if the electronic device is in a powered-off state when the second voltage parameter is greater than or equal to the preset voltage parameter, perform a power-on operation.

[0102] This application provides a power-on control method. When charging the battery module of an electronic device using a charging device, if the first voltage parameter of the battery module is detected to be greater than or equal to a preset voltage parameter, the electronic device can first control the power management unit to disconnect the path between the charging device and the battery module to stop charging the battery module, and then detect the second voltage parameter of the battery module again. This avoids the influence of the battery module charging on the power management unit's detection of the battery module, ensuring that the second voltage parameter is the actual voltage parameter of the battery module. In this way, the electronic device can only perform the power-on operation when the second voltage parameter is greater than or equal to the preset voltage parameter, that is, when the actual voltage parameter of the battery module is greater than or equal to the preset voltage parameter, instead of directly performing the power-on operation when the detected voltage parameter of the battery module (i.e., the first voltage parameter) is greater than or equal to the preset voltage parameter. Therefore, it avoids the situation where the electronic device performs a power-on operation after the power-on operation is performed because the actual voltage parameter of the battery module is less than the preset voltage parameter, thus reducing the time spent on the power-on operation during the charging process of the battery module.

[0103] In some embodiments of this application, the processor 110 is specifically configured to control the power management unit to detect a second voltage parameter at a first moment.

[0104] The first moment mentioned above is the moment after a first preset time period starting from the second moment, and the second moment is the moment when the connection between the charging device and the battery module is disconnected.

[0105] In some embodiments of this application, the processor 110 is further configured to control the power management unit to connect the path between the charging device and the battery module when the second voltage parameter is greater than or equal to a preset voltage parameter.

[0106] In some embodiments of this application, the processor 110 is further configured to not perform a power-on operation when the second voltage parameter is less than a preset voltage parameter, and to control the power management unit to connect the path between the charging device and the battery module.

[0107] In some embodiments of this application, the processor 110 is further configured to, after controlling the power management unit to turn on the path between the charging device and the battery module, at a third moment, control the power management unit to turn off the path between the charging device and the battery module; and control the power management unit to detect a third voltage parameter of the battery module; and if the electronic device is in a powered-off state, perform a power-on operation if the third voltage parameter is greater than or equal to a preset voltage parameter.

[0108] The third time mentioned above is the time after the second preset time period starting from the fourth time, and the fourth time is the time when the path between the charging device and the battery module is opened.

[0109] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0110] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0111] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0112] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described power-on control method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0113] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0114] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described power-on control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0115] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0116] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described power-on control method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0117] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0118] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0119] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A power-on control method, comprising: When the battery module of an electronic device is being charged by a charging device, and the first voltage parameter of the battery module is greater than or equal to a preset voltage parameter, the power management unit of the electronic device is controlled to disconnect the path between the charging device and the battery module. The power management unit is controlled to detect the second voltage parameter of the battery module; If the electronic device is in a powered-off state when the second voltage parameter is greater than or equal to the preset voltage parameter, a power-on operation is performed.

2. The method according to claim 1, wherein, The control of the power management unit to detect the second voltage parameter of the battery module includes: At the first moment, the power management unit is controlled to detect the second voltage parameter; Wherein, the first moment is the moment after a first preset time period starting from the second moment, and the second moment is the moment when the connection between the charging device and the battery module is disconnected.

3. The method according to claim 1, wherein, The method further includes: When the second voltage parameter is greater than or equal to the preset voltage parameter, the power management unit is controlled to open the path between the charging device and the battery module.

4. The method according to claim 1, wherein, The method further includes: If the second voltage parameter is less than the preset voltage parameter, the power-on operation is not performed, and the power management unit is controlled to connect the path between the charging device and the battery module.

5. The method according to claim 4, wherein, After the power management unit is controlled to connect the path between the charging device and the battery module, the method further includes: At the third moment, the power management unit is controlled to disconnect the path between the charging device and the battery module; The power management unit is controlled to detect the third voltage parameter of the battery module; If the electronic device is in a powered-off state when the third voltage parameter is greater than or equal to the preset voltage parameter, then a power-on operation is performed. The third time is the time after the second preset time period starting from the fourth time, and the fourth time is the time when the path between the charging device and the battery module is opened.

6. A power-on control device, the power-on control device comprising: Control module and execution module; The control module is configured to, when the battery module of the power-on control device is being charged by the charging device and the first voltage parameter of the battery module is greater than or equal to a preset voltage parameter, control the power management unit of the power-on control device to disconnect the path between the charging device and the battery module; and control the power management unit to detect the second voltage parameter of the battery module. The execution module is configured to perform a power-on operation if the power-on control device is in a power-off state when the second voltage parameter detected by the power management unit under the control of the control module is greater than or equal to the preset voltage parameter.

7. The apparatus according to claim 6, wherein, The control module is specifically used to control the power management unit to detect the second voltage parameter at a first moment; Wherein, the first moment is the moment after a first preset time period starting from the second moment, and the second moment is the moment when the connection between the charging device and the battery module is disconnected.

8. The apparatus according to claim 6, wherein, The control module is further configured to control the power management unit to connect the path between the charging device and the battery module when the second voltage parameter is greater than or equal to the preset voltage parameter.

9. The apparatus according to claim 6, wherein, The execution module is further configured to not perform the power-on operation when the second voltage parameter is less than the preset voltage parameter, and to control the power management unit to connect the path between the charging device and the battery module.

10. The apparatus according to claim 9, wherein, The control module is further configured to, after controlling the power management unit to connect the path between the charging device and the battery module, disconnect the path between the charging device and the battery module at a third time; and control the power management unit to detect a third voltage parameter of the battery module; The execution module is further configured to perform a power-on operation if the power-on control device is in a power-off state when the third voltage parameter detected by the power management unit under the control module is greater than or equal to the preset voltage parameter. The third time is the time after the second preset time period starting from the fourth time, and the fourth time is the time when the path between the charging device and the battery module is opened.

11. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the power-on control method as described in any one of claims 1 to 5.

12. A readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the power-on control method as described in any one of claims 1 to 5.

13. A chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to run a program or instructions to implement the steps of the power-on control method as described in any one of claims 1 to 5.

14. A computer program product stored in a storage medium, the computer program product being executed by at least one processor to implement the steps of the power-on control method as described in any one of claims 1 to 5.

15. An electronic device configured to perform the steps of the power-on control method as claimed in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for automatically starting mobile terminal and mobile terminal

    CN102122202A

  • Method of charging a battery of electrochemical accumulators and device for controlling the charging

    EP3220471A1