CN107770372B - Battery electric quantity management method and device and mobile terminal - Google Patents

Battery electric quantity management method and device and mobile terminal Download PDF

Info

Publication number
CN107770372B
CN107770372B CN201710920082.5A CN201710920082A CN107770372B CN 107770372 B CN107770372 B CN 107770372B CN 201710920082 A CN201710920082 A CN 201710920082A CN 107770372 B CN107770372 B CN 107770372B
Authority
CN
China
Prior art keywords
electric quantity
battery
mobile terminal
reserve
released
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.)
Active
Application number
CN201710920082.5A
Other languages
Chinese (zh)
Other versions
CN107770372A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710920082.5A priority Critical patent/CN107770372B/en
Publication of CN107770372A publication Critical patent/CN107770372A/en
Application granted granted Critical
Publication of CN107770372B publication Critical patent/CN107770372B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00306Overdischarge protection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to the field of intelligent terminals, in particular to a battery electric quantity management method and device and a mobile terminal. The embodiment of the invention discloses a management method of battery electric quantity, which is applied to a mobile terminal, wherein the mobile terminal comprises a battery, and the method comprises the following steps: receiving a triggered hidden electric quantity opening instruction; detecting the current display electric quantity of the mobile terminal; and if the currently displayed electric quantity is lower than a preset electric quantity threshold value, releasing the prepared electric quantity of the battery for use. Through the mode, the embodiment of the invention can prevent other people from exhausting all the electric quantity of the mobile terminal, and ensures that a user can continue to use the mobile terminal under the condition of low electric quantity of the mobile terminal.

Description

