Starting-up method, starting-up device and electronic equipment

The embedded controller adjusts the power supply mode and status information of the electronic device battery under low temperature conditions, and controls the battery temperature to ensure the equipment starts up, solving the problem of low temperature causing the equipment to fail to start, and achieving normal startup and user experience improvement under low temperature conditions.

CN119960579APending Publication Date: 2025-05-09联想开天科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510025120.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

Under low temperature conditions, the battery of the electronic device releases a small amount of power, which causes the device to fail to start normally. The existing technology solves the problem of starting failure by reducing the CPU frequency, but cannot effectively avoid the problem of startup failure.

Method used

The embedded controller responds to the start command to obtain the battery temperature and adjust the battery power supply mode and status information at low temperatures, and control the battery temperature based on the remaining power and discharge capacity to ensure the device starts up.

Benefits of technology

It effectively avoids the problem of equipment startup failure caused by low temperature, ensures that electronic devices can start normally under low temperature conditions, improves user experience, and does not affect the starting speed of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960579A_ABST
    Figure CN119960579A_ABST
Patent Text Reader

Abstract

The invention discloses a power-on method, a power-on device and electronic equipment, the power-on method is applied to an embedded controller of the electronic equipment, and the power-on method comprises the following steps: obtaining a first temperature of a battery of the electronic equipment in response to a starting instruction; when the first temperature is less than or equal to the preset temperature, determining a power supply mode of the electronic equipment; under the condition that power is supplied to the battery in the power supply mode, state information of the battery is obtained, and the state information at least comprises the remaining first electric quantity of the battery and the current first discharging capacity of the battery; and adjusting the temperature of the battery based on the first electric quantity and the first discharge capability to control the electronic equipment to start.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment startup control, and in particular to a startup method, a startup device and an electronic equipment. Background Art

[0002] Usually, electronic devices with batteries, especially high-power electronic devices, need a large amount of power from the batteries to start. However, at low temperatures, such as close to 0 degrees, the battery has low chemical activity, which results in a small amount of power released. As a result, the electronic device may not be able to operate during the startup process due to low power, that is, the electronic device cannot be started.

[0003] Currently, the CPU frequency in battery-powered mode is reduced and the CPU power is limited to ensure that the electronic device can start normally. However, this will increase the startup time and cannot effectively prevent the situation where the power is low due to low temperature during the startup process and the device cannot run. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a startup method, a startup device and an electronic device.

[0005] In a first aspect, an embodiment of the present application provides a startup method, which is applied to an embedded controller of an electronic device, comprising:

[0006] In response to the start instruction, obtaining a first temperature of a battery of the electronic device;

[0007] When the first temperature is less than or equal to a preset temperature, determining a power supply mode of the electronic device;

[0008] When the power supply mode is battery power supply, obtaining status information of the battery, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery;

[0009] Based on the first power and the first discharge capacity, the temperature of the battery is adjusted to control the startup of the electronic device.

[0010] In a possible implementation, obtaining a first discharge capacity of a battery of the electronic device includes:

[0011] determining the first discharge capacity based on the first temperature and the first electrical quantity; or

[0012] The first discharge capability transmitted by the battery manager is acquired, wherein the battery manager is capable of determining the first discharge capability based on the first temperature, the first power, and a temperature-power-discharge capability curve.

[0013] In a possible implementation, adjusting the temperature of the battery to control startup of the electronic device based on the first power and the first discharge capacity includes:

[0014] Determine whether the state information satisfies a startup condition of an operating system of the electronic device, the startup condition at least including that the remaining power of the battery is greater than or equal to a first threshold and the discharge capacity is greater than or equal to a second threshold;

[0015] If not satisfied and the first power level is greater than the first threshold, comparing the first discharge capacity with a third threshold;

[0016] When the first discharge capacity is greater than the third threshold, the battery is controlled to discharge so as to start the operating system, and the battery discharge can increase the temperature of the battery.

[0017] In a possible implementation manner, after controlling the battery to discharge, the method further includes:

[0018] monitoring a second temperature and a second power of the battery;

[0019] determining a second discharge capacity based on the second temperature and the second amount of electricity;

[0020] The operating system is started until the second discharge capacity and the second power satisfy the start-up condition.

[0021] In a possible implementation manner, after controlling the battery to discharge, the method further includes:

[0022] monitoring a second temperature and a second power of the battery;

[0023] determining a second discharge capacity based on the second temperature and the second amount of electricity;

[0024] comparing the second discharge capacity with a fourth threshold;

[0025] When the second discharge capacity is less than or equal to the fourth threshold, comparing the second electric quantity with the first threshold;

[0026] If the second power level is greater than the first threshold, controlling the battery to continue discharging;

[0027] If the second power level is less than or equal to the first threshold, the battery is controlled to stop discharging and the operating system is stopped from starting.

[0028] In a possible implementation manner, when the second discharge capacity is greater than the fourth threshold, the method further includes:

[0029] generating prompt information, wherein the prompt information includes the second temperature and the second power;

[0030] The prompt information is displayed based on the disk operating system of the electronic device.

[0031] In a possible implementation, when the state information does not meet the startup condition of the operating system of the electronic device, the startup method includes:

[0032] determining whether the first discharge capacity satisfies a start-up condition of a disk operating system of the electronic device;

[0033] If the conditions are met, a prompt message is generated, where the prompt message includes the first temperature and the first power;

[0034] Based on the disk operating system, the prompt information is displayed.

[0035] In a possible implementation manner, after controlling the battery to discharge, the method further includes:

[0036] The central processing unit of the electronic device is frequency-reduced to adjust the start-up condition.

[0037] In a second aspect, the embodiment of the present application further provides a startup device, including:

[0038] A first obtaining module, configured to obtain a first temperature of a battery of the electronic device in response to a start instruction;

[0039] a determination module, configured to determine a power supply mode of the electronic device when the first temperature is less than or equal to a preset temperature;

[0040] A second obtaining module is configured to obtain status information of the battery when the power supply mode is battery power supply, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery;

[0041] The first control module is configured to adjust the temperature of the battery based on the first electrical quantity and the first discharge capacity to control the startup of the electronic device.

[0042] In one possible implementation,

[0043] The status information of the battery of the electronic device at least includes: a first power level and a first discharge capacity.

[0044] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via a bus, and when the machine-readable instructions are executed by the processor, the steps of any one of the above-mentioned power-on methods are performed.

[0045] In the startup method of the embodiment of the present application, after receiving the startup instruction, the first temperature of the battery of the electronic device is obtained through the embedded controller, and when the first temperature of the battery of the electronic device is less than the preset temperature and the power supply mode is battery-powered, the battery status information is further obtained to control the startup of the electronic device based on the status information, specifically, the first temperature is adjusted based on the remaining first power of the battery and the current first discharge capacity of the battery to control the startup of the electronic device. Compared with reducing the CPU frequency in the battery-powered mode, the present application will not affect the startup speed of the electronic device, that is, it will not increase the startup time of the electronic device, and effectively avoids the problem of the electronic device stopping to start due to low power caused by low temperature during the startup process, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0047] Figure 1 A flowchart of a startup method provided by the present application is shown;

[0048] Figure 2 A flowchart of controlling the startup of an electronic device based on status information in a startup method provided by the present application is shown;

[0049] Figure 3 A flowchart of starting an operating system in a startup method provided by the present application is shown;

[0050] Figure 4 Another flowchart of starting an operating system in a startup method provided by the present application is shown;

[0051] Figure 5 A schematic diagram of the structure of a power-on device provided by the present application is shown;

[0052] Figure 6 A schematic structural diagram of an electronic device provided by the present application is shown. DETAILED DESCRIPTION

[0053] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0054] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0055] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0056] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0057] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.

[0058] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0059] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0060] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0061] To facilitate understanding of the present application, a power-on method provided by the present application is first introduced in detail. Here, the power-on method of the embodiment of the present application is applied to an embedded controller of an electronic device, wherein the embedded controller can still maintain an operating state in the standby and shutdown states, thereby ensuring multiple state switching of the electronic device, such as switching from shutdown to startup, etc.; and the embedded controller also has functions such as data acquisition and processing, device control, and power management.

[0062] Optionally, Figure 1 A flowchart of a startup method provided in an embodiment of the present application is shown, wherein specific steps include S101-S104.

[0063] S101, in response to a start instruction, obtaining a first temperature of a battery of an electronic device.

[0064] Optionally, the startup instruction can be generated after the user performs a power-on operation on the electronic device. For example, the user presses the power button to generate the startup instruction. The startup instruction can also be generated based on a preset clock signal, which is generated according to a preset cycle such as 08:00 every day. This is a scheduled startup scenario.

[0065] After receiving the start-up instruction, the embedded controller responds to the start-up instruction and communicates with the temperature sensor to obtain the first temperature of the battery of the electronic device. The temperature sensor can collect the battery temperature of the electronic device in real time.

[0066] S102: When the first temperature is less than or equal to a preset temperature, determine a power supply mode of the electronic device.

[0067] After obtaining the first temperature of the battery, the first temperature is compared with a preset temperature, wherein the preset temperature is the maximum temperature of the battery discharge capacity. That is, the discharge capacity of the battery will be affected at the preset temperature and any temperature lower than the preset temperature, that is, the discharge capacity will be reduced; the discharge capacity of the battery will not be affected at any temperature higher than the preset temperature. Optionally, the preset temperature can be set to 25°C.

[0068] If the comparison result of comparing the first temperature with the preset temperature is that the first temperature is less than or equal to the preset temperature, the power supply mode of the electronic device is further determined. The embedded controller has a power management function, that is, it can determine the power supply mode of the electronic device, and the power supply mode of the electronic device includes battery power supply, external power supply, and battery power supply and external power supply.

[0069] S103, when the power supply mode is battery power supply, obtaining battery status information, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery.

[0070] As an example, when it is determined that the power supply mode of the electronic device is battery-powered, the battery status information is further obtained, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery.

[0071] Optionally, when obtaining the first discharge capacity of the battery of the electronic device, the embedded controller may determine the first discharge capacity based on the first temperature and the first power of the battery. For example, according to the temperature-power-discharge capacity curve, the first discharge capacity corresponding to the first temperature and the first power is determined; for another example, the first temperature and the first power are input into a pre-trained calculation model so that the calculation model calculates the first temperature and the first power to output the first discharge capacity, etc. The embodiment of the present application does not specifically limit this, as long as the first discharge capacity can be obtained.

[0072] Optionally, when obtaining the first discharge capacity of the battery of the electronic device, the embedded controller can also directly obtain the first discharge capacity transmitted by the battery manager, that is, the battery manager determines the first discharge capacity based on the first temperature and the first power of the battery. The battery manager can determine the first discharge capacity based on the first temperature, the first power and the temperature-power-discharge capacity curve, and the temperature-power-discharge capacity curve is determined when the battery leaves the factory and stored in the battery manager.

[0073] It should be noted that the discharge capacity of a battery refers to the amount of electrical energy released by the battery per unit time. The higher the discharge capacity of a battery, the greater its energy output capacity during the discharge process. Of course, the discharge capacity of a battery can also be characterized by its output power consumption, that is, the higher the discharge capacity of a battery, the higher its output power consumption.

[0074] S104: Based on the first power level and the first discharge capacity, adjust the temperature of the battery to control the startup of the electronic device.

[0075] After obtaining the battery status information, the first temperature is adjusted based on the first power and the first discharge capacity included in the status information, specifically, the battery temperature is increased, thereby improving the discharge capacity of the battery to control the startup of the electronic device.

[0076] That is to say, in the embodiment of the present application, the temperature of the battery is adjusted based on the remaining first power of the battery and the current first discharge capacity of the battery to control the startup of the electronic device. Compared with reducing the CPU frequency in the battery power mode, the present application will not affect the startup speed of the electronic device, that is, it will not increase the startup time of the electronic device, and it effectively avoids the problem of the electronic device stopping to start due to low power caused by low temperature during the startup process, thereby improving the user experience.

[0077] It is known that the startup process of an electronic device includes: when it is determined that the user instructs to start the electronic device, the embedded controller controls the mainboard and some hardware in the electronic device to power on, and after the Basic Input / Output System (BIOS) starts running, the BIOS executes its stored hardware self-test program. After completing the self-test, it searches for the boot code to boot the operating system. After the operating system is started, it indicates that the electronic device has completed the startup.

[0078] Among them, the conditions that need to be met for BIOS startup are different from the conditions that need to be met for operating system startup. Based on this, when controlling the startup of electronic equipment based on status information, you can refer to Figure 2 The method flow chart shown, wherein the specific steps include S201-S203.

[0079] S201, determining whether the status information satisfies the startup conditions of the operating system of the electronic device, the startup conditions at least including that the remaining power of the battery is greater than or equal to a first threshold and the discharge capacity is greater than or equal to a second threshold.

[0080] S202: If the condition is not satisfied and the first power level is greater than the first threshold, compare the first discharge capacity with a third threshold.

[0081] S203, when the first discharge capacity is greater than a third threshold, controlling the battery to discharge so as to start the operating system, and the battery discharge can increase the battery temperature.

[0082] Optionally, in order to ensure that the electronic device can start normally, the status information of the electronic device needs to meet the startup conditions of its operating system, wherein the startup conditions at least include that the remaining power of the battery is greater than or equal to the first threshold and the discharge capacity is equal to or greater than the second threshold. Optionally, the first threshold is the minimum power of the battery required for the electronic device to start, which can be set to 5% of the total battery power. Of course, it can also be set to 10% of the total battery power, etc. The first threshold can be determined based on the power of the electronic device. The second threshold is the minimum power released by the battery required for the operating system of the electronic device to start.

[0083] It is worth noting that the startup conditions of the operating systems of different electronic devices may be different. For example, the first threshold and the second threshold corresponding to the startup conditions of the operating system of a high-power electronic device may be set to larger values; the first threshold and the second threshold corresponding to the startup conditions of the operating system of a low-power electronic device may be set to smaller values. As long as the first threshold and the second threshold can ensure that the electronic device starts normally.

[0084] Based on this, after obtaining the battery status information, it is determined whether the status information meets the startup condition of the operating system of the electronic device, specifically, comparing the first power level with the first threshold and comparing the first discharge capacity with the second threshold. If the status information does not meet the startup condition, that is, the first power level is less than or equal to the first threshold, and / or the first discharge capacity is less than or equal to the second threshold, at this time, the reason why the status information does not meet the startup condition is further determined.

[0085] If the reason why the status information does not meet the startup condition is that the first power is less than or equal to the first threshold, and the first discharge capacity is less than or equal to the second threshold, which means that the battery cannot meet the startup condition even if it is not affected by low temperature, then the electronic device is stopped from starting.

[0086] If the reason why the status information does not meet the startup condition is that the first power is less than or equal to the first threshold, it also means that the battery cannot meet the startup condition when it is not affected by low temperature. At this time, the electronic device is also stopped from starting.

[0087] If the reason why the status information does not meet the startup condition is that the first discharge capacity is less than or equal to the second threshold, that is, the first power is greater than the first threshold, then it indicates that the battery can meet the startup condition, but because the first temperature is less than or equal to the preset temperature, the first discharge capacity of the battery is less than or equal to the second threshold. On this basis, the first discharge capacity is further compared with the third threshold. The third threshold is the minimum power released by the battery required for the BIOS of the electronic device to start and run the boot code.

[0088] If the result of comparing the first discharge capacity with the third threshold is that the first discharge capacity is greater than the third threshold, it indicates that the battery can start and run the BIOS. At this time, the embedded controller controls the hardware power-on of the electronic device. While starting and running the BIOS, it does not send the All_sys_PG signal, which is used to indicate the start of the operating system.

[0089] Furthermore, the embedded controller controls the battery discharge to increase the battery temperature, thereby achieving the goal of improving the battery discharge capacity so as to start the operating system.

[0090] Optionally, after controlling the battery discharge, refer to Figure 3 The method flow chart shown starts the operating system, wherein the specific steps include S301-S303.

[0091] S301, monitoring a second temperature and a second power level of the battery.

[0092] S302, determining a second discharge capacity based on a second temperature and a second amount of electricity.

[0093] S303: until the second discharge capacity and the second power quantity meet the start-up condition, the operating system is started.

[0094] Optionally, after controlling the battery to discharge, the battery temperature and power level are continuously monitored to obtain a second temperature and a second power level of the battery, wherein after the battery is discharged, the second temperature of the battery is greater than the first temperature, and the second power level of the battery is less than the first power level. Similarly, based on the second temperature and the second power level, a second discharge capacity is determined. Here, the method for determining the second discharge capacity is the same as the method for determining the first discharge capacity, and no further details are given here.

[0095] Optionally, the embodiment of the present application can be configured to monitor the second temperature and the second power of the battery in real time, and determine the second discharge capacity based on the second temperature and the second power in real time; it can also be configured to monitor the second temperature and the second power of the battery in real time, and determine the second discharge capacity based on the second temperature and the second power at a preset time interval; it can also be configured to monitor the second temperature and the second power of the battery at a preset time interval, and determine the second discharge capacity based on the second temperature and the second power at a preset time interval. The embodiment of the present application is not specifically limited to this.

[0096] After controlling the battery to discharge, the second temperature and the second power of the battery are continuously monitored, and the second discharge capacity is determined, until the second discharge capacity and the second power meet the start-up condition, and the operating system is started.

[0097] In another example, after controlling the battery to discharge, Figure 4 Another flowchart of starting an operating system is shown, wherein specific steps include S401-S406.

[0098] S401, monitoring a second temperature and a second power level of the battery.

[0099] S402, determining a second discharge capacity based on a second temperature and a second electrical quantity.

[0100] S403, comparing the second discharge capacity with a fourth threshold.

[0101] S404: When the second discharge capacity is less than or equal to a fourth threshold, compare the second power level with the first threshold.

[0102] S405: If the second power level is greater than the first threshold, control the battery to continue discharging.

[0103] S406: If the second power level is less than or equal to the first threshold, control the battery to stop discharging and stop starting the operating system.

[0104] Likewise, after controlling the battery to discharge, the second temperature and the second charge of the battery continue to be monitored, and the second discharge capacity is determined based on the second temperature and the second charge.

[0105] Here, after obtaining the second discharge capacity, the second discharge capacity is compared with the fourth threshold value, wherein the fourth threshold value is the minimum power released by the battery required to start the disk operating system of the electronic device. It should be noted that the disk operating system is a small system set up on the electronic device, and its power consumption is relatively low. The second threshold value in the embodiment of the present application is greater than the fourth threshold value, and the fourth threshold value is greater than the third threshold value

[0106] Optionally, if the result of comparing the second discharge capacity with the fourth threshold is that the second discharge capacity is less than or equal to the fourth threshold, it indicates that the battery still cannot start the operating system of the electronic device. At this time, the second power is further compared with the first threshold.

[0107] If the result of comparing the second power level with the first threshold is that the second power level is greater than the first threshold, it means that the battery can meet the startup conditions, but because the second temperature is less than or equal to the preset temperature, the second discharge capacity of the battery is less than or equal to the second threshold, and the battery is controlled to continue discharging.

[0108] If the result of comparing the second power level with the first threshold is that the second power level is less than or equal to the first threshold, it indicates that the battery cannot meet the startup condition even if it is not affected by low temperature. At this time, the battery is controlled to stop discharging and the operating system is stopped from starting.

[0109] Here, after determining that the second discharge capacity is less than or equal to the fourth threshold, comparing the second power with the first threshold can more accurately determine whether to continue controlling the battery discharge, thereby avoiding the waste of power resources caused by continuing to discharge when the second power is less than or equal to the first threshold.

[0110] In another example, if the result of comparing the second discharge capacity with the fourth threshold value is that the second discharge capacity is greater than the fourth threshold value, it indicates that the battery can start the disk operating system of the electronic device. At this time, a prompt message can be generated, and the prompt message also includes the second temperature and the second power, and the prompt message is displayed based on the disk operating system of the electronic device. Optionally, the disk operating system can control the display of the electronic device to display the prompt message.

[0111] In another example, when it is determined that the state information does not meet the startup conditions of the operating system of the electronic device, it can be further determined whether the first discharge capacity meets the startup conditions of the disk operating system of the electronic device. If so, it indicates that the battery can start the disk operating system of the electronic device. At this time, prompt information is generated, and the prompt information includes the first temperature and the first power, and the prompt information is displayed based on the disk operating system of the electronic device.

[0112] It is worth noting that before generating a prompt, the second power level / first power level can be compared with the first threshold, and when the second power level / first power level is greater than the first threshold, a prompt message can be generated, and at the same time, the battery can be controlled to continue discharging to start the electronic device. Correspondingly, if the second power level / first power level is less than or equal to the first threshold, prompt information may not be generated, and the battery can be directly controlled to stop discharging and stop starting the operating system. Alternatively, a prompt message may be generated, and after displaying the prompt message for a preset prompt duration, the battery can be controlled to stop discharging and stop starting the operating system. This also avoids the waste of power resources caused by continued discharge when the second power level / first power level is less than or equal to the first threshold.

[0113] In the embodiment of the present application, after controlling the battery discharge, the central processor of the electronic device can also be frequency-reduced, thereby lowering the second threshold value to adjust the startup conditions, and to a certain extent, complete the startup instructions for the electronic device.

[0114] Based on the same inventive concept, the second aspect of the present application also provides a power-on device corresponding to a power-on method. Since the principle of solving the problem by the power-on device in the present application is similar to that of the above-mentioned power-on method of the present application, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0115] Figure 5 A schematic diagram of a startup device provided in an embodiment of the present application is shown, which specifically includes:

[0116] A first obtaining module 501, configured to obtain a first temperature of a battery of an electronic device in response to a start instruction;

[0117] A determination module 502, configured to determine a power supply mode of the electronic device when the first temperature is less than or equal to a preset temperature;

[0118] A second obtaining module 503 is configured to obtain status information of the battery when the power supply mode is battery power supply, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery;

[0119] The first control module 504 is configured to adjust the temperature of the battery based on the first power and the first discharge capacity to control the startup of the electronic device.

[0120] In yet another embodiment, the second obtaining module 503 is specifically configured as follows:

[0121] Obtaining a first discharge capacity of a battery of the electronic device, comprising:

[0122] determining the first discharge capacity based on the first temperature and the first electrical quantity; or

[0123] The first discharge capability transmitted by the battery manager is acquired, wherein the battery manager is capable of determining the first discharge capability based on the first temperature, the first power, and a temperature-power-discharge capability curve.

[0124] In yet another embodiment, the first control module 504 is specifically configured as follows:

[0125] Determine whether the state information satisfies a startup condition of an operating system of the electronic device, the startup condition at least including that the remaining power of the battery is greater than or equal to a first threshold and the discharge capacity is greater than or equal to a second threshold;

[0126] If not satisfied and the first power level is greater than the first threshold, comparing the first discharge capacity with a third threshold;

[0127] When the first discharge capacity is greater than the third threshold, the battery is controlled to discharge so as to start the operating system, and the battery discharge can increase the temperature of the battery.

[0128] In yet another embodiment, the first control module 504 is further configured to:

[0129] monitoring a second temperature and a second power of the battery;

[0130] determining a second discharge capacity based on the second temperature and the second amount of electricity;

[0131] The operating system is started until the second discharge capacity and the second power satisfy the start-up condition.

[0132] In yet another embodiment, the first control module 504 is further configured to:

[0133] monitoring a second temperature and a second power of the battery;

[0134] determining a second discharge capacity based on the second temperature and the second amount of electricity;

[0135] comparing the second discharge capacity with a fourth threshold;

[0136] When the second discharge capacity is less than or equal to the fourth threshold, comparing the second electric quantity with the first threshold;

[0137] If the second power level is greater than the first threshold, controlling the battery to continue discharging;

[0138] If the second power level is less than or equal to the first threshold, the battery is controlled to stop discharging and the operating system is stopped from starting.

[0139] In yet another embodiment, the first control module 504 is further configured to:

[0140] If the second power level is less than or equal to the first threshold, generate a prompt message, the prompt message including the second temperature and the second power level;

[0141] The prompt information is displayed based on the disk operating system of the electronic device.

[0142] In yet another embodiment, the first control module 504 is further configured to:

[0143] In the case where the state information does not satisfy the startup condition of the operating system of the electronic device, determining whether the first discharge capacity satisfies the startup condition of the disk operating system of the electronic device;

[0144] If the conditions are met, a prompt message is generated, where the prompt message includes the first temperature and the first power;

[0145] Based on the disk operating system, the prompt information is displayed.

[0146] In another embodiment, the startup device further includes an adjustment module 505, which is configured as follows:

[0147] The central processing unit of the electronic device is frequency-reduced to adjust the start-up condition.

[0148] Compared to lowering the CPU frequency in battery-powered mode, the present application will not affect the startup speed of the electronic device, that is, it will not increase the startup time of the electronic device, and it effectively avoids the problem of the electronic device stopping to start due to low power caused by low temperature during the startup process, thereby improving the user experience.

[0149] An embodiment of the present application provides an electronic device. The structural diagram of the electronic device can be as follows: Figure 6 As shown, at least a memory 601 and a processor 602 are included, the memory 601 stores a computer program, and the processor 602 implements the method provided by any embodiment of the present application when executing the computer program on the memory 601. Exemplarily, the steps of the electronic device computer program are as follows S11-S14:

[0150] S11, in response to the start instruction, obtaining a first temperature of a battery of the electronic device;

[0151] S12, when the first temperature is less than or equal to a preset temperature, determining a power supply mode of the electronic device;

[0152] S13, when the power supply mode is battery power supply, obtaining status information of the battery, wherein the status information at least includes a remaining first power of the battery and a current first discharge capacity of the battery;

[0153] S14: Based on the first power level and the first discharge capacity, adjust the temperature of the battery to control the startup of the electronic device.

[0154] An embodiment of the present application provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented, including the following steps S21-S24:

[0155] S21, in response to the start instruction, obtaining a first temperature of a battery of the electronic device;

[0156] S22, when the first temperature is less than or equal to a preset temperature, determining a power supply mode of the electronic device;

[0157] S23, when the power supply mode is battery power supply, obtaining status information of the battery, wherein the status information at least includes a remaining first power of the battery and a current first discharge capacity of the battery;

[0158] S24: Based on the first electrical quantity and the first discharge capacity, adjust the temperature of the battery to control the startup of the electronic device.

[0159] Compared to lowering the CPU frequency in battery-powered mode, the present application will not affect the startup speed of the electronic device, that is, it will not increase the startup time of the electronic device, and it effectively avoids the problem of the electronic device stopping to start due to low power caused by low temperature during the startup process, thereby improving the user experience.

[0160] Optionally, in this embodiment, the above-mentioned storage medium may include, but is not limited to, various media that can store program codes, such as a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk. Optionally, in this embodiment, the processor executes the method steps recorded in the above-mentioned embodiment according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment can refer to the examples described in the above-mentioned embodiment and the optional implementation mode, and this embodiment is not repeated here. Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented with a general computing device, which can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. Optionally, they can be implemented with executable program codes of computing devices, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps in them can be made into a single integrated circuit module to implement. In this way, the present application is not limited to any specific combination of hardware and software.

