CN117200385A - Battery management method and device, electronic equipment and readable storage medium - Google Patents

Battery management method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117200385A
CN117200385A CN202311149020.0A CN202311149020A CN117200385A CN 117200385 A CN117200385 A CN 117200385A CN 202311149020 A CN202311149020 A CN 202311149020A CN 117200385 A CN117200385 A CN 117200385A
Authority
CN
China
Prior art keywords
battery
electronic equipment
parameters
batteries
working
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311149020.0A
Other languages
Chinese (zh)
Inventor
周伟
尹喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311149020.0A priority Critical patent/CN117200385A/en
Publication of CN117200385A publication Critical patent/CN117200385A/en
Pending legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The application discloses a battery management method and device, electronic equipment and a readable storage medium, and belongs to the technical field of electronics. The battery management method is performed by an electronic device comprising at least two batteries, which may be powered individually or as an integral energy source, the battery management method comprising: acquiring the working parameters of the electronic equipment, wherein the working parameters of the electronic equipment comprise at least one of the following: hardware working parameters of the electronic equipment, software working parameters of the electronic equipment and working scene parameters of the electronic equipment; at least one battery is selected from the at least two batteries for powering according to an operating parameter of the electronic device.

Description

Battery management method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a battery management method and device, electronic equipment and a readable storage medium.
Background
At present, with the development of fast charging technology and electronic equipment style, a battery module formed by connecting two battery cells in parallel is appeared, and the design that the electronic equipment comprises two or more batteries is also appeared. However, in the present electronic devices including two or more batteries, the design of multiple batteries is often to increase the endurance of the electronic devices, and the charge and discharge management of the multiple batteries is insufficient, so that the efficiency and the rationality of the battery operation are poor.
Disclosure of Invention
The embodiment of the application aims to provide a battery management method and device, electronic equipment and a readable storage medium, which can improve the working efficiency and rationality of a battery.
In a first aspect, embodiments of the present application provide a battery management method performed by an electronic device, the electronic device including at least two batteries, the at least two batteries being individually energizable or energizable as an integral energy source, the battery management method comprising: acquiring the working parameters of the electronic equipment, wherein the working parameters of the electronic equipment comprise at least one of the following: hardware working parameters of the electronic equipment, software working parameters of the electronic equipment and working scene parameters of the electronic equipment; at least one battery is selected from the at least two batteries for powering according to an operating parameter of the electronic device.
In a second aspect, embodiments of the present application provide a battery management apparatus for use in an electronic device, the electronic device including at least two batteries, the at least two batteries being energizable individually or as an integral energy source, the battery management apparatus comprising: the electronic equipment comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring the working parameters of the electronic equipment, and the working parameters of the electronic equipment comprise at least one of the following: hardware working parameters of the electronic equipment, software working parameters of the electronic equipment and working scene parameters of the electronic equipment; and the processing unit is used for selecting at least one battery from the at least two batteries to supply energy according to the working parameters of the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the battery management method as in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the battery management method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being configured to execute programs or instructions for implementing the steps of the battery management method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executed by at least one processor to implement the steps of the battery management method as in the first aspect.
The battery management method provided by the embodiment of the application is executed by the electronic equipment, and the electronic equipment comprises at least two batteries which can be independently powered or used as an integral energy source for power supply. On the basis, in the working process of the electronic equipment, working parameters of the electronic equipment are obtained; selecting at least one battery from at least two batteries to supply energy according to the working parameters of the electronic equipment; wherein the operating parameters of the electronic device include at least one of: hardware operating parameters of the electronic device, software operating parameters of the electronic device, and operating scene parameters of the electronic device. Through the battery management method, for the electronic equipment comprising at least two batteries, in the working process of the electronic equipment, at least one battery is reasonably selected to supply energy according to the hardware working parameters, the software working parameters, the working scene parameters and other working parameters of the electronic equipment. Therefore, the battery energy supply condition of the electronic equipment is managed based on the actual working condition of the electronic equipment, the rationality of arrangement of the battery energy supply is improved, the working efficiency of the battery is improved, and the charging and discharging performance of the electronic equipment is improved.
Drawings
Fig. 1 is a schematic flow chart of a battery management method according to an embodiment of the present application;
fig. 2 is a schematic diagram of an operation interface of a battery management method according to an embodiment of the present application;
FIG. 3 is a second diagram illustrating an operation interface of a battery management method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a battery management method according to an embodiment of the present application;
fig. 5 is a block diagram of a battery management device according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type not limited to the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The battery management method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides a battery management method, which may include the following steps S102 and S104:
s102: and acquiring the working parameters of the electronic equipment.
The battery management method provided by the embodiment of the application is executed by electronic equipment, and the electronic equipment comprises at least two batteries. Wherein, during the operation of the electronic device, the at least two batteries may be separately powered, and the at least two batteries may also be powered as an integral energy source, which is not particularly limited herein.
In the practical application process, the electronic device may be specifically an electronic device with at least two batteries, such as a folding mobile phone, a folding tablet, a dual-screen mobile phone, and the like, which is not limited herein.
Further, the battery power supply mode of the electronic device includes an independent power supply mode, a combined power supply mode and an intelligent power supply mode.
Wherein, in the independent energy supply mode, each battery in the electronic device is used as a separate energy source to supply energy independently; in the combined power mode, at least two batteries in the electronic device are powered together as a unitary energy source; in the intelligent energy supply mode, at least one battery in the electronic equipment is intelligently selected or switched to supply energy based on specific working conditions of the electronic equipment.
In an actual application process, the electronic device includes a battery management interface, and a user can set a battery energy supply mode of the electronic device through touch input to the battery management interface. Illustratively, as shown in fig. 2, the battery management interface 202 includes a fourth control 204, the fourth control 204 being configured to allow a user to select between an independent power mode, a combined power mode, and an intelligent power mode to cause a battery of the electronic device to be powered in accordance with the corresponding battery power mode.
Further, the operating parameters of the electronic device include at least one of: hardware operating parameters of the electronic device, software operating parameters of the electronic device, and operating scene parameters of the electronic device.
The hardware operation parameters of the electronic device may specifically include an operation temperature of the electronic device, such as a shell temperature and a screen temperature of the electronic device, a battery temperature of the electronic device, a device component of the battery device, such as a camera component and a power consumption parameter of a flash lamp component, and the like; the software operating parameters of the electronic device may specifically include power consumption parameters of an application program in the electronic device; the operating scene parameters of the electronic device may include, in particular, an operating period, an operating location, an operating environment, and an operating condition of the electronic device, such as a network condition, etc.
In the practical application process, the specific content of the working parameters of the electronic device can be set by those skilled in the art according to the practical situation, and the specific limitation is not limited herein.
S104: at least one battery is selected from the at least two batteries for powering according to an operating parameter of the electronic device.
The operating parameters of the electronic device may specifically include a hardware operating parameter of the electronic device, a software operating parameter of the electronic device, and an operating scene parameter of the electronic device, which are not limited herein.
Specifically, in the battery management method provided by the embodiment of the application, for the electronic equipment comprising at least two batteries, under the condition that the batteries of the electronic equipment are in an intelligent energy supply mode in the working process of the electronic equipment, the hardware working parameters of the electronic equipment, the software working parameters of the electronic equipment, the working scene parameters of the electronic equipment and other working parameters are obtained, and then at least one battery is reasonably selected from the at least two batteries of the electronic equipment to supply energy based on the working parameters of the electronic equipment. Therefore, based on the actual working condition of the electronic equipment, the battery in the electronic equipment is reasonably arranged to supply energy, and the working efficiency of the battery is improved.
By way of example, the hardware operating parameters of the electronic device may include, in particular, operating temperatures of the electronic device such as a housing temperature and a screen temperature of the electronic device, a battery temperature of the electronic device, power consumption parameters of device components of the battery device such as a camera component and a flash component, and the like. On the basis, under the condition that the battery of the electronic equipment is in an intelligent energy supply mode, if the battery temperature of one battery of at least two batteries of the electronic equipment is higher, the battery is stopped to be used for supplying energy, and only other batteries with lower temperatures are controlled to supply energy, so that the continuous increase of the battery temperature is avoided, and the reliability of the battery operation is ensured. Or under the condition that the working temperature of the electronic equipment is higher, controlling the battery in the electronic equipment to supply energy simultaneously so as to increase the heat dissipation area of the electronic equipment while dispersing the power consumption of the battery, thereby realizing the rapid heat dissipation of the electronic equipment and ensuring the working reliability of the electronic equipment. Or, according to the power consumption parameters of the equipment components of the battery equipment, such as the camera component and the flash lamp component, controlling the battery with larger power in the electronic equipment to supply power to the equipment components with larger power consumption parameters, and controlling the battery with smaller power in the electronic equipment to supply power to the equipment components with smaller power consumption parameters.
By way of example, the software operating parameters of the electronic device may include, in particular, power consumption parameters of applications in the electronic device. On the basis, under the condition that the battery of the electronic equipment is in an intelligent energy supply mode, the battery with larger power in the electronic equipment can be controlled to supply energy to the application program with larger power consumption parameter according to the power consumption parameter of each application program in the electronic equipment, and the battery with smaller power in the electronic equipment is controlled to supply energy to the application program with smaller power consumption parameter. Or under the condition that the electronic equipment starts a plurality of high-power-consumption application programs, the battery in the electronic equipment is distributed to supply power for different application programs according to different working parameters according to the power consumption of each application program in the electronic equipment.
By way of example, the operating scenario parameters of the electronic device may include, in particular, an operating period, an operating location, an operating environment, and operating conditions, such as network conditions, etc., of the electronic device. On the basis, under the condition that the battery of the electronic equipment is in an intelligent energy supply mode, the battery in the electronic equipment can be controlled to supply energy according to the working time period, the working position, the working environment and the working condition of the electronic equipment. For example, during a weekday period, a battery of greater power in the electronic device is controlled to be powered, while during a rest period, a battery of lesser power in the electronic device is controlled to be powered. Or under the condition that the working position of the electronic equipment is the normal residence of a user, controlling a battery with larger power in the electronic equipment to supply energy, and under the condition that the working position of the electronic equipment is the address of the primary positioning, controlling the battery with smaller power in the electronic equipment to supply energy so as to save electric energy.
In the practical application process, the battery in the electronic device can be controlled to supply energy by combining the working scene parameters of the electronic device and the historical use habit of the user on the battery of the electronic device, and the method is not particularly limited.
The battery management method provided by the embodiment of the application is executed by electronic equipment, and the electronic equipment comprises at least two batteries which can be independently powered or used as an integral energy source for power supply. On the basis, in the working process of the electronic equipment, working parameters of the electronic equipment are obtained; selecting at least one battery from at least two batteries to supply energy according to the working parameters of the electronic equipment; wherein the operating parameters of the electronic device include at least one of: hardware operating parameters of the electronic device, software operating parameters of the electronic device, and operating scene parameters of the electronic device. Through the battery management method, for the electronic equipment comprising at least two batteries, in the working process of the electronic equipment, at least one battery is reasonably selected to supply energy according to the hardware working parameters, the software working parameters, the working scene parameters and other working parameters of the electronic equipment. Therefore, the battery energy supply condition of the electronic equipment is managed based on the actual working condition of the electronic equipment, the rationality of arrangement of the battery energy supply is improved, the working efficiency of the battery is improved, and the charging and discharging performance of the electronic equipment is improved.
In the embodiment of the present application, the above hardware operation parameters include a battery temperature and an operation temperature of an electronic device, and on this basis, the above S104 may specifically include the following S104a and S104b:
s104a: and controlling the first battery to stop power supply and controlling the second battery to supply power under the condition that the temperature of the first battery in the at least two batteries is greater than a first threshold value and the temperature of the second battery is less than the first threshold value.
The operating parameters of the electronic device may specifically include hardware operating parameters of the electronic device, and the hardware operating parameters of the electronic device may specifically include a battery temperature of the electronic device.
Further, the first battery may be any one of the batteries of the electronic device, and the second battery may be any one of the batteries of the electronic device.
Further, the first threshold is a temperature upper limit value for ensuring safe operation of the battery, and the battery can be operated safely when the battery temperature is smaller than the first threshold, and the battery operation is lower when the battery temperature is larger than the first threshold.
In the practical application process, for the specific value of the first threshold, those skilled in the art may set the specific value according to the practical situation, which is not limited herein.
Specifically, in the battery management method provided by the embodiment of the application, under the condition that the batteries of the electronic equipment are in an intelligent energy supply mode, if the temperature of a first battery in at least two batteries of the electronic equipment is larger than a first threshold value and the temperature of a second battery is smaller than the first threshold value, the first battery with higher battery temperature is stopped to supply energy, and only the second battery with lower battery temperature is controlled to supply energy, so that continuous operation of the batteries at a high temperature is avoided, the safety and reliability of battery operation are ensured, and the service life of the batteries is prolonged.
S104b: and controlling at least two batteries to be powered simultaneously when the operating temperature of the electronic device is greater than a second threshold.
The hardware operating parameters of the electronic device may specifically further include an operating temperature of the electronic device. Further, the operating temperature of the electronic device may specifically include a housing temperature of the electronic device and a screen temperature.
Further, the second threshold is a temperature upper limit value for ensuring safe operation of the electronic device, and when the operating temperature of the electronic device is smaller than the second threshold, the operating safety of the electronic device is higher, and when the operating temperature of the electronic device is larger than the second threshold, the operating safety of the electronic device is lower.
In the practical application process, for the specific value of the second threshold, those skilled in the art may set the specific value according to the practical situation, which is not limited herein.
Specifically, in the battery management method provided by the embodiment of the application, if the working temperature of the electronic equipment, such as the shell temperature and the screen temperature of the electronic equipment, is higher under the condition that the battery of the electronic equipment is in an intelligent energy supply mode, the battery in the electronic equipment is controlled to supply energy simultaneously, so that the heat dissipation area of the electronic equipment is increased while the power consumption of the battery is dispersed, thereby realizing the rapid heat dissipation of the electronic equipment and ensuring the working reliability and the safety of the electronic equipment.
According to the embodiment of the application, the hardware working parameters comprise the battery temperature and the working temperature of the electronic equipment, and when the temperature of a first battery in at least two batteries is larger than a first threshold value and the temperature of a second battery is smaller than the first threshold value, the first battery is controlled to stop supplying energy, and the second battery is controlled to supply energy; and controlling at least two batteries to supply energy simultaneously under the condition that the working temperature of the electronic equipment is larger than a second threshold value so as to accelerate heat dissipation. Therefore, based on the working temperature of the electronic equipment and the battery temperature, the battery in the electronic equipment is arranged to supply energy, the rationality of arrangement of energy supply to the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery are improved.
In the embodiment of the present application, the software operating parameters include power consumption parameters of an application program in the electronic device, and on this basis, the S104 may specifically include the following S104c to S104e:
s104c: and determining the power consumption proportion of the foreground application program and the background application program in the electronic equipment according to the power consumption parameters of the application program in the electronic equipment.
The operating parameters of the electronic device may specifically include software operating parameters of the electronic device, and the software operating parameters of the electronic device may specifically include power consumption parameters of an application program in the electronic device.
Further, the foreground application is an application running in the foreground in the electronic device, and the background application is an application running in the background in the electronic device.
Specifically, in the battery management method provided by the embodiment of the application, the power consumption proportion of the foreground application program and the background application program in the electronic equipment is calculated according to the power consumption parameters of each application program in the electronic equipment, such as the power consumption of the application program.
S104d: the current output ratio of at least two batteries is determined according to the power consumption proportion.
The current output ratio is a ratio of output current values of the battery in the electronic device.
In the practical application process, the current output ratio may specifically be a ratio of an output current value of a high-power battery to an output current value of a low-power battery in the electronic device, which is not particularly limited herein.
The high-power battery is a battery with larger rated power in the electronic equipment, the battery can be used as a main battery of the electronic equipment, the low-power battery is a battery with smaller rated power in the electronic equipment, and the battery can be used as a secondary battery of the electronic equipment.
S104e: at least two batteries are controlled to respectively supply power for a foreground application program and a background application program according to the current output ratio.
Specifically, in the battery management method provided by the embodiment of the application, under the condition that the battery of the electronic equipment is in an intelligent energy supply mode, the power consumption proportion of a foreground application program and a background application program in the electronic equipment can be determined according to the power consumption parameters of each application program in the electronic equipment, and then the current output ratio of at least two batteries is determined according to the power consumption proportion, and the at least two batteries are controlled to supply energy to the foreground application program and the background application program respectively according to the current output ratio. For example, according to the current output ratio, a high-power battery in the electronic device is controlled to supply power to a foreground application program with larger power consumption parameters by a high-power current, and a low-power battery in the electronic device is controlled to supply power to a background application program with smaller power consumption parameters by a low-power current.
Illustratively, as shown in fig. 4, the electronic device includes a CPU (Central Processing Unit ), a PMU (Power Management Unit, power management unit), a current control switch 1, a current control switch 2, and two batteries of a main battery and a sub-battery. Wherein, the current control switch 1 is used for controlling the work of the main battery, and the current control switch 2 is used for controlling the work of the auxiliary battery. On the basis, under a game scene, the game application is started in the foreground, other applications are put in the background to run, and at the moment, the main battery and the auxiliary battery can be controlled to supply power for the game application and the background application respectively according to different power supply powers through the combined work of the CPU, the PMU, the current control switch 1 and the current control switch 2 according to the power consumption parameters of the game application and the background application.
Specifically, in a game scenario, a game application is opened in the foreground and other applications are placed in the background for execution. Based on this, in the game process, the CPU counts the power consumption required for the game application and the power consumption required for the background application in real time. Further, the CPU calculates a proportion of battery power consumption required to be consumed by the game application and the background application based on the power consumption required to be consumed by the game application and the power consumption required to be consumed by the background application. On the basis, according to the battery power consumption proportion required to be consumed by game application and background application, a control signal is dynamically input to the current control switches of the main battery and the auxiliary battery, namely the current control switch 1 and the current control switch 2 through the CPU, so that the current control switch 1 and the current control switch 2 adjust the current output ratio of the main battery and the auxiliary battery according to the current output proportion required by the CPU, and the output currents of the main battery and the auxiliary battery are further supplied to the PMU in a parallel connection mode, so that the main battery and the auxiliary battery supply energy for the game application and the background application respectively according to corresponding power supply, namely the power supply current.
The electronic equipment further comprises a triode circuit or a field effect tube, and in the process of adjusting the current output ratio of the main battery and the auxiliary battery, the triode circuit or the field effect tube is specifically adjusted through a control signal of the CPU, so that the output current of the main battery and the auxiliary battery is adjusted.
According to the embodiment of the application, the software working parameters comprise the power consumption parameters of the application programs in the electronic equipment, and the power consumption proportion of the foreground application programs and the background application programs in the electronic equipment is determined according to the power consumption parameters of the application programs in the electronic equipment in the process of selecting at least one battery from at least two batteries to supply power according to the working parameters of the electronic equipment; determining the current output ratio of at least two batteries according to the power consumption proportion; at least two batteries are controlled to respectively supply power for a foreground application program and a background application program according to the current output ratio. Therefore, based on the power consumption parameters of each application program in the electronic equipment, the battery in the electronic equipment is controlled to supply energy according to a specific current output ratio, the rationality of battery energy supply arrangement is improved, the working efficiency of the battery is improved, and the safety and the reliability of battery work are improved.
In the embodiment of the present application, the above S104 may specifically include the following S104f to S104h:
s104f: and determining the working scene of the electronic equipment according to the working scene parameters of the electronic equipment.
The working parameters of the electronic device may specifically include working scene parameters of the electronic device, and the working scene parameters of the electronic device may specifically include working period, working position, working environment and working conditions of the electronic device, such as network conditions, etc.
On the basis, under the condition that the battery of the electronic equipment is in an intelligent energy supply mode, the working scene of the electronic equipment can be determined according to the working period, the working position, the working environment and the working condition such as network condition of the electronic equipment.
For example, when the working period of the electronic device is a weekend period and the working position is the home address of the user and the working condition such as the network condition is good, the working scene of the electronic device is determined to be a rest scene; when the working time period of the electronic equipment is a working day period, and the working position is the working unit address of the user and the working condition such as the network condition is good, judging that the working scene of the electronic equipment is the working scene; and when the working time period of the electronic equipment is a holiday time period and the working position is not the resident address of the user and the working condition such as the network condition is poor, judging that the working scene of the electronic equipment is a holiday scene.
S104g: and determining the charge and discharge parameters of at least two batteries according to the working scene of the electronic equipment.
The working scene of the electronic equipment corresponds to the charge and discharge parameters of the battery in the electronic equipment.
In the actual application process, the corresponding relation between the working scene of the electronic equipment and the charge and discharge parameters of the battery in the electronic equipment can be stored in the storage device of the electronic equipment in advance, and the corresponding relation can be directly fetched and used later.
Further, in the actual application process, the user may also set the corresponding relationship between the working scene of the electronic device and the charge and discharge parameters of the battery in the electronic device in the battery management interface, which is not limited herein.
S104h: and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters.
Specifically, in the battery management method provided by the embodiment of the application, during the working process of the electronic equipment, the electronic equipment can detect the working scene parameters thereof in real time, further based on an AI (Artifical Intelligence, artificial intelligence) technology, the working scene of the electronic equipment is identified according to the working scene parameters, further the charging and discharging parameters of the battery in the electronic equipment are determined according to the working scene of the electronic equipment, and at least one battery corresponding to the working scene is selected to supply energy according to the determined charging and discharging parameters.
For example, in a working scenario, a battery with higher power in the electronic device is controlled to supply power, and in a rest scenario, a battery with lower power in the electronic device is controlled to supply power. Or under the condition that the working position of the electronic equipment is the normal residence of a user, controlling a battery with larger power in the electronic equipment to supply energy, and under the condition that the working position of the electronic equipment is the address of the primary positioning, controlling the battery with smaller power in the electronic equipment to supply energy so as to save electric energy. Or under the condition that the electronic equipment uses wireless internet surfing, controlling a battery with larger power in the electronic equipment to supply power, and under the condition that the electronic equipment uses flow internet surfing, controlling a battery with smaller power in the electronic equipment to supply power.
In the practical application process, the battery in the electronic device can be controlled to supply energy by combining the working scene parameters of the electronic device and the historical use habit of the user on the battery of the electronic device, and the method is not particularly limited.
According to the embodiment provided by the application, the working scene of the electronic equipment is determined according to the working scene parameters of the electronic equipment; according to the working scene of the electronic equipment, determining the charge and discharge parameters of at least two batteries; and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters. Therefore, based on the actual working scene of the electronic equipment, the battery in the electronic equipment is arranged to supply energy, the rationality of arrangement of the energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
In the embodiment of the present application, the electronic device further includes a battery management interface, and on this basis, the above battery management method may specifically further include the following S106 and S108:
s106: a first input from a user to a battery management interface is received.
The battery management interface is used for setting battery energy supply conditions of the electronic equipment. Specifically, the battery management interface is used for setting a battery energy supply mode of the electronic device and working parameters of each battery in the electronic device.
Further, the first input may specifically be a touch input of the user to the battery management interface, where the touch input may specifically be a single click input, a long press input, a double click input, a sliding input, an input along a preset track, etc., and a person skilled in the art may set a specific form of the first input according to the actual situation, which is not limited herein.
S108: in response to the first input, operating parameters of at least two batteries are adjusted.
The working parameters of the battery can specifically include an energy supply object of the battery, a charging and discharging parameter of the battery and a charging and discharging state of the battery. The energy supply object may specifically include an application program in the electronic device, a device component, and the like. The above charge and discharge parameters may specifically include charge and discharge power, discharge sequence, discharge period, discharge scenario, discharge mode, etc. of the battery in the electronic device. The charge and discharge state of the battery may specifically include a charge state and a discharge state.
In the practical application process, the specific content of the working parameters of the battery can be set by those skilled in the art according to the practical situation, and the specific limitation is not limited herein.
Specifically, in the battery management method provided by the embodiment of the application, the electronic device can receive the first input of the user to the battery management interface, and respond to the first input to adjust the working parameters of the battery, such as the energy supply object of the battery, the charge and discharge parameters of the battery and the charge and discharge states of the battery.
In the actual application process, one battery can correspond to an independent management setting interface, and in the process of adjusting the working parameters of the battery by a user, the user can select the management setting interface corresponding to the battery and set the working parameters of the corresponding battery in the management setting interface.
The electronic device includes a main battery and a sub-battery. On this basis, as shown in fig. 2, the user may display the first management setting interface 206 corresponding to the main battery through the touch input to the "main battery" button in the battery management interface 202, and set the working parameters of the main battery through the touch input to each control in the first management setting interface 206. Alternatively, as shown in fig. 3, the user may further display the second management setting interface 208 corresponding to the secondary battery through the touch input to the "secondary battery" button in the battery management interface 202, and set the working parameters of the secondary battery through the touch input to each control in the second management setting interface 208.
According to the embodiment provided by the application, the electronic equipment further comprises a battery management interface, and the electronic equipment can also receive the first input of the user to the battery management interface; in response to the first input, operating parameters of at least two batteries are adjusted. Therefore, the user can set the working parameters of the battery autonomously, the battery management function of the electronic equipment is increased, and the working reliability of the battery of the electronic equipment is improved.
In the embodiment of the present application, the battery management interface includes a first control, and on this basis, the above S108 may specifically include the following S108a:
s108a: in response to a first input by a user to the first control, the powered objects of the at least two batteries are adjusted.
The battery management interface includes a first control, such as an application management button in fig. 2 and 3, where the first control is used to set an energy supply object of the battery.
Further, the above-mentioned energy supply object may specifically include an application program in an electronic device, a device component, and the like, which are not particularly limited herein.
Specifically, in the battery management method provided by the embodiment of the application, the electronic device can receive the first input of the first control in the battery management interface from the user, and respond to the first input to adjust the energy supply object of the corresponding battery.
For example, a user may set a battery with higher power in the electronic device to power an application with higher power in the electronic device and set a battery with lower power in the electronic device to power an application with lower power in the electronic device according to the power consumption parameters of each application in the electronic device.
Further, the user may also set the power consumption parameters of the device components, such as the camera component and the flash lamp component, in the battery device, set the power of the battery with higher power in the electronic device to supply power to the device components with higher power consumption parameters, and set the power of the battery with lower power in the electronic device to supply power to the device components with lower power consumption parameters.
According to the embodiment of the application, the battery management interface comprises the first control, and the electronic equipment can respond to the first input of the user to the first control to adjust the energy supply objects of at least two batteries; wherein the powered object comprises at least one of: application programs, device components. Therefore, the user can autonomously set the energy supply object of the battery, the battery management function of the electronic equipment is increased, the rationality of arrangement of energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
In the embodiment of the present application, the battery management interface includes a second control, and on this basis, the above S108 may specifically include S108b as follows:
s108b: and adjusting charge and discharge parameters of at least two batteries in response to a first input of a second control by a user.
The battery management interface includes a second control, such as a "charge management" button and a "discharge management" button in fig. 2 and fig. 3, where the second control is used to set charge and discharge parameters of the battery.
Further, the above charge and discharge parameters may specifically include charge and discharge power, discharge sequence, discharge period, discharge scenario, and discharge mode of the battery.
The discharging scene may specifically include a common usage scene of the electronic device such as a working scene, a rest scene, a game scene, and a music scene, and the discharging mode may specifically include a normal mode, a power saving mode, and a sleep mode.
Specifically, in the battery management method provided by the embodiment of the application, the electronic device can receive the first input of the second control in the battery management interface from the user, and respond to the first input to set the charge and discharge parameters of the corresponding battery.
For example, the user may set the charge and discharge power of each battery in the electronic device according to the actual use situation of the electronic device. Alternatively, the user may set to preferentially use a certain battery in the electronic device to supply power according to the actual use situation of the electronic device. Alternatively, the user may set the lower power battery in the electronic device to discharge during the rest period and set the higher power battery in the electronic device to discharge during the weekday period. Or, the user can set the battery with smaller power in the electronic device to discharge in the use scenes with smaller power consumption, such as a rest scene, a music scene and the like, and set the battery with larger power in the electronic device to discharge in the use scenes with larger power consumption, such as a working scene, a game scene and the like. Or, the user can set the corresponding battery to be in a normal mode, a power saving mode or a sleep mode according to the residual electric quantity of each battery in the electronic device.
According to the embodiment of the application, the battery management interface comprises the second control, and the electronic equipment can respond to the first input of the user to the second control to adjust the charge and discharge parameters of at least two batteries; wherein the charge-discharge parameters include at least one of: charge-discharge power, discharge sequence, discharge period, discharge scenario, and discharge pattern. Therefore, the user can autonomously set the charge and discharge parameters of the battery, the battery management function of the electronic equipment is increased, the rationality of the arrangement of the energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
In the embodiment of the present application, the battery management interface includes a third control, and on this basis, the above S108 may specifically include the following S108c:
s108c: in response to a first input to the third control by the user, any one of the at least two batteries is controlled to charge another one of the at least two batteries.
The battery management interface includes a third control, such as the "battery setting" button in fig. 2 and 3, where the third control may be used to set the charge and discharge states of the battery.
Further, the charging and discharging states of the battery may specifically include a charging state and a discharging state, and the reverse charging function of the battery can be achieved through the touch input to the third control.
Specifically, in the battery management method provided by the embodiment of the application, the electronic device can receive the first input of the third control in the battery management interface from the user, and in response to the first input, the electronic device sets any one of the at least two batteries of the electronic device to be in a discharging state and sets the other one of the at least two batteries to be in a charging state, so that the any one of the at least two batteries charges the other one of the at least two batteries, thereby realizing the reverse charging function of the batteries.
In the above embodiment of the present application, the battery management interface includes a third control, and the electronic device may control any one of the at least two batteries to charge the other of the at least two batteries in response to the first input of the third control by the user. Therefore, the user can set the charge and discharge states of the battery independently, and the reverse charging function of the battery is realized.
In the actual application process, as shown in fig. 2 and fig. 3, the battery management Interface may further include a "UI setting" key, through which a User may set a shortcut key in a User-defined manner, for example, a shortcut key for quick start of a battery and a shortcut key for switching a battery-powered mode, and the User may set a display effect of a battery icon, a charging animation effect, and the like through the UI setting key.
Further, as shown in fig. 2 and 3, the battery management interface may further include a "rights management" button, through which the user may set rights to the application program to access the battery health data and the user usage data.
In addition, in the practical application process, a user can optimize the battery through touch input of the battery management interface so as to prolong the service life of the battery.
According to the battery management method provided by the embodiment of the application, the execution main body can be a battery management device. In the embodiment of the present application, the battery management device executes the above battery management method as an example, and the battery management device provided in the embodiment of the present application is described.
As shown in fig. 5, an embodiment of the present application provides a battery management device 500, where the device is applied to an electronic apparatus, and the electronic apparatus includes at least two batteries, where the at least two batteries may be separately powered or powered as a whole energy source, and the battery management device 500 may specifically include an acquisition unit and a processing unit as described below.
An obtaining unit 502, configured to obtain an operation parameter of the electronic device, where the operation parameter of the electronic device includes at least one of: hardware working parameters of the electronic equipment, software working parameters of the electronic equipment and working scene parameters of the electronic equipment;
a processing unit 504, configured to select at least one battery from the at least two batteries for supplying power according to an operation parameter of the electronic device.
The battery management device 500 provided by the embodiment of the application is applied to electronic equipment, and the electronic equipment comprises at least two batteries which can be independently powered or used as an integral energy source for power supply. On the basis, in the working process of the electronic equipment, working parameters of the electronic equipment are obtained; selecting at least one battery from at least two batteries to supply energy according to the working parameters of the electronic equipment; wherein the operating parameters of the electronic device include at least one of: hardware operating parameters of the electronic device, software operating parameters of the electronic device, and operating scene parameters of the electronic device. Through the battery management device 500, for an electronic device including at least two batteries, during the working process of the electronic device, at least one battery is reasonably selected to supply energy according to the hardware working parameters, the software working parameters, the working scene parameters and other working parameters of the electronic device. Therefore, the battery energy supply condition of the electronic equipment is managed based on the actual working condition of the electronic equipment, the rationality of arrangement of the battery energy supply is improved, the working efficiency of the battery is improved, and the charging and discharging performance of the electronic equipment is improved.
In the embodiment of the present application, the hardware operation parameters include a battery temperature and an operation temperature of the electronic device, and the processing unit 504 is specifically configured to: controlling the first battery to stop supplying power and controlling the second battery to supply power under the condition that the temperature of the first battery in the at least two batteries is greater than a first threshold value and the temperature of the second battery is less than the first threshold value; and controlling at least two batteries to supply energy simultaneously under the condition that the working temperature of the electronic equipment is larger than a second threshold value so as to accelerate heat dissipation.
According to the embodiment of the application, the hardware working parameters comprise the battery temperature and the working temperature of the electronic equipment, and when the temperature of a first battery in at least two batteries is larger than a first threshold value and the temperature of a second battery is smaller than the first threshold value, the first battery is controlled to stop supplying energy, and the second battery is controlled to supply energy; and controlling at least two batteries to supply energy simultaneously under the condition that the working temperature of the electronic equipment is larger than a second threshold value so as to accelerate heat dissipation. Therefore, based on the working temperature of the electronic equipment and the battery temperature, the battery in the electronic equipment is arranged to supply energy, the rationality of arrangement of energy supply to the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery are improved.
In the embodiment of the present application, the software operating parameters include power consumption parameters of an application program in the electronic device, and the processing unit 504 is specifically configured to: determining the power consumption proportion of a foreground application program and a background application program in the electronic equipment according to the power consumption parameters of the application program in the electronic equipment; determining the current output ratio of at least two batteries according to the power consumption proportion; at least two batteries are controlled to respectively supply power for a foreground application program and a background application program according to the current output ratio.
According to the embodiment of the application, the software working parameters comprise the power consumption parameters of the application programs in the electronic equipment, and the power consumption proportion of the foreground application programs and the background application programs in the electronic equipment is determined according to the power consumption parameters of the application programs in the electronic equipment in the process of selecting at least one battery from at least two batteries to supply power according to the working parameters of the electronic equipment; determining the current output ratio of at least two batteries according to the power consumption proportion; at least two batteries are controlled to respectively supply power for a foreground application program and a background application program according to the current output ratio. Therefore, based on the power consumption parameters of each application program in the electronic equipment, the battery in the electronic equipment is controlled to supply energy according to a specific current output ratio, the rationality of battery energy supply arrangement is improved, the working efficiency of the battery is improved, and the safety and the reliability of battery work are improved.
In the embodiment of the present application, the processing unit 504 is specifically configured to: determining the working scene of the electronic equipment according to the working scene parameters of the electronic equipment; according to the working scene of the electronic equipment, determining the charge and discharge parameters of at least two batteries; and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters.
According to the embodiment provided by the application, the working scene of the electronic equipment is determined according to the working scene parameters of the electronic equipment; according to the working scene of the electronic equipment, determining the charge and discharge parameters of at least two batteries; and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters. Therefore, based on the actual working scene of the electronic equipment, the battery in the electronic equipment is arranged to supply energy, the rationality of arrangement of the energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
In an embodiment of the present application, the electronic device further includes a battery management interface, and the battery management apparatus 500 further includes: a receiving unit 506, configured to receive a first input from a user to the battery management interface; the processing unit 504 is further configured to adjust an operating parameter of the at least two batteries in response to the first input.
According to the embodiment provided by the application, the electronic equipment further comprises a battery management interface, and the electronic equipment can also receive the first input of the user to the battery management interface; in response to the first input, operating parameters of at least two batteries are adjusted. Therefore, the user can set the working parameters of the battery autonomously, the battery management function of the electronic equipment is increased, and the working reliability of the battery of the electronic equipment is improved.
In the embodiment of the present application, the battery management interface includes a first control, and the processing unit 504 is specifically configured to: responsive to a first input by a user to the first control, adjusting an energy object of the at least two batteries; wherein the powered object comprises at least one of: application programs, device components.
According to the embodiment of the application, the battery management interface comprises the first control, and the electronic equipment can respond to the first input of the user to the first control to adjust the energy supply objects of at least two batteries; wherein the powered object comprises at least one of: application programs, device components. Therefore, the user can autonomously set the energy supply object of the battery, the battery management function of the electronic equipment is increased, the rationality of arrangement of energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
In the embodiment of the present application, the battery management interface includes a second control, and the processing unit 504 is specifically configured to: responding to the first input of the user to the second control, and adjusting the charge and discharge parameters of at least two batteries; wherein the charge-discharge parameters include at least one of: charge-discharge power, discharge sequence, discharge period, discharge scenario, and discharge pattern.
According to the embodiment of the application, the battery management interface comprises the second control, and the electronic equipment can respond to the first input of the user to the second control to adjust the charge and discharge parameters of at least two batteries; wherein the charge-discharge parameters include at least one of: charge-discharge power, discharge sequence, discharge period, discharge scenario, and discharge pattern. Therefore, the user can autonomously set the charge and discharge parameters of the battery, the battery management function of the electronic equipment is increased, the rationality of the arrangement of the energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
In the embodiment of the present application, the battery management interface includes a third control, and the processing unit 504 is specifically configured to: in response to a first input to the third control by the user, any one of the at least two batteries is controlled to charge another one of the at least two batteries.
In the above embodiment of the present application, the battery management interface includes a third control, and the electronic device may control any one of the at least two batteries to charge the other of the at least two batteries in response to the first input of the third control by the user. Therefore, the user can set the charge and discharge states of the battery independently, and the reverse charging function of the battery is realized.
The battery management device 500 in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The battery management device 500 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The battery management device 500 provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and in order to avoid repetition, a description thereof will be omitted.
Optionally, as shown in fig. 6, the embodiment of the present application further provides an electronic device 600, including a processor 602 and a memory 604, where the memory 604 stores a program or instructions that can be executed on the processor 602, and the program or instructions implement the steps of the above-mentioned embodiment of the battery management method when executed by the processor 602, and achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 700 includes, but is not limited to: radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, and processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 710 via a power management system so as to perform functions such as managing charge, discharge, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The processor 710 is configured to obtain an operating parameter of the electronic device, where the operating parameter of the electronic device includes at least one of: hardware operating parameters of the electronic device, software operating parameters of the electronic device, and operating scene parameters of the electronic device.
The processor 710 is further configured to select at least one battery from the at least two batteries for powering according to an operating parameter of the electronic device.
In an embodiment of the application, the electronic device comprises at least two batteries, which may be powered individually or as an integral energy source. On the basis, in the working process of the electronic equipment, working parameters of the electronic equipment are obtained; selecting at least one battery from at least two batteries to supply energy according to the working parameters of the electronic equipment; wherein the operating parameters of the electronic device include at least one of: hardware operating parameters of the electronic device, software operating parameters of the electronic device, and operating scene parameters of the electronic device. In the embodiment of the application, for the electronic equipment comprising at least two batteries, in the working process of the electronic equipment, at least one battery is reasonably selected for energy supply according to the hardware working parameters, the software working parameters, the working scene parameters and other working parameters of the electronic equipment. Therefore, the battery energy supply condition of the electronic equipment is managed based on the actual working condition of the electronic equipment, the rationality of arrangement of the battery energy supply is improved, the working efficiency of the battery is improved, and the charging and discharging performance of the electronic equipment is improved.
Optionally, the hardware operating parameters include a battery temperature and an operating temperature of the electronic device, and the processor 710 is specifically configured to: controlling the first battery to stop supplying power and controlling the second battery to supply power under the condition that the temperature of the first battery in the at least two batteries is greater than a first threshold value and the temperature of the second battery is less than the first threshold value; and controlling at least two batteries to supply energy simultaneously under the condition that the working temperature of the electronic equipment is larger than a second threshold value so as to accelerate heat dissipation.
According to the embodiment of the application, the hardware working parameters comprise the battery temperature and the working temperature of the electronic equipment, and when the temperature of a first battery in at least two batteries is larger than a first threshold value and the temperature of a second battery is smaller than the first threshold value, the first battery is controlled to stop supplying energy, and the second battery is controlled to supply energy; and controlling at least two batteries to supply energy simultaneously under the condition that the working temperature of the electronic equipment is larger than a second threshold value so as to accelerate heat dissipation. Therefore, based on the working temperature of the electronic equipment and the battery temperature, the battery in the electronic equipment is arranged to supply energy, the rationality of arrangement of energy supply to the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery are improved.
Optionally, the software operating parameters include power consumption parameters of an application in the electronic device, and the processor 710 is specifically configured to: determining the power consumption proportion of a foreground application program and a background application program in the electronic equipment according to the power consumption parameters of the application program in the electronic equipment; determining the current output ratio of at least two batteries according to the power consumption proportion; at least two batteries are controlled to respectively supply power for a foreground application program and a background application program according to the current output ratio.
According to the embodiment of the application, the software working parameters comprise the power consumption parameters of the application programs in the electronic equipment, and the power consumption proportion of the foreground application programs and the background application programs in the electronic equipment is determined according to the power consumption parameters of the application programs in the electronic equipment in the process of selecting at least one battery from at least two batteries to supply power according to the working parameters of the electronic equipment; determining the current output ratio of at least two batteries according to the power consumption proportion; at least two batteries are controlled to respectively supply power for a foreground application program and a background application program according to the current output ratio. Therefore, based on the power consumption parameters of each application program in the electronic equipment, the battery in the electronic equipment is controlled to supply energy according to a specific current output ratio, the rationality of battery energy supply arrangement is improved, the working efficiency of the battery is improved, and the safety and the reliability of battery work are improved.
Optionally, the processor 710 is specifically configured to: determining the working scene of the electronic equipment according to the working scene parameters of the electronic equipment; according to the working scene of the electronic equipment, determining the charge and discharge parameters of at least two batteries; and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters.
According to the embodiment provided by the application, the working scene of the electronic equipment is determined according to the working scene parameters of the electronic equipment; according to the working scene of the electronic equipment, determining the charge and discharge parameters of at least two batteries; and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters. Therefore, based on the actual working scene of the electronic equipment, the battery in the electronic equipment is arranged to supply energy, the rationality of arrangement of the energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
Optionally, the electronic device further comprises a battery management interface, and the user input unit 707 is configured to receive a first input from a user to the battery management interface; processor 710 is also configured to adjust an operating parameter of at least two batteries in response to the first input.
According to the embodiment provided by the application, the electronic equipment further comprises a battery management interface, and the electronic equipment can also receive the first input of the user to the battery management interface; in response to the first input, operating parameters of at least two batteries are adjusted. Therefore, the user can set the working parameters of the battery autonomously, the battery management function of the electronic equipment is increased, and the working reliability of the battery of the electronic equipment is improved.
Optionally, the battery management interface includes a first control, and the processor 710 is specifically configured to: responsive to a first input by a user to the first control, adjusting an energy object of the at least two batteries; wherein the powered object comprises at least one of: application programs, device components.
According to the embodiment of the application, the battery management interface comprises the first control, and the electronic equipment can respond to the first input of the user to the first control to adjust the energy supply objects of at least two batteries; wherein the powered object comprises at least one of: application programs, device components. Therefore, the user can autonomously set the energy supply object of the battery, the battery management function of the electronic equipment is increased, the rationality of arrangement of energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
Optionally, the battery management interface includes a second control, and the processor 710 is specifically configured to: responding to the first input of the user to the second control, and adjusting the charge and discharge parameters of at least two batteries; wherein the charge-discharge parameters include at least one of: charge-discharge power, discharge sequence, discharge period, discharge scenario, and discharge pattern.
According to the embodiment of the application, the battery management interface comprises the second control, and the electronic equipment can respond to the first input of the user to the second control to adjust the charge and discharge parameters of at least two batteries; wherein the charge-discharge parameters include at least one of: charge-discharge power, discharge sequence, discharge period, discharge scenario, and discharge pattern. Therefore, the user can autonomously set the charge and discharge parameters of the battery, the battery management function of the electronic equipment is increased, the rationality of the arrangement of the energy supply of the battery is improved, the working efficiency of the battery is improved, and the safety and the reliability of the battery work are improved.
Optionally, the battery management interface includes a third control, and the processor 710 is specifically configured to: in response to a first input to the third control by the user, any one of the at least two batteries is controlled to charge another one of the at least two batteries.
In the above embodiment of the present application, the battery management interface includes a third control, and the electronic device may control any one of the at least two batteries to charge the other of the at least two batteries in response to the first input of the third control by the user. Therefore, the user can set the charge and discharge states of the battery independently, and the reverse charging function of the battery is realized.
It should be appreciated that in embodiments of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, with the graphics processor 7041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 709 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, processor 710 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, and the like, and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 710.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above battery management method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as computer readable memory ROM, random access memory RAM, magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the battery management method can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the respective processes of the above-described embodiments of the battery management method, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in part in the form of a computer software product stored on a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (11)