Battery electric quantity management method and device and mobile terminal
Technical Field
The embodiment of the invention relates to the field of intelligent terminals, in particular to a battery electric quantity management method and device and a mobile terminal.
Background
With the rapid development of mobile communication technology, mobile terminals represented by smart phones are more and more powerful in configuration and more complete in functions, and enter various aspects of our lives, bringing our lives into a brand-new information era.
The mobile terminal is convenient and fast to operate, comprehensive in function and capable of enabling people to quickly acquire various information in real time, however, the current mobile terminal generally has the problems of large electric quantity consumption and short battery endurance time, and accordingly user experience is poor.
In order to avoid the situation that the mobile terminal cannot be used due to insufficient electric quantity at some critical moments, some mobile terminals are provided with a battery management module or an emergency standby battery, when the situation that the electric quantity of the battery is insufficient is monitored, the use of some applications is limited, and only operations such as calling, conversation and the like can be carried out, so that the use time of the mobile terminal is delayed.
In the process of implementing the invention, the inventor finds that the following problems exist in the prior art: when the mobile terminal is in low power, the reserve power in the battery can be automatically consumed, and if other people continue to use the mobile terminal until the reserve power is exhausted, the user can not use the mobile terminal when the user needs to use the mobile terminal.
Disclosure of Invention
The technical problem mainly solved by the embodiments of the present invention is to provide a method and an apparatus for managing battery power, and a mobile terminal, which can prevent other people from exhausting all power of the mobile terminal by hiding the prepared power, and ensure that a user can continue to use the mobile terminal under the condition of low power of the mobile terminal.
In order to solve the above technical problem, one technical solution adopted by the embodiments of the present invention is: the method for managing the electric quantity of the battery is applied to a mobile terminal, the mobile terminal comprises the battery, and the method comprises the following steps:
receiving a triggered hidden electric quantity opening instruction;
detecting the current display electric quantity of the mobile terminal;
and if the currently displayed electric quantity is lower than a preset electric quantity threshold value, releasing the prepared electric quantity of the battery for use.
Optionally, before receiving the triggered hidden power on command, the method further includes:
receiving a setting instruction, and presetting interactive information for triggering a hidden electric quantity opening instruction according to the setting instruction;
receiving a triggered hidden electric quantity opening instruction, comprising:
receiving interactive operation and acquiring interactive information input by the interactive operation;
and if the interactive information input by the interactive operation is matched with the preset interactive information, receiving a hidden electric quantity starting instruction triggered by the interactive operation.
Optionally, the mobile terminal further includes a display screen, and the method further includes:
after the reserve power of the battery is released for use, the actual remaining power of the battery and the application currently running on the mobile terminal are acquired,
and displaying the available time of the actual residual capacity on the display screen according to the actual residual capacity and the power consumption rate of the application currently running.
Optionally, the battery capacity of the battery comprises a normal power supply amount and a reserve power amount;
when the reserve electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the normal power supply quantity;
when the prepared electric quantity of the battery is released for use, the current display electric quantity of the mobile terminal is the actual residual electric quantity of the battery.
Optionally, the battery comprises a primary battery and a secondary battery;
when the prepared electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the main battery;
when the prepared electric quantity of the battery is released for use, the current display electric quantity of the mobile terminal is the sum of the actual residual electric quantities of the main battery and the auxiliary battery;
the reserve electric quantity of the battery is released for use, and the method specifically comprises the following steps: releasing the electric quantity of the auxiliary battery for use;
the method further comprises the following steps:
detecting whether the secondary battery is fully charged or not when the mobile terminal is charged;
if the secondary battery is not fully charged, the secondary battery is charged preferentially;
and charging the main battery after detecting that the auxiliary battery is fully charged.
The embodiment of the invention also provides a device for managing the electric quantity of the battery, which is applied to a mobile terminal, wherein the mobile terminal comprises the battery, and the device comprises:
the instruction receiving unit is used for receiving a triggered hidden electric quantity opening instruction;
the first electric quantity detection unit is used for detecting the current display electric quantity of the mobile terminal;
and the reserve electric quantity management unit is used for releasing the reserve electric quantity of the battery for use if the current display electric quantity is lower than a preset electric quantity threshold value.
Optionally, the apparatus further comprises:
the interactive information presetting unit is used for receiving a setting instruction and presetting interactive information for triggering a hidden electric quantity opening instruction according to the setting instruction;
an instruction receiving unit, specifically configured to:
receiving interactive operation and acquiring interactive information input by the interactive operation;
and if the interactive information input by the interactive operation is matched with the preset interactive information, receiving a hidden electric quantity starting instruction triggered by the interactive operation.
Optionally, the apparatus further comprises:
the second electric quantity detection unit is used for acquiring the actual residual electric quantity of the battery after the prepared electric quantity of the battery is released and used;
the application acquisition unit is used for acquiring the application currently running by the mobile terminal after the reserve electric quantity of the battery is released for use;
and the time display unit is used for displaying the available time of the actual residual electric quantity on the display screen according to the actual residual electric quantity and the power consumption rate of the application currently running.
Optionally, the battery capacity of the battery includes a normal power supply amount and a reserve power amount.
Optionally, the battery comprises a primary battery and a secondary battery;
the reserve electric quantity of the battery is released for use, and the method specifically comprises the following steps: releasing the electric quantity of the auxiliary battery for use;
the device also includes:
a third electric quantity detection unit for detecting whether the sub-battery is fully charged when the mobile terminal is charged;
a charging control unit for controlling to preferentially charge the sub-battery if the sub-battery is not fully charged;
and the charging control unit is also used for controlling the charging of the main battery after detecting that the auxiliary battery is fully charged.
An embodiment of the present invention further provides a mobile terminal, including:
at least one processor; and
a memory coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a program of instructions executable by the at least one processor to cause the at least one processor to perform the method as above.
Embodiments of the present invention also provide a non-volatile computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a mobile terminal, the mobile terminal is caused to execute the method described above.
Embodiments of the present invention also provide a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a mobile terminal, the mobile terminal is caused to execute the method described above.
The embodiment of the invention has the beneficial effects that: different from the situation in the prior art, the embodiment of the invention detects the current display electric quantity of the mobile terminal after the hidden electric quantity starting instruction is obtained, and releases the reserve electric quantity of the battery for use if the current display electric quantity is lower than the preset electric quantity threshold value.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart of a method for managing battery power according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for managing battery power according to another embodiment of the present invention;
fig. 3 is a flowchart of a battery power management method according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for managing battery power according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
The method for managing the electric quantity of the battery provided by the embodiment is applied to the mobile terminal, and the mobile terminal comprises the battery. The mobile terminal is usually a microcomputer device with a communication function, is provided with a central processing unit, a memory, an input device and an output device, integrates one or more of an embedded computing technology, a control technology, an artificial intelligence technology, a biological authentication technology and the like, and can realize functions of conversation, photographing, listening to music, playing games, information processing or fingerprint scanning and the like.
In real life, a mobile terminal may be implemented in various forms, such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like.
Referring to fig. 1, fig. 1 shows a method for managing battery power according to an embodiment of the present invention, which specifically includes:
step 101: and receiving a triggered hidden electric quantity opening instruction.
In this embodiment, the user may trigger the hidden electric quantity opening instruction through a corresponding key, or may trigger the hidden electric quantity opening instruction through a special interactive operation.
If the user opens a centralized battery management application, the user clicks a hidden electric quantity switch under the application to trigger a hidden electric quantity opening instruction. It is understood that the open path of the "hidden power" switch shown in this embodiment is only an example, and the "hidden power" switch may be disposed under other paths, not limited to the path described in this embodiment,
if so, mobile terminal disposes the fingerprint induction zone of utensil fingerprint identification module, can acquire user's touch operation and user's fingerprint information to the fingerprint induction zone, and the user accessible triggers at fingerprint induction zone input fingerprint and hides electric quantity and opens the instruction.
For another example, the mobile terminal is configured with a capacitive sensor and/or a pressure sensor, and may acquire a motion trajectory of a user gesture on the screen, and the user may trigger the hidden power turning-on instruction by inputting a gesture on the screen.
For another example, the mobile terminal is configured with an infrared sensor and/or a capacitive proximity sensor, and may acquire a motion trajectory of a user gesture over the screen, and the user may trigger the hidden power turning-on instruction by inputting a gesture over the screen. Above the screen, refers to above the front of the mobile device. It can be understood that the screen top is selected only to be a preferred interactive mode, accords with people's normal use custom, and according to specific needs, the user also can be through a gesture of input of position such as the back at mobile terminal to trigger and hide electric quantity and open the instruction.
Step 102: and detecting the current display electric quantity of the mobile terminal.
And after receiving a triggered hidden electric quantity opening instruction, detecting the current display electric quantity of the mobile terminal. It should be noted that, in this embodiment, the current display power of the mobile terminal is not equal to the actual remaining power of the battery, and the current display power is inevitably smaller than the actual remaining power, so that the mobile terminal hides part of the power.
Step 103: and if the currently displayed electric quantity is lower than a preset electric quantity threshold value, releasing the prepared electric quantity of the battery for use.
In some embodiments, the mobile terminal includes only one battery, and the Power Management Unit (PMU) may divide a part of battery capacity of the battery into a normal power supply amount and a part of battery capacity into a reserve power amount. Alternatively, the PMU may divide the battery capacity of the battery according to a user-defined setting, for example, 90% of the battery capacity is divided into a normal power supply amount and 10% of the battery capacity is divided into a reserve power amount according to the user-defined setting.
When the reserve electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the normal power supply quantity; when the prepared electric quantity of the battery is released for use, the current display electric quantity of the mobile terminal is the actual residual electric quantity of the battery.
In this embodiment, the power threshold is for the normal power supply amount, and is typically a percentage of the normal power supply amount. If the preset power threshold is 10%, that is, 10% of the normal power supply amount, and when the currently displayed power is 3%, the currently displayed power is lower than the preset power threshold, and the reserve power of the battery is released for use, the currently displayed power of the mobile terminal becomes 13% (3% × 90% + 10% ═ 12.7% ≈ 13%).
In some embodiments, the battery of the mobile terminal includes a main battery and at least one auxiliary battery, and the normal power supply amount of the battery is the battery capacity of the main battery, and the reserve power amount is the battery capacity of the auxiliary battery.
When the prepared electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the main battery; when the prepared electric quantity of the battery is released for use, the display electric quantity of the mobile terminal is the sum of the actual residual electric quantities of the main battery and the auxiliary battery.
Similarly, the charge threshold is for the normal supply amount, i.e., the battery capacity of the main battery, which is a percentage of the battery capacity of the main battery.
The reserve electric quantity of the battery is released for use, and the method specifically comprises the following steps: the electric quantity of the sub-battery is released for use. There are various ways to release the reserve electric quantity of the sub-battery for use, for example, by connecting the main battery and the sub-battery, the sub-battery charges the main battery, and the reserve electric quantity of the sub-battery is released for use; for another example, the auxiliary battery is communicated with the main controller, so that the auxiliary battery supplies power to the main controller, and the reserve electric quantity of the auxiliary battery is released for use.
Optionally, when the battery of the mobile terminal includes a main battery and at least one auxiliary battery, the method further includes:
detecting whether the secondary battery is fully charged or not when the mobile terminal is charged;
if the secondary battery is not fully charged, the secondary battery is charged preferentially;
and charging the main battery after detecting that the auxiliary battery is fully charged.
In this way, when the mobile terminal is charged, even if the charging time is not sufficient and the battery cannot be fully charged, the electric quantity of the sub-battery can be ensured.
In the above embodiments, the user may preset the electric quantity threshold according to the actual demand, for example, the preset electric quantity threshold is 5% or 10%. And when the current display electric quantity is not lower than the preset electric quantity threshold value, the hidden electric quantity opening instruction is not received, namely, the reserve electric quantity of the mobile terminal can be released for use only when the current display electric quantity of the mobile terminal is lower than the preset electric quantity threshold value.
In other embodiments, the currently displayed power of the mobile terminal may also be the actual remaining power of the battery, and the power threshold is a percentage of the total battery capacity. After receiving a triggered hidden electric quantity opening instruction, detecting the actual residual electric quantity of the mobile terminal; and releasing the reserve electric quantity of the battery for use if the actual residual electric quantity is lower than a preset electric quantity threshold value.
If the preset charge threshold is 15%, the preset charge threshold is 15% of the total battery capacity, and the reserve charge is 10% of the total battery capacity. After receiving a triggered hidden electric quantity opening instruction, detecting the current display electric quantity (namely the actual residual electric quantity) of the mobile terminal, and releasing the prepared electric quantity of the battery for use when the current display electric quantity is 13%.
This embodiment acquires to hide the electric quantity and opens the instruction after, detects mobile terminal's the current electric quantity that shows, if the current electric quantity that shows is less than preset electric quantity threshold value, releases the reserve electric quantity of battery and uses, through the aforesaid mode, can prevent that other people from exhausting mobile terminal's whole electric quantity, guarantees that the user can also continue to use under the condition of mobile terminal low-power.
Referring to fig. 2, fig. 2 is a diagram illustrating another method for managing battery power according to an embodiment of the present invention, which specifically includes:
step 201: receiving a setting instruction, and presetting interactive information triggering the hidden electric quantity opening instruction according to the setting instruction.
According to the specific configuration of the mobile terminal, there are various input modes of the interactive information, i.e. interactive operation. If the mobile terminal is provided with a fingerprint sensing area with a fingerprint identification module, the interactive operation can be fingerprint touch control; as another example, the mobile terminal is configured with a capacitive sensor, a pressure sensor, an infrared sensor, and/or a capacitive proximity sensor, and the interaction operation may be a gesture motion.
If the interactive operation is fingerprint touch control, presetting fingerprint information triggering a hidden electric quantity opening instruction according to a setting instruction; and if the interactive operation is a gesture action, presetting gesture information for triggering the hidden electric quantity opening instruction according to the setting instruction.
In this embodiment, the gesture information includes a motion track and a motion time of the user gesture on or above the screen, and the motion time, that is, a time when the user gesture generates the motion track on or above the screen, is calculated by a start-stop time of generating the motion track and an end time of generating the motion track.
Step 202: and receiving interactive operation and acquiring interactive information input by the interactive operation.
In an embodiment, the received interactive operation is fingerprint touch, and fingerprint information input by the fingerprint touch is acquired.
In another embodiment, the received interactive operation is a gesture action, and gesture information of the gesture action on a screen is acquired; in yet another embodiment, gesture information is obtained that the gesture motion is above the screen.
Step 203: and if the interactive information input by the interactive operation is matched with the preset interactive information, receiving a hidden electric quantity starting instruction triggered by the interactive operation.
And judging whether the interactive information input by the interactive operation is matched with preset interactive information, if so, matching the acquired fingerprint information with the preset fingerprint information, and if so, matching the acquired gesture information with the preset gesture information, and receiving a hidden electric quantity opening instruction triggered by the interactive operation.
Step 204: and detecting the current display electric quantity of the mobile terminal.
Step 205: and if the currently displayed electric quantity is lower than a preset electric quantity threshold value, releasing the prepared electric quantity of the battery for use.
Steps 204 and 205 refer to the related steps of the first embodiment, which are within the scope easily understood by those skilled in the art and will not be described herein.
The embodiment hides the mutual information of electric quantity opening instruction through predetermineeing the trigger, receives interactive operation, acquires the mutual information of interactive operation input after, judges whether the interactive information of interactive operation input matches with predetermined interactive information, if match, receives the hidden electric quantity opening instruction that this interactive operation triggered, and convenience of customers triggers fast and hides the electric quantity opening instruction, need not to open appointed route and just can trigger and hide the electric quantity opening instruction.
Referring to fig. 3, fig. 3 is a diagram illustrating another method for managing battery power according to an embodiment of the present invention, where the method is applied to a mobile terminal having a display screen, and specifically includes:
step 301: and acquiring a triggered hidden electric quantity opening instruction.
Step 302: and detecting the current display electric quantity of the mobile terminal.
Step 303: and if the currently displayed electric quantity is lower than a preset electric quantity threshold value, releasing the prepared electric quantity of the battery for use.
Please refer to the related steps of the first embodiment in steps 301-303, which are within the scope easily understood by those skilled in the art and will not be described herein.
Step 304: and after the reserve electric quantity of the battery is released for use, acquiring the actual residual electric quantity of the battery and the application currently running by the mobile terminal.
After the reserve charge of the battery is released for use, the actual remaining charge of the battery is obtained, and if the battery comprises a main battery and an auxiliary battery, the actual remaining charge of the main battery and the auxiliary battery is obtained.
It should be noted that the currently running applications include a front-end running application and a background running application.
Step 305: and displaying the available time of the actual residual capacity on the display screen according to the actual residual capacity and the power consumption rate of the application currently running.
Specifically, the mobile terminal may store, in advance, a power consumption rate of each specific application during operation, where the power consumption rate includes a power consumption rate during operation of the front end and a power consumption rate during operation of the background when the specific application is capable of being operated both at the front end and at the background.
The power consumption rate of the present embodiment, that is, the power consumption rate per unit time, is exemplarily, the power consumption rate when the application a operates is 0.5% of power consumed in 1 minute, the power consumption rate when the application B operates at the front end is 0.5% of power consumed in 1 minute, and the power consumption rate when the application B operates at the background is 0.1% of power consumed in 1 minute. When the currently running application comprises an application A and an application B, the application A is in a foreground running state, and the application B is in a background running state, the power consumption rate of the currently running application is 0.6% of power consumption in 1 minute.
The mobile terminal obtains the actual remaining capacity of the battery and the currently running application at certain time intervals, for example, the actual remaining capacity of the battery and the currently running application are obtained every 2 minutes or 5 minutes; according to the actual residual capacity and the power consumption rate of the application currently running, the available time of the actual residual capacity can be calculated, and further, the available time of the actual residual capacity is displayed on a display screen.
Similarly, the usable time of the actual remaining power may be displayed in a pop-up window manner at certain time intervals, such as once every 2 minutes or 5 minutes, and may be automatically closed after a preset time, for example, the usable time of the actual remaining power may be automatically closed after 5 seconds or 10 seconds of display, so as to avoid the pop-up window from blocking the displayed information or operation icons.
In other embodiments, the pop-up window may be a transparent window, and does not need to be closed after the preset time, and does not affect the user operation, and the available time of the actual remaining power may be displayed in a manner of countdown through the pop-up window.
The present embodiment releases the use back through the reserve electric quantity at the battery, acquires the actual residual capacity of battery to and the application that mobile terminal is currently running, according to the power consumption rate of actual residual capacity and the application that is currently running, shows the usable time of actual residual capacity on the display screen, can let the user clearly master the usable time of actual residual capacity, rationally uses mobile terminal.
The embodiment of the invention further discloses a management device for battery electric quantity, which is applied to a mobile terminal, wherein the mobile terminal comprises a battery, and the management device 400 comprises:
an instruction receiving unit 410, configured to receive a triggered hidden power opening instruction;
a first power detection unit 420, configured to detect a current display power of the mobile terminal;
the reserve power management unit 430 is configured to release the reserve power of the battery for use if the currently displayed power is lower than a preset power threshold.
The first electric quantity detection unit 420 of this embodiment detects the current display electric quantity of the mobile terminal after acquiring the hidden electric quantity opening instruction, and if the current display electric quantity is lower than the preset electric quantity threshold value, the prepared electric quantity management unit 430 releases the prepared electric quantity of the battery for use.
In one embodiment, the mobile terminal includes only one battery, and the Power Management Unit (PMU) divides the battery capacity of the battery into a normal power supply amount and a reserve power amount.
In another embodiment, the battery of the mobile terminal includes a main battery and at least one auxiliary battery, and the reserve power of the battery is released for use, specifically: the electric quantity of the sub-battery is released for use. Optionally, the apparatus further comprises:
a third electric quantity detection unit for detecting whether the sub-battery is fully charged when the mobile terminal is charged;
a charging control unit for controlling to preferentially charge the sub-battery if the sub-battery is not fully charged;
and the charging control unit is also used for controlling the charging of the main battery after detecting that the auxiliary battery is fully charged.
In this way, when the mobile terminal is charged, even if the charging time is not sufficient and the battery cannot be fully charged, the electric quantity of the sub-battery can be ensured.
In some embodiments, the apparatus 400 further comprises:
an interaction information presetting unit 440, configured to receive a setting instruction, and preset interaction information for triggering the hidden electric quantity opening instruction according to the setting instruction;
the instruction receiving unit 410 is specifically configured to:
receiving interactive operation and acquiring interactive information input by the interactive operation;
and if the interactive information input by the interactive operation is matched with the preset interactive information, receiving a hidden electric quantity starting instruction triggered by the interactive operation.
In this embodiment, the interaction information triggering the hidden electric quantity opening instruction is preset by the interaction information presetting unit 440, the instruction receiving unit 410 receives the interaction operation, and after the interaction information input by the interaction operation is acquired, it is determined whether the interaction information input by the interaction operation matches the preset interaction information, and if so, the hidden electric quantity opening instruction triggered by the interaction operation is received, so that the user can trigger the hidden electric quantity opening instruction quickly, and the hidden electric quantity opening instruction can be triggered without opening a specified path.
In some embodiments, the mobile terminal further comprises a display screen, and the apparatus 400 further comprises:
the second power detection unit 450 is configured to obtain an actual remaining power of the battery after the reserve power of the battery is released for use;
the application obtaining unit 460 is configured to obtain an application currently running on the mobile terminal after the reserve power of the battery is released for use;
and a time display unit 470 for displaying the available time of the actual remaining power on the display screen according to the actual remaining power and the power consumption rate of the application currently running.
In this embodiment, after the reserve power of the battery is released for use, the second power detection unit 450 obtains the actual remaining power of the battery, the application obtaining unit 460 obtains the application currently running on the mobile terminal, and the time display unit 470 displays the available time of the actual remaining power on the display screen according to the actual remaining power and the power consumption rate of the application currently running on the display screen, so that the user can clearly know the available time of the actual remaining power, and the mobile terminal is reasonably used.
It should be noted that, since the device embodiment and the method embodiment of the present invention are based on the same inventive concept, and the technical content in the method embodiment is also applicable to the device embodiment, the technical content in the device embodiment that is the same as that in the method embodiment is not described herein again.
In order to better achieve the above object, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal stores executable instructions, and the executable instructions can execute the method for managing battery power in any of the above method embodiments.
Fig. 5 is a schematic structural diagram of a mobile terminal 500 according to an embodiment of the present invention, and as shown in fig. 5, the mobile terminal 500 includes: one or more processors 501 and a memory 502, with one processor 501 being an example in fig. 5.
The processor 501 and the memory 502 may be connected by a bus or other means, such as the bus connection in fig. 5.
The memory 502, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules (e.g., the respective modules shown in fig. 4) corresponding to the method for managing battery power in the embodiment of the present invention. The processor 501 executes various functional applications and data processing of the battery charge management apparatus, that is, implements the battery charge management method of the above-described method embodiment and the functions of the respective modules of the above-described apparatus embodiment, by executing the nonvolatile software program, instructions, and modules stored in the memory 502.
The memory 502 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 502 optionally includes memory located remotely from processor 501, which may be connected to processor 501 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules stored in the memory 502, when executed by the one or more processors 501, perform the method of managing battery power in any of the method embodiments described above, e.g., perform the various steps shown in fig. 1-3 described above; the various modules described in fig. 4 may also be implemented.
The mobile terminal 500 according to an embodiment of the present invention may exist in various forms, and performs the above-described steps shown in fig. 1 to 3; when the modules described in fig. 4 can also be implemented, the mobile terminal 500 includes, but is not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such mobile terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such mobile terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play video content, and generally also have mobile internet access features. This type of device comprises: video players, handheld game consoles, and intelligent toys and portable car navigation devices.
(4) And other mobile terminals with video playing function or internet connection function.
The mobile terminal of this embodiment detects mobile terminal's present demonstration electric quantity after obtaining hidden electric quantity opening instruction, if present demonstration electric quantity is less than preset electric quantity threshold value, releases the reserve electric quantity of battery and uses, through the aforesaid mode, can prevent that other people from exhausting mobile terminal's whole electric quantity, guarantees that the user can also continue to use under the condition of mobile terminal low-power.
Embodiments of the present invention also provide a non-volatile computer storage medium, where the computer storage medium stores computer-executable instructions, which are executed by one or more processors, such as one processor 501 in fig. 5, so that the one or more processors can perform the method for managing battery power in any of the method embodiments, for example, perform the steps shown in fig. 1 to fig. 3 described above; the various modules described in fig. 4 may also be implemented.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions substantially or contributing to the related art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A management method of battery power is applied to a mobile terminal, the mobile terminal comprises a battery, the battery capacity of the battery comprises a normal power supply quantity and a reserve power quantity, and the method comprises the following steps:
receiving a setting instruction, and presetting interactive information for triggering a hidden electric quantity opening instruction according to the setting instruction, wherein the interactive information comprises fingerprint information or gesture information;
receiving interactive operation and acquiring interactive information input by the interactive operation;
receiving a hidden electric quantity starting instruction triggered by the interactive operation if the interactive information input by the interactive operation is matched with preset interactive information;
detecting the current display electric quantity of the mobile terminal;
if the current display electric quantity is not lower than a preset electric quantity threshold value, the hidden electric quantity opening instruction is regarded as not received;
if the current display electric quantity is lower than a preset electric quantity threshold value, releasing the prepared electric quantity of the battery for use;
acquiring the actual residual capacity of the battery after the prepared capacity of the battery is released for use;
when the reserve electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the normal power supply quantity; and when the reserve electric quantity of the battery is released for use, the current display electric quantity of the mobile terminal is the actual residual electric quantity of the battery, and the actual residual electric quantity is the sum of the residual electric quantity of the normal power supply quantity and the reserve electric quantity.
2. The method of claim 1, wherein the mobile terminal further comprises a display screen, and wherein the method further comprises:
acquiring the application currently running by the mobile terminal after the reserve electric quantity of the battery is released for use,
and displaying the available time of the actual residual capacity on the display screen according to the actual residual capacity and the power consumption rate of the currently running application.
3. The method according to claim 1 or 2, wherein the battery includes a main battery and a sub-battery, the normal power supply amount is a battery capacity of the main battery, and the reserve power amount is a battery capacity of the sub-battery;
when the prepared electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the main battery;
when the prepared electric quantity of the battery is released for use, the current display electric quantity of the mobile terminal is the sum of the actual residual electric quantities of the main battery and the auxiliary battery;
the releasing of the reserve electric quantity of the battery for use specifically includes: releasing the electric quantity of the auxiliary battery for use;
the method further comprises the following steps:
detecting whether the secondary battery is fully charged or not when the mobile terminal is charged;
if the secondary battery is not fully charged, preferentially charging the secondary battery;
and charging the main battery after detecting that the auxiliary battery is fully charged.
4. An apparatus for managing battery power, applied to a mobile terminal including a battery, wherein the battery capacity of the battery includes a normal power supply amount and a reserve power supply amount, the apparatus comprising:
the device comprises an interactive information presetting unit, a power consumption starting unit and a power consumption starting unit, wherein the interactive information presetting unit is used for receiving a setting instruction and presetting interactive information triggering a hidden power consumption starting instruction according to the setting instruction, and the interactive information comprises fingerprint information or gesture information;
the instruction receiving unit is used for receiving interactive operation and acquiring interactive information input by the interactive operation; receiving a hidden electric quantity starting instruction triggered by the interactive operation if the interactive information input by the interactive operation is matched with preset interactive information;
the first electric quantity detection unit is used for detecting the current display electric quantity of the mobile terminal;
the prepared electric quantity management unit is used for judging that the hidden electric quantity opening instruction is not received if the current display electric quantity is not lower than a preset electric quantity threshold value; and releasing the prepared electric quantity of the battery for use if the currently displayed electric quantity is lower than a preset electric quantity threshold value;
the second electric quantity detection unit is used for acquiring the actual residual electric quantity of the battery after the prepared electric quantity of the battery is released for use;
when the reserve electric quantity of the battery is not released for use, the current display electric quantity of the mobile terminal is the residual electric quantity of the normal power supply quantity; and when the reserve electric quantity of the battery is released for use, the current display electric quantity of the mobile terminal is the actual residual electric quantity of the battery, and the actual residual electric quantity is the sum of the residual electric quantity of the normal power supply quantity and the reserve electric quantity.
5. The apparatus of claim 4, wherein the mobile terminal further comprises a display screen, and wherein the apparatus further comprises:
the application acquisition unit is used for acquiring the application currently running by the mobile terminal after the reserve electric quantity of the battery is released for use;
and the time display unit is used for displaying the available time of the actual residual electric quantity on the display screen according to the actual residual electric quantity and the power consumption rate of the application currently running.
6. The apparatus according to claim 4 or 5, wherein the battery includes a main battery and a sub-battery, the normal power supply amount is a battery capacity of the main battery, and the reserve power amount is a battery capacity of the sub-battery;
the releasing of the reserve electric quantity of the battery for use specifically includes: releasing the electric quantity of the auxiliary battery for use;
the device further comprises:
a third electric quantity detection unit for detecting whether the secondary battery is fully charged when the mobile terminal is charged;
a charging control unit for controlling to preferentially charge the secondary battery if the secondary battery is not fully charged;
and the charging control unit is also used for controlling the charging of the main battery after detecting that the auxiliary battery is fully charged.
7. A mobile terminal, comprising:
at least one processor; and
a memory coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a program of instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-3.
8. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a mobile terminal, cause the mobile terminal to perform the method of any of claims 1-3.
CN201710920082.5A 2017-09-30 2017-09-30 Battery electric quantity management method and device and mobile terminal Active CN107770372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710920082.5A CN107770372B (en) 2017-09-30 2017-09-30 Battery electric quantity management method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710920082.5A CN107770372B (en) 2017-09-30 2017-09-30 Battery electric quantity management method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107770372A CN107770372A (en) 2018-03-06
CN107770372B true CN107770372B (en) 2020-05-12

Family

ID=61266907

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710920082.5A Active CN107770372B (en) 2017-09-30 2017-09-30 Battery electric quantity management method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107770372B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020061930A1 (en) * 2018-09-27 2020-04-02 深圳市大疆创新科技有限公司 Battery manager
CN111682597A (en) * 2019-03-11 2020-09-18 天津大学 Assembled portable power source based on wireless charging
CN110562161B (en) * 2019-07-30 2020-11-17 深圳市星火车联科技有限公司 Power supply method and vehicle-mounted terminal
CN113910981A (en) * 2021-11-10 2022-01-11 集度科技有限公司 Method and device for continuation of journey of electric vehicle, equipment and storage medium
CN117616745A (en) * 2022-06-16 2024-02-27 北京小米移动软件有限公司 Electric quantity display method, device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018255A (en) * 2006-02-10 2007-08-15 三星电子株式会社 Potable mobile terminal capable of indicating be distinguished battery capacity by additional mounted battery and method thereof
CN106231012A (en) * 2016-08-01 2016-12-14 珠海格力电器股份有限公司 A kind of smart mobile phone and battery control method thereof and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440029B (en) * 2013-08-16 2015-12-09 广东欧珀移动通信有限公司 Extend method and the mobile terminal of the service time of mobile terminal under low electricity
CN104202470B (en) * 2014-08-21 2016-09-14 小米科技有限责任公司 Terminal supplying power control method and device
CN106532902B (en) * 2016-10-14 2019-12-10 惠州Tcl移动通信有限公司 double-battery control device and method for mobile terminal
CN107219465A (en) * 2017-06-08 2017-09-29 西安蜂语信息科技有限公司 A kind of method and device for extending stand-by time

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018255A (en) * 2006-02-10 2007-08-15 三星电子株式会社 Potable mobile terminal capable of indicating be distinguished battery capacity by additional mounted battery and method thereof
CN106231012A (en) * 2016-08-01 2016-12-14 珠海格力电器股份有限公司 A kind of smart mobile phone and battery control method thereof and system

Also Published As

Publication number Publication date
CN107770372A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107770372B (en) Battery electric quantity management method and device and mobile terminal
CN103327159A (en) Low-battery prompting method and electronic equipment
CN104216777B (en) Dual system electronic installation and terminal
CN108574123B (en) Battery charging control method and device and battery
CN109200567B (en) Motion data interaction method and device and electronic equipment
CN112165140B (en) Charging and discharging control method and device and power supply equipment
CN108197450B (en) Face recognition method, face recognition device, storage medium and electronic equipment
CN104965703A (en) Method and mobile terminal for controlling screen-on of mobile terminal
CN104965667A (en) Method and mobile terminal for controlling screen-on of mobile terminal
CN105700928B (en) Control information display method and device and electronic equipment
WO2017166629A1 (en) Method for starting application program, and terminal device
CN104461717B (en) A kind of information processing method and electronic equipment
CN108804138A (en) application operating optimization method, device, storage medium and terminal device
CN110244888A (en) A kind of setting method of behavior pattern, device, storage medium and terminal
CN112311029B (en) Charging method, electronic device and storage medium
CN107223234A (en) A kind of electronic equipment
CN107277906B (en) Mode selecting method, device, terminal and computer readable storage medium
CN103631697A (en) Information processing method and electronic device
CN107038030A (en) A kind of switching method and device of terminal system pattern
CN106462352B (en) A kind of processing method, device and the terminal of fingerprint event
CN108063870B (en) Interface display method and device and mobile terminal
CN107291213B (en) Mode selection method, device, terminal and computer readable storage medium
CN106791170B (en) Network processing method, device and terminal
CN111913773A (en) NFC card control method, NFC card control device and electronic equipment
US10324681B2 (en) Method, apparatus and medium for continuous playback of sound file

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
GR01 Patent grant
GR01 Patent grant