CN107770372A - Battery electric quantity management method and device and mobile terminal - Google Patents
Battery electric quantity management method and device and mobile terminal Download PDFInfo
- Publication number
- CN107770372A CN107770372A CN201710920082.5A CN201710920082A CN107770372A CN 107770372 A CN107770372 A CN 107770372A CN 201710920082 A CN201710920082 A CN 201710920082A CN 107770372 A CN107770372 A CN 107770372A
- Authority
- CN
- China
- Prior art keywords
- electricity
- battery
- mobile terminal
- secondary cell
- preparation
- 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.)
- Granted
Links
- 238000007726 management method Methods 0.000 title claims abstract description 24
- 238000000034 method Methods 0.000 claims abstract description 30
- 230000005611 electricity Effects 0.000 claims description 228
- 230000002452 interceptive effect Effects 0.000 claims description 80
- 238000001514 detection method Methods 0.000 claims description 15
- 230000015654 memory Effects 0.000 claims description 15
- 230000005055 memory storage Effects 0.000 claims description 2
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 230000006698 induction Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 208000034423 Delivery Diseases 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/00306—Overdischarge protection
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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
Technical field
The present embodiments relate to intelligent terminal field, more particularly to a kind of management method of battery electric quantity, device and
Mobile terminal.
Background technology
With the rapid development of mobile communication technology, it is more and more stronger as the configuration of the mobile terminal of representative using smart mobile phone
Greatly, function is more and more complete, and is deep into the various aspects of our lives, when bringing our life into brand-new informationization
Generation.
Mobile terminal is easy to operate, full-featured, people can be allowed to obtain various information real-time, however,
Mobile terminal common problem is that electric quantity consumption is big at present, and battery life is short, so as to which Consumer's Experience is poor.
In order to avoid appearing in the situation that some crucial moment mobile terminals can not use by not enough power supply, some movements
Terminal is configured with battery management module or emergency battery, when monitoring battery electric quantity deficiency, can limit some applications
Use, the operation such as can only be called, conversed, to postpone the usage time of mobile terminal.
Inventor has found that there are the following problems in the prior art during the present invention is realized:When mobile terminal is in
During low battery, the preparation electricity in battery can be consumed automatically, exhausted, used if other people are continuing with mobile terminal to preparation electricity
Family equally can not also use when needing to use.
The content of the invention
The embodiment of the present invention is mainly solving the technical problems that provide a kind of management method of battery electric quantity, device and movement
Terminal, by the way that preparation electricity is hidden, it can prevent other people from exhausting whole electricity of mobile terminal, ensure that user is moving
It can also continue to use in the case of dynamic terminal low battery.
In order to solve the above technical problems, the technical scheme that the embodiment of the present invention uses is:A kind of battery electric quantity is provided
Management method, applied to mobile terminal, mobile terminal includes battery, and this method includes:
Receive the hiding electricity open command of triggering;
Detect the current display electricity of mobile terminal;
If currently display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use.
Alternatively, before the hiding electricity open command of triggering is received, this method also includes:
Receive and instruction is set, according to the interactive information for setting the default triggering of instruction to hide electricity open command;
The hiding electricity open command of triggering is received, including:
Interactive operation is received, obtains the interactive information of interactive operation input;
If the interactive information of interactive operation input matches with default interactive information, hiding for interactive operation triggering is received
Electricity open command.
Alternatively, mobile terminal also includes display screen, and this method also includes:
After the preparation electricity of battery disengages use, the real surplus electricity of battery is obtained, and mobile terminal is current just
In the application of operation,
According to real surplus electricity and the consumption rate for the application being currently running, real surplus electricity is shown on a display screen
The up time of amount.
Alternatively, the battery capacity of battery includes normal power supply amount and preparation electricity;
When the preparation electricity of battery is not disengaged in use, the current display electricity of mobile terminal is the residue of normal power supply amount
Electricity;
After the preparation electricity of battery disengages use, the current display electricity of mobile terminal is electric for the real surplus of battery
Amount.
Alternatively, battery includes main battery and secondary cell;
When the preparation electricity of battery is not disengaged in use, the current display electricity of mobile terminal is electric for the residue of main battery
Amount;
After the preparation electricity of battery disengages use, the current display electricity of mobile terminal is the reality of main battery and secondary cell
Border dump energy sum;
The preparation electricity of battery is disengaged into use, is specially:The electricity of secondary cell is disengaged into use;
This method also includes:
When being charged to mobile terminal, whether detection secondary cell is full of;
If secondary cell underfill, preferentially charged to secondary cell;
After detecting that secondary cell is full of, charged to main battery.
The embodiment of the present invention also provides a kind of managing device of battery electric quantity, and applied to mobile terminal, mobile terminal includes
Battery, the device include:
Instruction reception unit, for receiving the hiding electricity open command of triggering;
First electric power detection unit, for detecting the current display electricity of mobile terminal;
Preparation managing electric quantity unit, if for currently showing that electricity is less than default power threshold, by the preparation of battery
Electricity disengages use.
Alternatively, the device also includes:
Interactive information presets unit, and instruction is set for receiving, and refers to according to setting the default triggering of instruction to hide electricity and open
The interactive information of order;
Instruction reception unit, it is specifically used for:
Interactive operation is received, obtains the interactive information of interactive operation input;
If the interactive information of interactive operation input matches with default interactive information, hiding for interactive operation triggering is received
Electricity open command.
Alternatively, the device also includes:
Second electric power detection unit, for after the preparation electricity of battery disengages use, obtaining the real surplus electricity of battery
Amount;
Application acquisition unit, it is currently running for after the preparation electricity of battery disengages use, obtaining mobile terminal
Application;
Time display unit, for the consumption rate according to real surplus electricity and the application being currently running, showing
The up time of screen display real surplus electricity.
Alternatively, the battery capacity in the pond includes normal power supply amount and preparation electricity.
Alternatively, battery includes main battery and secondary cell;
The preparation electricity of battery is disengaged into use, is specially:The electricity of secondary cell is disengaged into use;
The device also includes:
3rd electric power detection unit, for when being charged to mobile terminal, whether detection secondary cell to be full of;
Charging control unit, if for secondary cell underfill, control is preferentially charged to secondary cell;
Charging control unit, it is additionally operable to after detecting that secondary cell is full of, controls and charged to main battery.
The embodiment of the present invention also provides a kind of mobile terminal, including:
At least one processor;And
The memory being connected with least one processor;Wherein,
Memory storage has can be by the instruction repertorie of at least one computing device, and instruction repertorie is by least one processor
Perform, so that at least one processor is able to carry out method as above.
The embodiment of the present invention also provides a kind of non-volatile computer readable storage medium storing program for executing, and computer-readable recording medium is deposited
Computer executable instructions are contained, when computer executable instructions are performed by mobile terminal, mobile terminal is performed as described above
Method.
The embodiment of the present invention also provides a kind of computer program product, and computer program product is non-volatile including being stored in
Computer program on computer-readable recording medium, computer program include programmed instruction, when programmed instruction is by mobile terminal
During execution, mobile terminal is set to perform method as described above.
The beneficial effect of the embodiment of the present invention is:Be different from the situation of prior art, the embodiment of the present invention get it is hidden
After hiding electricity open command, the current display electricity of mobile terminal is detected, if currently display electricity is less than default electricity threshold
Value, disengages use by the preparation electricity of battery, by the above-mentioned means, can prevent other people from consuming whole electricity of mobile terminal
To the greatest extent, ensure that user can also continue to use in the case of low capacity of mobile terminal.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention
Accompanying drawing is briefly described.It should be evident that drawings described below is only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart of the management method of the battery electric quantity of the embodiment of the present invention;
Fig. 2 is the flow chart of the management method of the battery electric quantity of another embodiment of the present invention;
Fig. 3 is the flow chart of the management method of the battery electric quantity of further embodiment of this invention;
Fig. 4 is the structural representation of the managing device of the battery electric quantity of the embodiment of the present invention;
Fig. 5 is the structural representation of the mobile terminal of the embodiment of the present invention.
Specific embodiment
Technical scheme is clearly and completely described below in conjunction with accompanying drawing, it is clear that described implementation
Example is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill
The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
As long as in addition, technical characteristic involved in invention described below different embodiments non-structure each other
It is be combined with each other into conflict can.
The management method for the battery electric quantity that the present embodiment provides, applied to mobile terminal, mobile terminal includes battery.The shifting
Dynamic terminal is often the microcomputer devices with communication function, possesses central processing unit, memory, input equipment and output
Equipment, the one or more of embedding assembly, control technology, artificial intelligence technology and biometrics etc. are integrated with, can
Conversed, taken pictures with realization, listened music, play the functions such as game, information processing or finger scan.
In real life, mobile terminal can be implemented in a variety of manners, e.g., mobile phone, smart mobile phone, notebook
Computer, PDA (personal digital assistant), PAD (tablet personal computer), PMP (portable media player), guider etc..
Referring to Fig. 1, Fig. 1 is a kind of management method of battery electric quantity disclosed in the embodiment of the present invention, specifically include:
Step 101:Receive the hiding electricity open command of triggering.
In the present embodiment, user can be triggered by corresponding button hides electricity open command, can also pass through one
Electricity open command is hidden in individual special interactive operation triggering.
Such as, user clicks on " hiding electricity " switch triggering under applying by opening the battery management application in setting
Hide electricity open command.It is appreciated that the opening path of " hiding electricity " switch shown in the present embodiment is exemplarily,
" hiding electricity " switch can also be arranged under other paths, and is not limited to the path described in the present embodiment,
And for example, mobile terminal configuration has the fingerprint induction zone of tool fingerprint recognition module, can obtain user to fingerprint induction zone
Touch control operation and user finger print information, user can by fingerprint induction zone input fingerprint triggering hide electricity open refer to
Order.
And for example, mobile terminal configuration has capacitance sensor and/or pressure sensor, can obtain user gesture on screen
Movement locus, user can hide electricity open command by inputting a gesture triggering on screen.
And for example, mobile terminal configuration has infrared sensor and/or electrical capacitance proximity sensor, can obtain user gesture in screen
The movement locus of top, user can hide electricity open command by inputting a gesture triggering above screen.Above screen,
Refer in the positive top of mobile device.It is appreciated that from being a kind of more preferable interactive mode above screen, accord with
People's normal use custom is closed, according to specific needs, user also can be by inputting a hand in positions such as the back sides of mobile terminal
Gesture, hide electricity open command to trigger.
Step 102:Detect the current display electricity of mobile terminal.
After the hiding electricity open command for receiving triggering, the current display electricity of mobile terminal is detected.It should be noted that
In the present embodiment, the current display electricity of mobile terminal and not equal to the real surplus electricity of battery, and currently shows electricity
Real surplus electricity will necessarily be less than, so that mobile terminal hidden parts electricity.
Step 103:If currently display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use.
In certain embodiments, mobile terminal only includes one piece of battery, PMU (power management
Unit, PMU) a part of battery capacity of battery can be divided into normal power supply amount, a part of battery capacity is divided into preparation electricity
Amount.Alternatively, PMU can divide the battery capacity of battery according to the self-defined setting of user, and e.g., self-defined according to user sets
Put, divide battery capacity 90% is normal power supply amount, and it is preparation electricity to divide the 10% of battery capacity.
When the preparation electricity of battery is not disengaged in use, the current display electricity of mobile terminal is the residue of normal power supply amount
Electricity;After the preparation electricity of battery disengages use, then the current display electricity of mobile terminal is the real surplus electricity of battery.
In the present embodiment, power threshold is usually one hundred of normal power supply amount for normal power supply amount
Fraction.Such as, default power threshold is 10%, as the 10% of normal power supply amount, when currently display electricity is 3%, currently
Display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use, then the current display electricity of mobile terminal
It is changed into 13% (3% × 90%+10%=12.7% ≈ 13%).
In certain embodiments, the battery of mobile terminal includes main battery and an at least secondary cell, then wherein battery is being just
Normal delivery is the battery capacity of main battery, and preparation electricity is the battery capacity of secondary cell.
When the preparation electricity of battery is not disengaged in use, the current display electricity of mobile terminal is electric for the residue of main battery
Amount;After the preparation electricity of battery disengages use, then the display electricity of mobile terminal is the real surplus of main battery and secondary cell
Electricity sum.
Similarly, power threshold is for the normal power supply amount i.e. battery capacity of main battery, based on power threshold
One percentage of the battery capacity of battery.
The preparation electricity of battery is disengaged into use, is specially:The electricity of secondary cell is disengaged into use.By the preparation of secondary cell
Electricity disengage the mode used have it is a variety of, e.g., by the way that main battery is connected with secondary cell, make secondary cell to main battery charge, will
The preparation electricity of secondary cell disengages use;And for example, by the way that secondary cell is connected with master controller, secondary cell is made to be supplied to master controller
Electricity, the preparation electricity of secondary cell is disengaged into use.
Alternatively, when the battery of mobile terminal includes main battery and an at least secondary cell, this method also includes:
When being charged to mobile terminal, whether detection secondary cell is full of;
If secondary cell underfill, preferentially charged to secondary cell;
After detecting that secondary cell is full of, charged to main battery.
In this way, when being charged to mobile terminal, even if the charging interval is not abundant, it is impossible to be completely filled with battery, can also protect
Demonstrate,prove the electricity of secondary cell.
In above-described embodiment, with power threshold can be preset according to the actual requirements per family, e.g., preset power threshold be 5% or
10%.And when currently display electricity is not less than default power threshold, it is considered as and does not receive hiding electricity open command, that is, only has
When the current display electricity of mobile terminal is less than default power threshold, the preparation electricity of mobile terminal can just disengage use.
In other embodiments, the current display electricity of mobile terminal can also be the real surplus electricity of battery, then electric
Measure the percentage that threshold value is total battery capacity.After the hiding electricity open command of triggering is received, mobile terminal is detected
Real surplus electricity;If real surplus electricity is less than default power threshold, the preparation electricity of battery is disengaged into use.
Such as, default power threshold is 15%, the 15% of as total battery capacity, and preparation electricity is total battery capacity
10%.After the hiding electricity open command of triggering is received, current display electricity (the i.e. real surplus electricity of mobile terminal is detected
Amount), when currently display electricity is 13%, the preparation electricity of battery is disengaged into use.
The present embodiment detects the current display electricity of mobile terminal after hiding electricity open command is got, if worked as
Preceding display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use, by the above-mentioned means, he can be prevented
People exhausts whole electricity of mobile terminal, ensures that user can also continue to use in the case of low capacity of mobile terminal.
Below referring to Fig. 2, Fig. 2 is the management method of another battery electric quantity disclosed in the embodiment of the present invention, specific bag
Include:
Step 201:Receive and instruction is set, according to the interactive information for setting the default triggering of instruction to hide electricity open command.
According to the concrete configuration of mobile terminal, the input mode of interactive information, i.e. interactive operation have a variety of.Such as, it is mobile whole
End is configured with the fingerprint induction zone of tool fingerprint recognition module, and interactive operation can be fingerprint touch-control;And for example, mobile terminal configuration has electricity
It can be gesture motion to hold sensor, pressure sensor, infrared sensor and/or electrical capacitance proximity sensor, interactive operation.
If interactive operation is fingerprint touch-control, believe according to the fingerprint for instructing default triggering to hide electricity open command is set
Breath;If interactive operation is gesture motion, the default gesture information for triggering hiding electricity open command is instructed according to setting.
In the present embodiment, gesture information includes user gesture in the movement locus on screen or above screen and motion
Between, run duration, that is, user gesture generates the time of movement locus on screen or above screen, by generating movement locus
Start/stop time and the end time of movement locus be calculated.
Step 202:Interactive operation is received, obtains the interactive information of interactive operation input.
In one embodiment, the interactive operation received is fingerprint touch-control, obtains the finger print information of fingerprint touch-control input.
In another embodiment, the interactive operation received is gesture motion, obtains hand of the gesture motion on screen
Gesture information;In another embodiment, gesture information of the gesture motion above screen is obtained.
Step 203:If the interactive information of interactive operation input matches with default interactive information, the interactive operation is received
The hiding electricity open command of triggering.
Judge whether the interactive information of interactive operation input matches with default interactive information, if it does, such as, getting
Finger print information matched with default finger print information, and for example, the gesture information got matches with default gesture information, receive
The hiding electricity open command of interactive operation triggering.
Step 204:Detect the current display electricity of mobile terminal.
Step 205:If currently display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use.
Step 204 and 205 correlation steps that refer to first embodiment, its skilled addressee readily understands that model
In enclosing, here is omitted.
The present embodiment hides the interactive information of electricity open command by default triggering, is receiving interactive operation, is obtaining and hand over
After the interactive information of input that interoperates, judge whether the interactive information of interactive operation input matches with default interactive information, such as
Fruit matches, and receives the hiding electricity open command of interactive operation triggering, facilitates user quickly to trigger hiding electricity open command,
Hiding electricity open command could be triggered without opening the path specified.
Below referring to Fig. 3, Fig. 3 is the management method of another battery electric quantity disclosed in the embodiment of the present invention, this method
Applied to the mobile terminal with display screen, specifically include:
Step 301:Obtain the hiding electricity open command of triggering.
Step 302:Detect the current display electricity of mobile terminal.
Step 303:If currently display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use.
Step 301-303 refer to the correlation step of first embodiment, its skilled addressee readily understands that model
In enclosing, here is omitted.
Step 304:After the preparation electricity of battery disengages use, the real surplus electricity of battery is obtained, and it is mobile whole
Hold the application being currently running.
After the preparation electricity of battery disengages use, the real surplus electricity of battery is obtained, if battery includes main battery
And secondary cell, then what is obtained is the real surplus electricity of main battery and secondary cell.
It should be noted that the application being currently running includes what the application that front end is currently running was currently running with backstage
Using.
Step 305:According to real surplus electricity and the consumption rate for the application being currently running, show on a display screen real
The up time of border dump energy.
Specifically, consumption rate when mobile terminal can prestore the operation of each concrete application, when the concrete application both
Can be run with front end can also running background when, consumption rate includes consumption rate when front end is run and power consumption during running background
Rate.
The consumption rate that is, unit interval consumption rate of the present embodiment, exemplarily, consumption rate when being run such as A applications are 1
Minute electricity of power consumption 0.5%, consumption rate when B application front ends are run are 1 minute electricity of power consumption 0.5%, consumption during running background
Electric rate is 1 minute electricity of power consumption 0.1%.Applied when the application being currently running includes A using with B, and A is applied and is in foreground
Running status, for B using when being in background operation state, the consumption rate for the application being currently running is the electricity of power consumption in 1 minute 0.6%
Amount.
The application that mobile terminal obtains the real surplus electricity of battery and is currently running at a certain time interval,
Such as, the every 2 minutes or 5 minutes real surplus electricity for obtaining battery and the application being currently running;According to real surplus electricity
The consumption rate for the application measured and be currently running, the up time of real surplus electricity can be calculated, further,
Show the up time of screen display real surplus electricity.
Similarly, the up time of real surplus electricity can be shown by pop-up mode at a certain time interval,
Such as display in every 2 minutes or 5 minutes once, and can be closed automatically after preset time, for example, real surplus electricity can be used
Time automatic closing pop-up after showing 5 seconds or 10 seconds, avoids pop-up from blocking display information or handle icon.
In other embodiments, pop-up can be transparent window, without being closed after preset time, and not influence user
Operation, the up time of real surplus electricity can be shown in a manner of countdown by pop-up mode.
The present embodiment is by after the preparation electricity of battery disengages use, obtaining the real surplus electricity of battery, Yi Jiyi
The application that dynamic terminal is currently running, according to real surplus electricity and the consumption rate for the application being currently running, showing
The up time of screen display real surplus electricity, user can be allowed to understand the up time for grasping real surplus electricity,
Reasonable employment mobile terminal.
The embodiment of the present invention further discloses a kind of managing device of battery electric quantity, applied to mobile terminal, mobile terminal
Including battery, it is characterised in that device 400 includes:
Instruction reception unit 410, for receiving the hiding electricity open command of triggering;
First electric power detection unit 420, for detecting the current display electricity of mobile terminal;
Preparation managing electric quantity unit 430, if for currently showing that electricity is less than default power threshold, by the pre- of battery
Standby electricity disengages use.
The first electric power detection unit 420 of the present embodiment detects mobile terminal after hiding electricity open command is got
Current display electricity, if currently display electricity be less than default power threshold, prepare managing electric quantity unit 430 by battery
Preparation electricity disengages use, by the above-mentioned means, can prevent other people from exhausting whole electricity of mobile terminal, ensures that user exists
It can also continue to use in the case of low capacity of mobile terminal.
In one embodiment, mobile terminal only includes one piece of battery, PMU (power management
Unit, PMU) battery capacity of battery is divided into normal power supply amount and prepares electricity.
In another embodiment, the battery of mobile terminal includes main battery and an at least secondary cell, by the preparation electricity of battery
Amount disengages use, is specially:The electricity of secondary cell is disengaged into use.Alternatively, the device also includes:
3rd electric power detection unit, for when being charged to mobile terminal, whether detection secondary cell to be full of;
Charging control unit, if for secondary cell underfill, control is preferentially charged to secondary cell;
Charging control unit, it is additionally operable to after detecting that secondary cell is full of, controls and charged to main battery.
In this way, when being charged to mobile terminal, even if the charging interval is not abundant, it is impossible to be completely filled with battery, can also protect
Demonstrate,prove the electricity of secondary cell.
In certain embodiments, device 400 also includes:
Interactive information presets unit 440, and instruction is set for receiving, and the default triggering hiding electricity is instructed according to setting
The interactive information of open command;
Instruction reception unit 410, is specifically used for:
Interactive operation is received, obtains the interactive information of interactive operation input;
If the interactive information of interactive operation input matches with default interactive information, hiding for interactive operation triggering is received
Electricity open command.
The present embodiment presets the interactive information of the hiding electricity open command of the default triggering of unit 440 by interactive information, refers to
Make receiving unit 410 receive interactive operation, after the interactive information for obtaining interactive operation input, judge the friendship of interactive operation input
Whether mutual information matches with default interactive information, if it does, the hiding electricity open command of interactive operation triggering is received,
Facilitate user quickly to trigger hiding electricity open command, hiding electricity open command could be triggered without opening the path specified.
In certain embodiments, mobile terminal also includes display screen, and device 400 also includes:
Second electric power detection unit 450, for after the preparation electricity of battery disengages use, obtaining the real surplus of battery
Electricity;
Application acquisition unit 460, currently transported for after the preparation electricity of battery disengages use, obtaining mobile terminal
Capable application;
Time display unit 470, for the consumption rate according to real surplus electricity and the application being currently running, aobvious
Show the up time of screen display real surplus electricity.
The present embodiment is by the way that after the preparation electricity of battery disengages use, the second electric power detection unit 450 obtains battery
Real surplus electricity, application acquisition unit 460 obtain the application that mobile terminal is currently running, time display unit 470
Factually border dump energy and the consumption rate for the application being currently running, can be used for real surplus electricity is shown on a display screen
Time, user can be allowed to understand the up time for grasping real surplus electricity, reasonable employment mobile terminal.
It should be noted that because the device embodiment of the embodiment of the present invention is based on identical invention structure with embodiment of the method
Think, the technology contents in embodiment of the method are equally applicable to device embodiment, therefore, in device embodiment with embodiment of the method phase
Same technology contents will not be repeated here.
In order to preferably realize above-mentioned purpose, the embodiment of the present invention also provides a kind of mobile terminal, mobile terminal storage
There is executable instruction, the executable instruction can perform the management method of the battery electric quantity in above-mentioned any means embodiment.
Fig. 5 is a kind of structural representation of mobile terminal 500 provided in an embodiment of the present invention, as shown in figure 5, the movement is whole
End 500 includes:One or more processors 501 and memory 502, in Fig. 5 by taking a processor 501 as an example.
Processor 501 can be connected with memory 502 by bus or other modes, to be connected by bus in Fig. 5
Exemplified by.
Memory 502 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey
Sequence, non-volatile computer executable program and module, the management method such as the battery electric quantity in the embodiment of the present invention are corresponding
Programmed instruction/module (for example, modules shown in Fig. 4).Processor 501 is stored in memory 502 by operation
Non-volatile software program, instruction and module, so as to perform the various function application of the managing device of battery electric quantity and number
According to processing, that is, realize the management method of the battery electric quantity of above method embodiment and the modules of said apparatus embodiment
Function.
Memory 502 can include high-speed random access memory, can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memory 502
It is optional including relative to the remotely located memory of processor 501, these remote memories can pass through network connection to handling
Device 501.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Described program instruction/module is stored in the memory 502, when by one or more of processors 501
During execution, the management method of the battery electric quantity in above-mentioned any means embodiment is performed, for example, performing Fig. 1 described above extremely
Each step shown in Fig. 3;Also the modules described in Fig. 4 can be realized.
The mobile terminal 500 of the embodiment of the present invention can exist in a variety of forms, perform Fig. 1 to Fig. 3 institutes described above
The each step shown;When can also realize the modules described in Fig. 4, above-mentioned mobile terminal 500 includes but is not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data
Communicate as main target.This kind of mobile terminal includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, with
And low-end mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and processing work(
Can, typically also possess mobile Internet access characteristic.This kind of mobile terminal includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play video content, typically also possess mobile Internet access spy
Property.The kind equipment includes:Video player, handheld device, and intelligent toy and portable car-mounted navigation equipment.
(4) other mobile terminals that there is video playback capability or connect internet function.
The mobile terminal of the present embodiment detects the current display electricity of mobile terminal after hiding electricity open command is got
Amount, if currently display electricity is less than default power threshold, the preparation electricity of battery is disengaged into use, by the above-mentioned means,
It can prevent other people from exhausting whole electricity of mobile terminal, ensure that user can also be after in the case of low capacity of mobile terminal
It is continuous to use.
The embodiment of the present invention additionally provides a kind of nonvolatile computer storage media, the computer-readable storage medium storage
There are computer executable instructions, the computer executable instructions are executed by one or more processors, such as at one in Fig. 5
Device 501 is managed, may be such that said one or multiple processors can perform the management of the battery electric quantity in above-mentioned any means embodiment
Method, for example, performing each step shown in Fig. 1 described above to Fig. 3;Also the modules described in Fig. 4 can be realized.
The said goods can perform the method that the embodiment of the present invention is provided, and possesses the corresponding functional module of execution method and has
Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, it can be as the part that unit is shown or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.
The description of embodiment more than, those skilled in the art can be understood that each embodiment can be by
Software adds the mode of general hardware platform to realize, naturally it is also possible to passes through hardware.Based on such understanding, above-mentioned technical proposal
The part substantially to be contributed in other words to correlation technique can be embodied in the form of software product, the computer software
Product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing
One computer equipment (can be personal computer, server, either network equipment etc.) perform each embodiment or implementation
Method described in some parts of example.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;At this
Under the thinking of invention, it can also be combined between the technical characteristic in above example or different embodiments, step can be with
Realized with random order, and many other changes of the different aspect of the present invention as described above be present, for simplicity, they do not have
Have and provided in details;Although the present invention is described in detail with reference to the foregoing embodiments, the ordinary skill people of this area
Member should be understood:It can still modify to the technical scheme described in foregoing embodiments, or to which part skill
Art feature carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from each reality of the application
Apply the scope of a technical scheme.
Claims (12)
1. a kind of management method of battery electric quantity, applied to mobile terminal, the mobile terminal includes battery, it is characterised in that
Methods described includes:
Receive the hiding electricity open command of triggering;
Detect the current display electricity of the mobile terminal;
If the current display electricity is less than default power threshold, the preparation electricity of the battery is disengaged into use.
2. according to the method for claim 1, it is characterised in that it is described receive triggering hiding electricity open command it
Before, methods described also includes:
Receive and instruction is set, according to the interactive information for setting the default triggering hiding electricity open command of instruction;
The hiding electricity open command for receiving triggering, including:
Interactive operation is received, obtains the interactive information of the interactive operation input;
If the interactive information of the interactive operation input matches with default interactive information, the interactive operation triggering is received
Hide electricity open command.
3. according to the method for claim 1, it is characterised in that the mobile terminal also includes display screen, and methods described is also
Including:
After the preparation electricity of the battery disengages use, the real surplus electricity of the battery is obtained, and it is described mobile whole
The application being currently running is held,
According to the real surplus electricity and the consumption rate of the application being currently running, in the display screen display institute
State the up time of real surplus electricity.
4. according to the method described in claim any one of 1-3, it is characterised in that the battery capacity of the battery includes normal supply
Electricity and the prepared electricity;
When the preparation electricity of the battery is not disengaged in use, the current display electricity of the mobile terminal is the normal power supply
The dump energy of amount;
After the preparation electricity of the battery disengages use, the current display electricity of the mobile terminal is the reality of the battery
Dump energy.
5. according to the method described in claim any one of 1-3, it is characterised in that the battery includes main battery and secondary cell;
When the preparation electricity of the battery is not disengaged in use, the current display electricity of the mobile terminal is the main battery
Dump energy;
After the preparation electricity of the battery disengages use, the current display electricity of the mobile terminal is the main battery and institute
State the real surplus electricity sum of secondary cell;
It is described that the preparation electricity of the battery is disengaged into use, be specially:The electricity of the secondary cell is disengaged into use;
Methods described also includes:
When being charged to the mobile terminal, detect whether the secondary cell is full of;
If the secondary cell underfill, preferentially charged to the secondary cell;
After detecting that the secondary cell is full of, charged to the main battery.
6. a kind of managing device of battery electric quantity, applied to mobile terminal, the mobile terminal includes battery, it is characterised in that
Described device includes:
Instruction reception unit, for receiving the hiding electricity open command of triggering;
First electric power detection unit, for detecting the current display electricity of the mobile terminal;
Preparation managing electric quantity unit, if being less than default power threshold for the current display electricity, by the battery
Preparation electricity disengages use.
7. device according to claim 6, it is characterised in that described device also includes:
Interactive information presets unit, and instruction is set for receiving, and sets the default triggering hiding electricity of instruction to open according to described
Open the interactive information of instruction;
The instruction reception unit, is specifically used for:
Interactive operation is received, obtains the interactive information of the interactive operation input;
If the interactive information of the interactive operation input matches with default interactive information, the interactive operation triggering is received
Hide electricity open command.
8. device according to claim 6, it is characterised in that the mobile terminal also includes display screen, and described device is also
Including:
Second electric power detection unit, for after the preparation electricity of the battery disengages use, the reality for obtaining the battery to remain
Remaining electricity;
Application acquisition unit, it is current for after the preparation electricity of the battery disengages use, obtaining the mobile terminal
The application of operation;
Time display unit, for the consumption rate according to the real surplus electricity and the application being currently running,
The up time of real surplus electricity described in the display screen display.
9. according to the device described in claim any one of 6-8, it is characterised in that the battery capacity of the battery includes normal supply
Electricity and the prepared electricity.
10. according to the device described in claim any one of 6-8, it is characterised in that the battery includes main battery and secondary cell;
It is described that the preparation electricity of the battery is disengaged into use, be specially:The electricity of the secondary cell is disengaged into use;
Described device also includes:
3rd electric power detection unit, for when being charged to the mobile terminal, detecting whether the secondary cell is full of;
Charging control unit, if for the secondary cell underfill, control is preferentially charged to the secondary cell;
The charging control unit, it is additionally operable to after detecting that the secondary cell is full of, controls and charged to the main battery.
A kind of 11. mobile terminal, it is characterised in that including:
At least one processor;And
The memory being connected with least one processor;Wherein,
The memory storage have can by the instruction repertorie of at least one computing device, the instruction repertorie by it is described extremely
A few computing device, so that at least one processor is able to carry out the method as described in claim any one of 1-5.
12. a kind of non-volatile computer readable storage medium storing program for executing, it is characterised in that the computer-readable recording medium storage has
Computer executable instructions, when the computer executable instructions are performed by mobile terminal, the mobile terminal is set to perform such as
Method described in claim any one of 1-5.
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 true CN107770372A (en) | 2018-03-06 |
CN107770372B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110562161A (en) * | 2019-07-30 | 2019-12-13 | 深圳市星火车联科技有限公司 | Power supply method and vehicle-mounted terminal |
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 |
CN113910981A (en) * | 2021-11-10 | 2022-01-11 | 集度科技有限公司 | Method and device for continuation of journey of electric vehicle, equipment and storage medium |
WO2023240549A1 (en) * | 2022-06-16 | 2023-12-21 | 北京小米移动软件有限公司 | Battery level display method and apparatus, and storage medium |
Citations (6)
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 |
CN104202470A (en) * | 2014-08-21 | 2014-12-10 | 小米科技有限责任公司 | Terminal power supply control method and terminal power supply control device |
CN103440029B (en) * | 2013-08-16 | 2015-12-09 | 广东欧珀移动通信有限公司 | Extend method and the mobile terminal of the service time of mobile terminal under low electricity |
CN106231012A (en) * | 2016-08-01 | 2016-12-14 | 珠海格力电器股份有限公司 | Smart phone and battery control method and system thereof |
CN106532902A (en) * | 2016-10-14 | 2017-03-22 | 惠州Tcl移动通信有限公司 | Mobile terminal dual-battery control device and method |
CN107219465A (en) * | 2017-06-08 | 2017-09-29 | 西安蜂语信息科技有限公司 | A kind of method and device for extending stand-by time |
-
2017
- 2017-09-30 CN CN201710920082.5A patent/CN107770372B/en active Active
Patent Citations (6)
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 |
CN103440029B (en) * | 2013-08-16 | 2015-12-09 | 广东欧珀移动通信有限公司 | Extend method and the mobile terminal of the service time of mobile terminal under low electricity |
CN104202470A (en) * | 2014-08-21 | 2014-12-10 | 小米科技有限责任公司 | Terminal power supply control method and terminal power supply control device |
CN106231012A (en) * | 2016-08-01 | 2016-12-14 | 珠海格力电器股份有限公司 | Smart phone and battery control method and system thereof |
CN106532902A (en) * | 2016-10-14 | 2017-03-22 | 惠州Tcl移动通信有限公司 | Mobile terminal dual-battery control device and method |
CN107219465A (en) * | 2017-06-08 | 2017-09-29 | 西安蜂语信息科技有限公司 | A kind of method and device for extending stand-by time |
Cited By (5)
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 |
CN110562161A (en) * | 2019-07-30 | 2019-12-13 | 深圳市星火车联科技有限公司 | 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 |
WO2023240549A1 (en) * | 2022-06-16 | 2023-12-21 | 北京小米移动软件有限公司 | Battery level display method and apparatus, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107770372B (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107770372A (en) | Battery electric quantity management method and device and mobile terminal | |
CN105144063B (en) | Software application automatically saves mode and manual preservation mode | |
CN104969163B (en) | Methods of exhibiting, device and the electronic equipment of application interface | |
CN104360805B (en) | Application icon management method and device | |
CN109147179A (en) | A kind of commodity distribution method, apparatus, system, server and storage medium | |
CN106951766A (en) | scene mode switching method and device of intelligent terminal | |
CN106485956A (en) | Method and device for demonstrating functions of electronic equipment and intelligent terminal | |
CN106133826A (en) | For the self-defining flexible modes of language model | |
CN108540965A (en) | Internet of Things communication means, device and storage medium based on LoRa technologies | |
CN108027695A (en) | Application user interface based on experience mode conversion reconfigures | |
CN110231871A (en) | Page reading method, device, storage medium and electronic equipment | |
CN109991970A (en) | The charge control method and robot of robot | |
CN106843675A (en) | The generation method and device of shortcut | |
CN106648612A (en) | Popup window configuration method and device | |
CN102375918A (en) | Interaction virtual role system between facilities | |
CN103870120B (en) | A kind of information processing method and electronic equipment | |
CN106648854A (en) | Task execution method and device for terminal | |
CN107608778A (en) | Application program management-control method, device, storage medium and electronic equipment | |
CN103902011A (en) | Electronic device controlling method and electronic device | |
CN103607501A (en) | Method for unlocking mobile terminal through shake and shake-unlocked mobile terminal | |
CN107180004A (en) | It is a kind of at the same realize OTG communication and charging method and terminal | |
CN109074187A (en) | Determination method, capacitance touch-control device and the electronic device of touch control detection wrong report point | |
CN106462352B (en) | A kind of processing method, device and the terminal of fingerprint event | |
CN106527863A (en) | Interface display method and device based on protective sleeve | |
CN104657293A (en) | Method and device for man-machine interaction of ME (Mobile Equipment) |
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 |