1. A battery management method performed by an electronic device, the electronic device including at least two batteries, at least two of the batteries being individually energizable or being energizable as a unitary energy source, the battery management method comprising:
acquiring the working parameters of the electronic equipment, wherein the working parameters of the electronic equipment comprise at least one of the following: the hardware working parameters of the electronic equipment, the software working parameters of the electronic equipment and the working scene parameters of the electronic equipment;
and selecting at least one battery from at least two batteries to supply energy according to the working parameters of the electronic equipment.
2. The battery management method of claim 1, wherein the software operating parameters include power consumption parameters of an application in the electronic device, and wherein selecting at least one battery from at least two of the batteries to power according to the operating parameters of the electronic device comprises:
determining the power consumption proportion of a foreground application program and a background application program in the electronic equipment according to the power consumption parameters of the application program in the electronic equipment;
determining the current output ratio of at least two batteries according to the power consumption proportion;
And controlling at least two batteries to respectively supply power to the foreground application program and the background application program according to the current output ratio.
3. The method of claim 1, wherein selecting at least one battery from at least two of the batteries for power based on the operating parameters of the electronic device comprises:
determining the working scene of the electronic equipment according to the working scene parameters of the electronic equipment;
determining charge and discharge parameters of at least two batteries according to the working scene of the electronic equipment;
and selecting at least one battery corresponding to the working scene to supply energy according to the charge and discharge parameters.
4. The battery management method of claim 1, wherein the electronic device further comprises a battery management interface, the battery management method further comprising:
receiving a first input of a user to the battery management interface;
in response to the first input, operating parameters of at least two of the batteries are adjusted.
5. The battery management method of claim 4, wherein the battery management interface includes a first control, and wherein adjusting the operating parameters of at least two of the batteries in response to the first input comprises:
Responsive to the first input by a user to the first control, adjusting an energy object of at least two of the batteries;
wherein the powered object comprises at least one of: application programs, device components.
6. The battery management method of claim 4, wherein the battery management interface includes a second control, the adjusting the operating parameters of at least two of the batteries in response to the first input comprising:
responding to the first input of the user to the second control, and adjusting charge and discharge parameters of at least two batteries;
wherein the charge-discharge parameters include at least one of: charge-discharge power, discharge sequence, discharge period, discharge scenario, and discharge pattern.
7. The battery management method of claim 4, wherein the battery management interface includes a third control, the adjusting the operating parameters of at least two of the batteries in response to the first input comprising:
and in response to the first input of the third control by the user, controlling any one of the at least two batteries to charge the other of the at least two batteries.
8. The battery management method according to any one of claims 1 to 7, wherein the hardware operation parameters include a battery temperature and an operation temperature of an electronic device, and the selecting at least one battery from at least two of the batteries to supply power according to the operation parameters of the electronic device includes:
controlling a first battery to stop power supply and controlling a second battery to supply power under the condition that the temperature of the first battery in at least two batteries is larger than a first threshold value and the temperature of the second battery is smaller than the first threshold value;
and controlling at least two batteries to supply energy simultaneously under the condition that the working temperature of the electronic equipment is larger than a second threshold value so as to accelerate heat dissipation.
9. A battery management device for use with an electronic device, the electronic device including at least two batteries, at least two of the batteries being individually energizable or being energizable as a unitary energy source, the battery management device comprising:
the electronic equipment comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring the working parameters of the electronic equipment, and the working parameters of the electronic equipment comprise at least one of the following: the hardware working parameters of the electronic equipment, the software working parameters of the electronic equipment and the working scene parameters of the electronic equipment;
And the processing unit is used for selecting at least one battery from at least two batteries to supply energy according to the working parameters of the electronic equipment.
10. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the battery management method of any one of claims 1 to 8.
11. A readable storage medium, characterized in that it has stored thereon a program or instructions which, when executed by a processor, implement the steps of the battery management method according to any of claims 1 to 8.
CN202311149020.0A 2023-09-07 2023-09-07 Battery management method and device, electronic equipment and readable storage medium Pending CN117200385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311149020.0A CN117200385A (en) 2023-09-07 2023-09-07 Battery management method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311149020.0A CN117200385A (en) 2023-09-07 2023-09-07 Battery management method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117200385A true CN117200385A (en) 2023-12-08

