Battery management method and device, electronic equipment, storage medium and program product

By dynamically adjusting the shutdown voltage, the problem of battery voltage mismatch in electronic devices under different temperatures and loads is solved, improving the user experience and battery life.

CN121364409APending Publication Date: 2026-01-20BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410939934.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2026-01-20

AI Technical Summary

Technical Problem

In the prior art, the shutdown voltage of electronic devices is set to a fixed value, which cannot adapt to the actual operating conditions of the battery under different temperatures and loads, resulting in abnormal shutdown or premature shutdown.

Method used

By acquiring the battery's measured temperature and load, combined with predicted usage information and a preset battery model, the shutdown voltage is dynamically adjusted to match the battery's actual operating conditions.

Benefits of technology

It reduces the occurrence of abnormal shutdowns and premature shutdowns, improving the battery user experience and battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121364409A_ABST
    Figure CN121364409A_ABST
Patent Text Reader

Abstract

The invention relates to a battery management method and device, electronic equipment, a storage medium and a program product. The battery management method comprises the following steps: acquiring an actually measured battery temperature and an actually measured battery load of a battery of the electronic equipment; determining a predicted battery voltage according to the actually measured battery temperature and the actually measured battery load; and determining the shutdown voltage of the electronic equipment according to the predicted battery voltage. According to the method, the conditions of early shutdown or abnormal shutdown and the like caused by unreasonable shutdown voltage can be reduced, and the use experience and the cruising ability of the battery are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of batteries, and in particular, to a battery management method and device, an electronic device, a storage medium, and a program product. BACKGROUND

[0002] With the development of battery technology, batteries are widely used in various electronic devices. For these electronic devices, when the battery voltage reaches a set voltage threshold, which can be understood as the shutdown voltage of the electronic device, an automatic shutdown is usually triggered. SUMMARY

[0003] To overcome the problems in the related art, the present disclosure provides a battery management method and device, an electronic device, a storage medium, and a program product.

[0004] According to a first aspect of an embodiment of the present disclosure, a battery management method is provided, including: obtaining a measured battery temperature and a measured battery load of a battery of an electronic device; determining a predicted battery voltage according to the measured battery temperature and the measured battery load; and determining a shutdown voltage of the electronic device according to the predicted battery voltage.

[0005] Optionally, the determining of the predicted battery voltage according to the measured battery temperature and the measured battery load includes: determining predicted use information of the battery according to the measured battery temperature and the measured battery load, the predicted use information being used to represent a predicted use condition of the battery; and determining the predicted battery voltage according to the measured battery temperature, the measured battery load, and the predicted use information.

[0006] Optionally, the determining of the predicted use information of the battery according to the measured battery temperature and the measured battery load includes: obtaining a plurality of historical use information, the plurality of historical use information respectively corresponding to a historical battery temperature and a historical battery load; and determining the predicted use information from the plurality of historical use information according to the measured battery temperature and the measured battery load, the predicted use information corresponding to a historical battery temperature matching the measured battery temperature and / or corresponding to a historical battery load matching the measured battery load.

[0007] Optionally, the predicted use information is used to represent a predicted use habit of a user for the battery, and correspondingly, the plurality of historical use information is respectively used to represent different use habits of the user for the battery.

[0008] Optionally, the battery management method further comprises: obtaining a preset battery model, the preset battery model being used to represent a corresponding relationship between a battery temperature, a battery load and a battery voltage; and correspondingly, the determining the predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted usage information comprises: determining a predicted battery temperature and a predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted usage information; and determining the predicted battery voltage according to the predicted battery temperature, the predicted battery load and the preset battery model.

[0009] Optionally, the determining the predicted battery temperature and the predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted usage information comprises: determining battery temperature change data and battery load change data according to the predicted usage information; determining the predicted battery temperature according to the measured battery temperature and the battery temperature change data; and determining the predicted battery load according to the measured battery load and the battery load change data.

[0010] Optionally, the shutdown voltage is greater than the predicted battery voltage.

[0011] Optionally, the battery management method further comprises: obtaining a battery power; and correspondingly, the determining the shutdown voltage of the electronic device according to the predicted battery voltage comprises: determining the shutdown voltage according to the battery power and the predicted battery voltage.

[0012] Optionally, the shutdown voltage is greater than the predicted battery voltage, and a difference between the shutdown voltage and the predicted battery voltage is determined according to the battery power.

[0013] According to a second aspect of the embodiments of the present disclosure, a battery management apparatus is provided, comprising: an obtaining module configured to obtain a measured battery temperature and a measured battery load of a battery of an electronic device; a determining module configured to: determine a predicted battery voltage according to the measured battery temperature and the measured battery load; and determine a shutdown voltage of the electronic device according to the predicted battery voltage.

[0014] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute the battery management method according to the first aspect of the present disclosure.

[0015] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, which stores computer program instructions, the computer program instructions being executed by a processor to implement the battery management method according to the first aspect of the present disclosure.

[0016] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the battery management method according to the first aspect of the present disclosure.

[0017] The technical solutions provided by the embodiments of the present disclosure can have the following beneficial effects. By measuring the battery temperature and the battery load, the use of the battery is predicted, and the shutdown voltage of the electronic device is determined according to the predicted use of the battery. Since the voltage of the battery may change differently under different temperatures and different loads, the predicted battery voltage obtained by combining the battery temperature and the battery load conforms to the actual operation of the battery. Therefore, based on the predicted battery voltage conforming to the actual operation of the battery, the shutdown voltage determined based on the predicted battery voltage also conforms to the actual operation of the battery, thereby reducing the situation of early shutdown or abnormal shutdown caused by unreasonable shutdown voltage, and improving the use experience and endurance of the battery.

[0018] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0019] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] Figure 1 is a flowchart of a battery management method according to an exemplary embodiment.

[0021] Figure 2 is a schematic diagram of a battery management strategy according to an exemplary embodiment.

[0022] Figure 3 is a block diagram of a battery management device according to an exemplary embodiment.

[0023] Figure 4 is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0024] The exemplary embodiments will be described in detail herein with reference to the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0025] The implementations described in some embodiments of the present disclosure below do not represent all implementations consistent with the present disclosure. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0026] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the corresponding data protection regulations and policies of the country where the device is located, and with the authorization given by the owner of the corresponding device.

[0027] With the development of battery technology, batteries are widely used in various electronic devices. At present, some electronic devices have power meters, through which the power of the battery can be monitored to control the automatic shutdown of the device according to the power of the battery. For some electronic devices without power meters, the timing of triggering the shutdown can only be determined by the battery voltage, that is, the shutdown voltage is detected when the voltage reaches a threshold value, and the shutdown is triggered actively. The threshold value of the voltage can be referred to as the shutdown voltage.

[0028] In the related art, the shutdown voltage is usually set to one or more fixed values, which may be values configured according to experience or values configured according to tests. Regardless of which configuration method is used, there are limitations that cannot be applied to the actual operation of the battery. And it may cause abnormal shutdown or early shutdown, etc. Abnormal shutdown, for example: the screen of the electronic device is directly blacked out; early shutdown, for example: the battery still has power, but the electronic device automatically shuts down. These situations are caused by unreasonable configuration of the shutdown voltage.

[0029] In the embodiments of the present disclosure, the battery power can also be understood as the battery capacity, and the meanings represented by the two are consistent.

[0030] Through research on the battery, it is found that the voltage of the battery fluctuates greatly in some special cases, and the power of the battery is also more difficult to determine. Further, in these special cases, the battery voltage is easy to reach the shutdown voltage, causing the electronic device to suddenly shut down.

[0031] These special situations may be caused by the battery temperature, such as too low battery temperature, or caused by the battery load, such as too large battery load.

[0032] For example, in the case of low battery temperature, low battery internal resistance, large battery load or large change in battery load, the instantaneous change of the battery voltage of the electronic device is large, and even if the battery still has remaining power, the battery may reach the shutdown voltage in advance, causing the electronic device to actively shut down due to low power.

[0033] Therefore, a more reasonable shutdown voltage is configured based on the battery temperature and the battery load, and the problems of abnormal shutdown and insufficient battery endurance can be solved.

[0034] Based on this, the embodiment of the present disclosure provides a technical solution, in which the voltage of the battery may have different changes under different temperatures and different loads. Therefore, the battery voltage is predicted in combination with the battery temperature and the battery load to obtain a predicted battery voltage that conforms to the actual operation of the battery. Then, the shutdown voltage is adjusted using the predicted battery voltage to realize dynamic adjustment of the shutdown voltage, so that the shutdown voltage conforms to the actual operation of the battery. Thus, the situation of early shutdown or abnormal shutdown caused by unreasonable shutdown voltage can be reduced, and the use experience and endurance of the battery can be improved.

[0035] The hardware running environment of the technical solution of the embodiment of the present disclosure can be a battery management module of an electronic device or a corresponding management module of the electronic device, such as an operating system, which is not limited here.

[0036] In addition, it can be understood that the technical solution of the embodiment of the present disclosure designs a dynamic configuration scheme for the shutdown voltage, and the application mode of the configured shutdown voltage can be flexibly configured according to the specific application scenario.

[0037] Figure 1 is a flowchart of a battery management method according to an exemplary embodiment, as Figure 1 shown, the battery management method comprises the following steps: Step S11, obtaining a measured battery temperature and a measured battery load of a battery of an electronic device.

[0038] Step S12, determining a predicted battery voltage according to the measured battery temperature and the measured battery load.

[0039] Step S13, determining a shutdown voltage of the electronic device according to the predicted battery voltage.

[0040] For the battery of the electronic device, a detection unit of battery information is usually configured, including but not limited to a temperature detection unit and a load detection unit. Therefore, in step S11, the measured battery temperature and the measured battery load can be obtained from the corresponding battery information detection unit. The implementation of the corresponding detection unit can refer to the mature technology in the art, and will not be described in detail here.

[0041] The battery load can also be understood as the load of the electronic device. When the load of the electronic device is large, the discharge current of the battery is large. Therefore, by detecting the discharge (working) current of the battery, the detection of the battery load can be realized.

[0042] In some embodiments, the dynamic configuration of the shutdown voltage can be unconditional, and thus the electronic device can repeatedly perform steps S11-S13 to achieve real-time dynamic configuration of the shutdown voltage.

[0043] In some other embodiments, the dynamic configuration of the shutdown voltage can be conditional, and thus the performance of steps S11-S13 can be subject to corresponding conditions. The conditions for dynamic configuration of the shutdown voltage can be related to the battery power or the battery temperature.

[0044] For example, when it is detected that the battery power belongs to a low power (e.g., 20%), it is determined to perform the dynamic configuration of the shutdown voltage.

[0045] For example, when it is detected that the battery temperature is low, it is determined to perform the dynamic configuration of the shutdown voltage, where the battery temperature can be configured with a preset temperature that represents a possible large change in the battery voltage, which can be determined by testing the battery before it is shipped. Alternatively, the preset temperature set before shipment is an initial value, which can be updated in subsequent application processes in combination with the actual change in the battery voltage at different temperatures.

[0046] Thus, it can be detected first whether the conditions for dynamic configuration of the shutdown voltage are met, and if so, the shutdown voltage is dynamically configured. If not, the shutdown voltage can be temporarily not dynamically configured, and when the conditions for dynamic configuration are met in subsequent detection, the shutdown voltage is dynamically configured.

[0047] In step S12, the predicted battery voltage is determined according to the measured battery temperature and the measured battery load.

[0048] The measured battery temperature and the measured battery load can be the measured battery temperature and the measured battery load at the current time. In combination with the foregoing introduction of the application scenarios, since the battery temperature and the battery load can affect the change in the battery voltage, the measured battery temperature and the measured battery load can be used to predict the battery voltage. Correspondingly, the predicted battery voltage can be the battery voltage at a time after the current time.

[0049] As an optional implementation, step S12 includes: determining predicted usage information of the battery according to the measured battery temperature and the measured battery load, the predicted usage information being used to represent the predicted usage of the battery; and determining the predicted battery voltage according to the measured battery temperature, the measured battery load, and the predicted usage information.

[0050] In this implementation, the usage information of the battery is first predicted according to the measured battery temperature and the measured battery load, and then the predicted battery voltage is determined in combination with the measured battery temperature, the measured battery load, and the predicted usage information.

[0051] As to the predicted usage information, the predicted usage of the battery can be characterized, such as: temperature condition, load condition, usage frequency, active trigger shutdown, and sudden power shortage leading to direct shutdown of the electronic device, etc.

[0052] In some embodiments, the predicted usage information can specifically characterize the predicted usage habit of the user for the battery. Therefore, the usage is a kind of usage habit analyzed from the user level.

[0053] Example: in the case of low power, the user will reduce the usage of the battery, so that the battery temperature may be reduced, the battery load may be reduced, the usage frequency may be reduced, and the active trigger shutdown may be triggered, etc.

[0054] In some embodiments, during the use of the electronic device, the usage of the battery can be continuously recorded, and based on the recorded usage, the usage can be predicted.

[0055] Therefore, as an optional implementation, the predicted usage information of the battery is determined according to the measured battery temperature and the measured battery load, including: obtaining a plurality of historical usage information, the plurality of historical usage information respectively corresponding to a historical battery temperature and a historical battery load; determining the predicted usage information from the plurality of historical usage information according to the measured battery temperature and the measured battery load, the historical battery temperature corresponding to the predicted usage information matches the measured battery temperature, and / or the historical battery load corresponding to the predicted usage information matches the measured battery load.

[0056] In this implementation, the historical usage information is the usage information recorded continuously during the use of the electronic device. If the usage information characterizes the usage habit of the user, the historical usage information can be configured as a kind of user usage habit model, which is a kind of data model recording the usage habit of the user, and the model can record the usage habit of the user in different scenarios.

[0057] Since the predicted usage information needs to be predicted by using the measured battery temperature and the measured battery load, when recording the historical usage information, the historical usage information can be associated with the battery temperature and the battery load.

[0058] Example: when recording the usage habit of the user, the corresponding scenario is the battery temperature and the battery load. Therefore, the usage habit of the user in different battery temperatures and different battery loads is recorded.

[0059] In some embodiments, for a kind of scenario, a plurality of different usage habits can be configured, and the plurality of different usage habits respectively correspond to a usage frequency. Further, when predicting the usage information subsequently, the usage habit with higher usage frequency can be preferentially selected.

[0060] It can be understood that the recording manner of the historical use information can be flexibly configured according to different application scenarios, which is not limited here.

[0061] Further, based on the measured battery temperature and the measured battery load, the predicted use information can be determined from the plurality of historical use information. It can be understood that the historical battery temperature corresponding to the predicted use information matches the measured battery temperature, and / or the historical battery load corresponding to the predicted use information matches the measured battery load.

[0062] In some embodiments, the historical battery temperature matching the measured battery temperature can be that the historical battery temperature is substantially consistent with the measured battery temperature, or has a very small difference. The historical battery load matching the measured battery load can be that the historical battery load is substantially consistent with the measured battery load, or has a very small difference.

[0063] In some embodiments, the historical use information in which the historical battery temperature matches the measured battery temperature and the historical battery load corresponding to the predicted use information matches the measured battery load can be preferentially searched in the plurality of historical use information. If the search fails, the historical use information in which the historical battery temperature matches the measured battery temperature or the historical battery load corresponding to the predicted use information matches the measured battery load is searched.

[0064] In this implementation, the use information in the current situation is predicted by using the historical use information, so as to predict the battery voltage according to the predicted use information, so that the predicted battery voltage matches the actual use habit of the battery. Further, the shutdown voltage determined based on the predicted battery voltage can also match the actual use habit of the battery, so that the battery can release more battery power as much as possible.

[0065] Moreover, the longer the electronic device is used, the more historical use information is recorded, and the more accurate the predicted use information is, and the better the prediction effect is. For example, as the user's electronic device is used for a longer time, the user's use habit recorded is more, so that the use of the user in different scenarios can be more accurately predicted, and the prediction effect is better. Further, the predicted battery voltage determined based on the predicted use habit is also more accurate, and the effect of the finally determined shutdown voltage is also better.

[0066] Further, the predicted battery voltage is determined based on the measured battery temperature, the measured battery load and the predicted use information.

[0067] As an optional implementation, the battery management method further includes: obtaining a preset battery model, the preset battery model being used to represent the corresponding relationship between the battery temperature, the battery load and the battery voltage.

[0068] In the embodiments of the present disclosure, the preset battery model can represent the parameter relationship of the battery. Based on the preset battery model, the battery voltage can be predicted.

[0069] The preset battery model can be pre-stored in the electronic device before the electronic device is shipped. The preset battery model can be obtained by testing the performance parameters of the battery.

[0070] In some embodiments, the preset battery model can also represent the corresponding relationship between the battery temperature, the battery load, the battery voltage and the battery capacity.

[0071] That is, the preset battery model can represent the corresponding relationship between multiple battery parameters, and is not limited to the battery parameters listed in the embodiments of the present disclosure.

[0072] Taking the preset battery model representing the corresponding relationship between the battery temperature, the battery load, the battery voltage and the battery capacity as an example, the construction process of the preset battery model can include: first, constructing the corresponding relationship between the battery capacity and the battery voltage under different battery temperatures and different battery loads. Then, since the battery temperature and the battery load are discretized in the corresponding relationship between the battery capacity and the battery, the corresponding relationship between the battery capacity and the battery voltage under different battery temperatures and different battery loads can be linearized to obtain a linear relationship model of the battery capacity and the battery voltage under different temperatures and different loads. Further, through the battery model, a battery voltage and a battery capacity value can be obtained at any temperature point and any load point.

[0073] In some embodiments, when constructing the corresponding relationship between the battery capacity and the battery voltage, the change data of the current and the voltage from full charge to empty charge can be recorded under multiple refined temperature values and multiple load values. Since the battery capacity is the integral of the battery current with respect to time, the relationship between the battery capacity and the battery voltage can be obtained by integration.

[0074] In some embodiments, when linearizing, the multiple discrete points can be integrated into a continuous change curve, and based on the continuous change curve, the linear relationship model can be determined.

[0075] The way of integrating the multiple discrete points into the continuous change curve can refer to mature linearization techniques in the art, for example, deleting points that do not obviously conform to the change rule, and linearly interpolating the discrete data points to linearize the discrete data points.

[0076] Finally, after obtaining the battery model that can represent the corresponding parameter relationship, it is stored as preset data in the electronic device. When the preset battery model is needed, it can be directly called.

[0077] Further, the predicted battery voltage is determined based on the measured battery temperature, the measured battery load and the predicted usage information, including: determining the predicted battery temperature and the predicted battery voltage based on the measured battery temperature, the measured battery load and the predicted usage information; and determining the predicted battery voltage based on the predicted battery temperature, the predicted battery load and the preset battery model.

[0078] In this embodiment, the predicted battery temperature and the predicted battery voltage are determined based on the predicted usage information. Then, the predicted battery voltage is determined based on the preset battery model, the predicted battery temperature and the predicted battery voltage.

[0079] As an optional embodiment, the predicted battery temperature and the predicted battery voltage are determined based on the measured battery temperature, the measured battery load and the predicted usage information, including: determining battery temperature change data and battery load change data based on the predicted usage information; determining the predicted battery temperature based on the measured battery temperature and the battery temperature change data; and determining the predicted battery load based on the measured battery load and the battery load change data.

[0080] According to the foregoing embodiments, the predicted usage information can represent the usage of the battery, so that the battery temperature change and the battery voltage change can be determined based on the predicted usage information. The predicted battery temperature can be determined based on the battery temperature change and the measured battery temperature. The predicted battery load can be determined based on the battery load change and the measured battery load.

[0081] Therefore, in some embodiments, the predicted usage information can specifically represent the battery temperature change and the battery load change. The change can include a specific change value and a change condition.

[0082] In other embodiments, the determined predicted usage information can also include multiple usage information, and each usage information corresponds to a battery temperature and a battery load. By comparing the multiple usage information, the battery temperature change and the battery voltage change can also be determined.

[0083] It can be understood that different determination methods of the predicted battery temperature and the predicted battery load can be used according to different forms of the predicted usage information, which are not limited herein.

[0084] Further, based on the predicted battery temperature and the predicted battery load, the corresponding relationship between the parameters defined by the preset battery model can be combined to determine the voltage value matched with the predicted battery temperature and the predicted battery load, and the matched voltage value is the predicted battery voltage.

[0085] After the predicted battery voltage is determined, in step S13, a shutdown voltage of the electronic device is determined according to the predicted battery voltage.

[0086] It can be understood that in the electronic device, a shutdown voltage value can be preset, and the shutdown voltage value can be constantly updated. Therefore, in step S13, the current shutdown voltage can be updated based on the predicted battery voltage, and the current shutdown voltage can be the preset shutdown voltage or the dynamically configured battery voltage.

[0087] In some embodiments, the shutdown voltage is greater than the predicted battery voltage. Therefore, when adjusting the shutdown voltage, if the shutdown voltage is greater than the predicted battery voltage, the shutdown voltage can not be adjusted. If the shutdown voltage is less than or equal to the predicted battery voltage, the shutdown voltage needs to be increased.

[0088] It can be understood that the predicted battery voltage can be a voltage predicted in a case where the battery power is low, and in this case, the electronic device can enter a shutdown state. Therefore, when setting the shutdown voltage, it is necessary to ensure that the shutdown voltage is greater than the predicted battery voltage, so that the battery can be actively and normally shut down when there is still remaining power, rather than abnormally shut down. That is, if the shutdown voltage is less than or equal to the predicted battery voltage, the electronic device can be abnormally shut down, and if the shutdown voltage is greater than the predicted battery voltage, the battery device can be normally shut down.

[0089] As another optional implementation, the battery management method further includes: obtaining the battery power.

[0090] In some embodiments, the battery power can be determined by using the aforementioned preset battery model. For example, based on the preset battery model representing the corresponding relationship between the battery temperature, the battery load, the battery voltage, and the battery power, the predicted battery power can be determined based on the preset battery temperature and the predicted battery load.

[0091] In some other embodiments, the battery power can also be determined by using other implementations. For example, in a case where the electronic device includes a power meter, the battery power can be determined based on data of the power meter.

[0092] Further, the shutdown voltage of the electronic device is determined according to the predicted battery voltage, including: determining the shutdown voltage according to the battery power and the predicted battery voltage.

[0093] In this implementation, the shutdown voltage can be determined in combination with the battery power and the predicted battery voltage.

[0094] In a case where the shutdown voltage is greater than the predicted battery voltage, the difference between the shutdown voltage and the predicted battery voltage can be determined according to the battery power.

[0095] In some embodiments, if the battery power is high, the difference between the shutdown voltage and the predicted battery voltage can be small. If the battery power is low, the difference between the shutdown voltage and the predicted battery voltage can be large.

[0096] It can be understood that, in the case of low battery power, if the shutdown voltage is too low, it can cause abnormal shutdown. And if the battery power is not very low, if the shutdown voltage is too high, it can cause the battery power not to be fully released. Therefore, in combination with the case of battery power, the shutdown voltage is determined by using the predicted battery voltage, which can reduce the case of abnormal shutdown or the battery power not being fully released.

[0097] In other embodiments, if the battery power is high, the shutdown voltage can also be less than the predicted battery voltage.

[0098] As can be seen from the above embodiments, the technical scheme of the embodiments of the present disclosure can not rely on the battery power counted by the power gauge, and the required battery parameters are not many, only the battery load and the battery temperature which greatly affect the change of the battery voltage are needed to obtain the battery parameters.

[0099] Therefore, for electronic devices without a power gauge, in the case of limited battery information, the user experience of the battery in the case of low temperature or large battery internal resistance can also be improved, the battery endurance can be improved as much as possible, and the problem of abnormal shutdown such as early shutdown and sudden shutdown can also be reduced.

[0100] Further, after determining the shutdown voltage, the battery voltage can be detected in real time for the electronic device, and the shutdown operation is performed after the battery voltage reaches the shutdown voltage.

[0101] Figure 2 is a schematic diagram of a battery management strategy according to an exemplary embodiment, in which Figure 2 In the present embodiment, the user usage habit is used as the usage information, and the battery management strategy is divided into a product design stage and a user usage stage.

[0102] In the product design stage, the battery current and the battery voltage are first tested under different temperatures and different loads from full power to empty power. The full power can be understood as full power, and the empty power can be understood as 0 power.

[0103] Then, the battery current is integrated with respect to time, and the change relationship between the battery power and the battery voltage under different temperatures and different loads can be obtained.

[0104] Further, based on the discrete data, linearization processing is performed to obtain a linear relationship model of the battery capacity and the battery voltage under different battery loads and different battery temperatures, which can be used in the user use stage.

[0105] In the user use stage, on one hand, during the long-term use of the user, the battery load and the battery temperature during the use of the user are recorded, and through data analysis, a user use habit model is obtained.

[0106] On the other hand, in the case that the user normally uses and the battery is in a discharging state, the user habit model and the battery model can be loaded. The measured battery temperature and the measured battery load are used to match the battery model and the user habit model. Specifically, according to the user habit model, the use of the user is predicted, and the battery model is combined to determine a suitable shutdown voltage. Further, the shutdown voltage is dynamically regulated, and the endurance before shutdown is as long as possible.

[0107] Based on Figure 2 Compared with setting one or more fixed shutdown voltage values, the battery management strategy shown in the figure is more flexible, achieves the effect of dynamic shutdown voltage configuration, and enables the battery to release more battery capacity as possible. Moreover, the longer the use time is, the more accurate the user habit is grasped, and the better the effect is.

[0108] The battery management strategy can be applied to a low-temperature scenario of the battery and can also be applied to an arbitrary battery temperature scenario. In the low-temperature scenario, the use endurance of the user is improved, and sudden power-off shutdown or abnormal shutdown and the like are reduced.

[0109] In addition, the battery management strategy can be integrated into the normal shutdown strategy of the electronic device, which is equivalent to adding a dynamic configuration strategy of the shutdown voltage on the basis of the normal shutdown strategy. With the continuous use of the electronic device, the accuracy of the user habit is increased, and the accuracy of the dynamic configuration strategy is also increased.

[0110] Figure 3 is a block diagram of a battery management device according to an example embodiment. Referring to Figure 3 The device includes an acquisition module 301 configured to acquire a measured battery temperature and a measured battery load of a battery of an electronic device; a determination module 302 configured to determine a predicted battery voltage according to the measured battery temperature and the measured battery load, and determine a shutdown voltage of the electronic device according to the predicted battery voltage.

[0111] Optionally, the determining module 302 is further configured to determine, according to the measured battery temperature and the measured battery load, predicted usage information of the battery, the predicted usage information being used to represent a predicted usage of the battery; and determine the predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted usage information.

[0112] Optionally, the obtaining module 301 is further configured to obtain a plurality of historical usage information, the plurality of historical usage information respectively corresponding to historical battery temperature and historical battery load; and the determining module 302 is further configured to determine, according to the measured battery temperature and the measured battery load, the predicted usage information from the plurality of historical usage information, the historical battery temperature corresponding to the predicted usage information being matched with the measured battery temperature, and / or the historical battery load corresponding to the predicted usage information being matched with the measured battery load.

[0113] Optionally, the predicted usage information is used to represent a predicted usage habit of the user for the battery, and correspondingly, the plurality of historical usage information is respectively used to represent different usage habits of the user for the battery.

[0114] Optionally, the obtaining module 301 is further configured to obtain a preset battery model, the preset battery model being used to represent a corresponding relationship between battery temperature, battery load and battery voltage; and the determining module 302 is further configured to determine a predicted battery temperature and a predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted usage information; and determine the predicted battery voltage according to the predicted battery temperature, the predicted battery load and the preset battery model.

[0115] Optionally, the determining module 302 is further configured to determine, according to the predicted usage information, battery temperature change data and battery load change data; determine the predicted battery temperature according to the measured battery temperature and the battery temperature change data; and determine the predicted battery load according to the measured battery load and the battery load change data.

[0116] Optionally, the shutdown voltage is greater than the predicted battery voltage.

[0117] Optionally, the obtaining module 301 is further configured to obtain a battery power; and the determining module 302 is further configured to determine the shutdown voltage according to the battery power and the predicted battery voltage.

[0118] Optionally, the shutdown voltage is greater than the predicted battery voltage, and a difference between the shutdown voltage and the predicted battery voltage is determined according to the battery power.

[0119] With regard to the apparatus in the above-described embodiments, a specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and thus will not be described in detail here.

[0120] The present disclosure also provides a computer readable storage medium, having stored thereon computer program instructions, which when executed by a processor, implement the steps of the battery management method provided by the present disclosure.

[0121] Figure 4 is a block diagram of an electronic device 400 according to an exemplary embodiment. The electronic device 400 can be, for example, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0122] Referring to Figure 4 The electronic device 400 can include one or more of the following components: a processing component 402, a memory 404, a power supply component 406, a multimedia component 408, a music player 410, an input / output (I / O) interface 412, a sensor component 414, and a communication component 416.

[0123] The processing component 402 usually controls overall operations of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 can include one or more processors 420 to execute instructions to complete all or part of steps of the above-described methods. In addition, the processing component 402 can include one or more modules to facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0124] The memory 404 is configured to store various types of data to support operations of the electronic device 400. Examples of these data include instructions for any application or method operating on the electronic device 400, contact data, phonebook data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0125] The power supply component 406 supplies power for various components of the electronic device 400. The power supply component 406 can include a power supply management system, one or more power supplies, and other components associated with generating, managing and distributing power for the electronic device 400.

[0126] The multimedia component 408 includes a screen to provide an output interface between the electronic device 400 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide and gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0127] The music component 410 is configured to output and / or input music signals. For example, the music component 410 includes a microphone (MIC) to receive external music signals when the electronic device 400 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received music signals can be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, the music component 410 also includes a speaker to output music signals.

[0128] The input / output interface 412 provides an interface between the processing component 402 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.

[0129] The sensor component 414 includes one or more sensors to provide various state assessments for the electronic device 400. For example, the sensor component 414 can detect an open / closed state of the electronic device 400, relative positioning of components, such as a display and a keypad of the electronic device 400, a change in position of the electronic device 400 or a component of the electronic device 400, presence or absence of user contact with the electronic device 400, orientation or acceleration / deceleration of the electronic device 400, and a temperature change of the electronic device 400. The sensor component 414 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 414 can further include a light sensor such as a CMOS or CCD image sensor for use in an imaging application. In some embodiments, the sensor component 414 can also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0130] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 can further include a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technology.

[0131] In an exemplary embodiment, the electronic device 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described music generation method.

[0132] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 404 including instructions, is also provided, which can be executed by the processor 420 of the electronic device 400 to complete the above-described music generation method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.

[0133] In another exemplary embodiment, a computer program product is also provided, which contains a computer program capable of being executed by a programmable device, and the computer program has code portions for executing the above-described music generation method when executed by the programmable device.

[0134] Those skilled in the art can understand that the various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of both. Whether the functions are implemented by hardware or software depends on the specific application and design requirements of the whole system. Those skilled in the art can implement the functions in various ways for each specific application, but such implementation should not be construed as beyond the scope of the embodiments of the present application.

[0135] It should be understood that the features of various of the disclosed embodiments described herein can be combined with each other, unless specifically noted otherwise. As used in this document, the term “and / or” includes any one of the referenced items, as well as any combination of any two or more of the referenced items; similarly, “at least one of’ includes any one of the referenced items, as well as any combination of any two or more of the referenced items.

[0136] Although terms such as “first,” “second,” and “third” can be used herein to describe various elements, components, regions, layers or sections, these elements, components, regions, layers or sections should not be limited to the terms. Instead, these terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, the first element, component, region, layer or section mentioned in the examples described herein can also be referred to as the second element, component, region, layer or section without departing from the teachings of the examples. In addition, the terms “first,” “second” are used for descriptive purposes only and should not be construed as indicating or implying relative importance or an indicated number of technical features. Thus, the features defined with “first,” “second” can explicitly or implicitly include at least one of the features. In the description herein, the meaning of “a plurality of’ is at least two, for example, two, three, etc., unless otherwise explicitly specified.

[0137] Furthermore, the word “exemplary” is used herein to mean serving as an example, instance, or illustration. Any aspect or design described herein as “exemplary” is not necessarily to be construed as advantageous over other aspects or designs. Rather, the word “exemplary” is used herein to present concepts in one example manner. As used in this document, the term “or” is intended to mean an inclusive “or” rather than an exclusive “or.” That is, unless specified otherwise, or clear from context, “X employs A or B” is intended to mean any of the natural inclusive permutations. That is, if X employs A; X employs B; or X employs both A and B, then “X employs A or B” is satisfied under any of the foregoing instances. Moreover, articles “a” and “an” as used in this application and the appended claims should generally be construed to mean “one or more” unless specified otherwise or clear from context to be directed to a singular form. Thus, use of the articles in this application and the appended claims is not limiting.

[0138] Likewise, although the present disclosure has been described and illustrated with respect to one or more implementations, equivalent alterations and modifications will become apparent to those skilled in the art that do not depart from the true spirit and scope of the disclosure. The present disclosure includes all such modifications and alterations and is limited only by the scope of the following claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms (including a reference to a "means") used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the described function (e.g., a functional equivalent), even though not structurally equivalent to the disclosed structure. In addition, although a particular feature of the disclosure can have been disclosed with respect to only one of several implementations, other implementations can include the particular feature. For example, the disclosure can be implemented with respect to other implementations that incorporate the particular feature, and that implement other features as disclosed herein, and each of the various implementations have a reasonable expectation of support. Furthermore, to the extent that the terms "includes", "including", "has", "have", "having", or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term "comprising".

[0139] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features of the disclosure disclosed herein. It is intended that the present disclosure be considered as including any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such steps, compositions, components, and / or elements known in the art to be appropriate. It is specifically intended that the present disclosure include all such modifications and alterations in the application, matter, and scope of the disclosure as fall within the usual practice of the art and are equated with the principles of the disclosure. The specification and examples are to be considered exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

[0140] It is to be understood that the present disclosure is not limited to the precise construction described and shown herein and that changes can be made in various details without departing from the scope of the disclosure. The scope of the present disclosure is limited only by the claims appended hereto.

Claims

1. A battery management method, characterized by, The method comprises: obtaining a measured battery temperature and a measured battery load of a battery of an electronic device; determining a predicted battery voltage according to the measured battery temperature and the measured battery load; determining a shutdown voltage of the electronic device according to the predicted battery voltage.

2. The battery management method of claim 1, wherein, The determining of the predicted battery voltage according to the measured battery temperature and the measured battery load comprises: determining predicted use information of the battery according to the measured battery temperature and the measured battery load, the predicted use information being used to represent a predicted use of the battery; determining the predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted use information.

3. The battery management method of claim 2, wherein, The determining of the predicted use information of the battery according to the measured battery temperature and the measured battery load comprises: obtaining a plurality of historical use information, each of the plurality of historical use information corresponding to a historical battery temperature and a historical battery load; determining the predicted use information from the plurality of historical use information according to the measured battery temperature and the measured battery load, the predicted use information corresponding to a historical battery temperature matching the measured battery temperature and / or corresponding to a historical battery load matching the measured battery load.

4. The battery management method of claim 3, wherein, The predicted use information is used to represent a predicted use habit of a user for the battery, and correspondingly, each of the plurality of historical use information is used to represent a different use habit of the user for the battery.

5. The battery management method of claim 2, wherein, The battery management method further comprises: obtaining a preset battery model, the preset battery model being used to represent a corresponding relationship among a battery temperature, a battery load and a battery voltage; correspondingly, the determining of the predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted use information comprises: determining a predicted battery temperature and a predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted use information; determining a predicted battery voltage according to the predicted battery temperature, the predicted battery load and the preset battery model.

6. The battery management method of claim 5, wherein, The determining of the predicted battery temperature and the predicted battery voltage according to the measured battery temperature, the measured battery load and the predicted use information comprises: determining battery temperature change data and battery load change data according to the predicted use information; determining the predicted battery temperature according to the measured battery temperature and the battery temperature change data; determining the predicted battery load according to the measured battery load and the battery load change data.

7. The battery management method according to any one of claims 1 to 6, characterized by, The shutdown voltage is greater than the predicted battery voltage.

8. The battery management method according to any one of claims 1 to 6, characterized by, The battery management method further comprises: obtaining a battery capacity; correspondingly, the determining of the shutdown voltage of the electronic device according to the predicted battery voltage comprises: determining the shutdown voltage according to the battery capacity and the predicted battery voltage.

9. The battery management method of claim 8, wherein, The shutdown voltage is greater than the predicted battery voltage, and a difference between the shutdown voltage and the predicted battery voltage is determined according to the battery capacity.

10. A battery management device, characterized by, The method comprises: an obtaining module configured to obtain a measured battery temperature and a measured battery load of a battery of an electronic device; The determining module is configured to determine a predicted battery voltage according to the measured battery temperature and the measured battery load, and determine a shutdown voltage of the electronic device according to the predicted battery voltage.

11. An electronic device, comprising: The method comprises: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the battery management method according to any one of claims 1-9.

12. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the battery management method according to any one of claims 1-9.

13. A computer program product, characterised in that, The computer program, when executed by a processor, implements the battery management method according to any one of claims 1-9.