[0161] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.

[0162] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present application should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.

[0163] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.

Claims

1. A startup method, characterized in that: Embedded controllers for electronic devices, including: In response to the start instruction, obtaining a first temperature of a battery of the electronic device; When the first temperature is less than or equal to a preset temperature, determining a power supply mode of the electronic device; When the power supply mode is battery power supply, obtaining status information of the battery, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery; Based on the first power and the first discharge capacity, the temperature of the battery is adjusted to control the startup of the electronic device.

2. The startup method according to claim 1, characterized in that: Obtaining a first discharge capacity of a battery of the electronic device, comprising: determining the first discharge capacity based on the first temperature and the first electrical quantity; or The first discharge capability transmitted by the battery manager is acquired, wherein the battery manager is capable of determining the first discharge capability based on the first temperature, the first power, and a temperature-power-discharge capability curve.

3. The startup method according to claim 1, characterized in that: The adjusting the temperature of the battery based on the first power and the first discharge capacity to control the startup of the electronic device includes: Determine whether the state information satisfies a startup condition of an operating system of the electronic device, the startup condition at least including that the remaining power of the battery is greater than or equal to a first threshold and the discharge capacity is greater than or equal to a second threshold; If not satisfied and the first power level is greater than the first threshold, comparing the first discharge capacity with a third threshold; When the first discharge capacity is greater than the third threshold, the battery is controlled to discharge so as to start the operating system, and the battery discharge can increase the temperature of the battery.

4. The startup method according to claim 3, characterized in that: After controlling the battery to discharge, the method further comprises: monitoring a second temperature and a second power of the battery; determining a second discharge capacity based on the second temperature and the second amount of electricity; The operating system is started until the second discharge capacity and the second power satisfy the start-up condition.

5. The startup method according to claim 3, characterized in that: After controlling the battery to discharge, the method further comprises: monitoring a second temperature and a second power of the battery; determining a second discharge capacity based on the second temperature and the second amount of electricity; comparing the second discharge capacity with a fourth threshold; When the second discharge capacity is less than or equal to the fourth threshold, comparing the second electric quantity with the first threshold; If the second power level is greater than the first threshold, controlling the battery to continue discharging; If the second power level is less than or equal to the first threshold, the battery is controlled to stop discharging and the operating system is stopped from starting.

6. The startup method according to claim 5, characterized in that: When the second discharge capacity is greater than the fourth threshold, the method further includes: generating prompt information, wherein the prompt information includes the second temperature and the second power; The prompt information is displayed based on the disk operating system of the electronic device.

7. The startup method according to claim 3, characterized in that: When the state information does not meet the startup condition of the operating system of the electronic device, the startup method includes: determining whether the first discharge capacity satisfies a start-up condition of a disk operating system of the electronic device; If the conditions are met, a prompt message is generated, where the prompt message includes the first temperature and the first power; Based on the disk operating system, the prompt information is displayed.

8. The startup method according to any one of claims 3 to 7, characterized in that: After controlling the battery to discharge, the method further comprises: The central processing unit of the electronic device is frequency-reduced to adjust the start-up condition.

9. A startup device, characterized in that: include: A first obtaining module, configured to obtain a first temperature of a battery of the electronic device in response to a start instruction; a determination module, configured to determine a power supply mode of the electronic device when the first temperature is less than or equal to a preset temperature; A second obtaining module is configured to obtain status information of the battery when the power supply mode is battery power supply, wherein the status information at least includes a first remaining power of the battery and a first current discharge capacity of the battery; The first control module is configured to adjust the temperature of the battery based on the first electrical quantity and the first discharge capacity to control the startup of the electronic device.

10. An electronic device, comprising: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via a bus, and when the machine-readable instructions are executed by the processor, the steps of the power-on method as described in any one of claims 1 to 8 are performed.