Family

ID=88995505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311149020.0A Pending CN117200385A (en) 2023-09-07 2023-09-07 Battery management method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117200385A (en)

Similar Documents

Publication Publication Date Title
US9013464B2 (en) Linked shell
KR101193331B1 (en) Power Consumption Management System and Method in the Graphic Apparatus
CN110716631B (en) Power supply management method, device, equipment and readable storage medium
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN111158455A (en) Power consumption control method and device, storage medium and terminal
CN111464674B (en) Electronic equipment and temperature control method thereof during charging
CN112269086B (en) Charging cable identification method and device, charging cable and readable storage medium
CN108196482A (en) Power consumption control method, device, storage medium and electronic equipment
CN102156535A (en) Energy-saving processing method and energy-saving processing device for hardware
CN109088456B (en) Mobile terminal charging protection system
CN108227900B (en) Electronic device, energy-saving control method, energy-saving device, and readable storage medium
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN104461596A (en) Shut-down method and device for mobile terminal
CN110611127B (en) Battery management method, device, storage medium and electronic equipment
CN112910038A (en) Power conversion device and method and electronic equipment
CN113031737A (en) Data processing method and device and electronic equipment
CN117200385A (en) Battery management method and device, electronic equipment and readable storage medium
CN104423278B (en) Mobile power supply terminal and its method of supplying power to
CN111049217A (en) Chargeable intelligent terminal, charging control method and storage medium
CN105224060A (en) A kind of computer run control method, device, circuit and computing machine
CN105138323A (en) Information processing method and electronic equipment
CN112003362B (en) Control method of power supply system and related device
CN115268340A (en) Electronic device and control method
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN112448429B (en) Control method, terminal and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination