CN107517494A - A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium - Google Patents

A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107517494A
CN107517494A CN201710767947.9A CN201710767947A CN107517494A CN 107517494 A CN107517494 A CN 107517494A CN 201710767947 A CN201710767947 A CN 201710767947A CN 107517494 A CN107517494 A CN 107517494A
Authority
CN
China
Prior art keywords
application program
terminal
end cell
dump energy
electricity quantity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710767947.9A
Other languages
Chinese (zh)
Inventor
李明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710767947.9A priority Critical patent/CN107517494A/en
Publication of CN107517494A publication Critical patent/CN107517494A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium, methods described includes step:If monitoring the application program launching operation in default the application list, the dump energy of end cell and the consumption rate of the application program are obtained;According to the dump energy of the end cell of acquisition and the consumption rate of the application program, continuous working period of the application program under the dump energy of the end cell is calculated;Show continuous working period of the application program under the dump energy of the end cell.The present invention application program big by monitoring power consumption, and calculate the continuous working period for showing the application program;Terminal user can intuitively know the usage time of battery electric quantity, facilitate terminal user rationally to control the electricity of terminal to use, improve user experience when using the application program.

Description

A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
Technical field
The present invention relates to communication technical field, more particularly to a kind of display methods of terminal battery electricity quantity, terminal and calculating Machine readable storage medium storing program for executing.
Background technology
With the continuous development of the communication technology, the application that smart mobile phone can be supported is more and more, and function is stronger and stronger, Develop towards variation, personalized direction.However, the development of battery technology is very slow, it is difficult to meets Smartphone device To the demand of electricity.The subject matter that smart mobile phone faces is the usage time and use that limited battery capacity limits equipment Experience at family.In order to solve this problem, on the one hand research and development reduces energy consumption, improves all kinds of sides of battery availability factor people Method;On the other hand it is exactly the man-machine interaction method by improving smart mobile phone and user, improves the usage experience of user.
Inventor has found that prior art has problems with during the present invention is realized:Existing mobile terminal is all Remaining electricity can be shown, in order to which user voluntarily estimates the remaining usage time of mobile terminal, but because user is likely to The power consumption condition of mobile terminal is not known, so even if knowing remaining electricity, user also is difficult to estimate correctly mobile whole Hold remaining usage time.For example, when user is using some game application, the prompting for carrying out low battery is jumped out suddenly Information or the phenomenon of shutdown, cause user experience very poor.
The content of the invention
It is a primary object of the present invention to propose a kind of display methods of terminal battery electricity quantity, terminal and computer-readable deposit Storage media, to solve the problems, such as that prior art is present.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of display methods of terminal battery electricity quantity, institute Stating the display methods of terminal battery electricity quantity includes step:
If monitoring the application program launching operation in default the application list, the dump energy of end cell is obtained With the consumption rate of the application program;
According to the dump energy of the end cell of acquisition and the consumption rate of the application program, calculate the application program and exist Continuous working period under the dump energy of the end cell;
Show continuous working period of the application program under the dump energy of the end cell.
Optionally, the application program in described default the application list is the big application program of power consumption.
Optionally, the big application program of the power consumption is determined in the following manner:
The consumption rate of the application program is obtained, and the consumption rate of the application program and default consumption rate are compared It is right;
If the consumption rate of the application program is more than default consumption rate, it is big that the application program is defined as power consumption Application program.
Optionally, if the application program launching operation monitored in default the application list, obtains terminal electricity Also include step before the consumption rate of the dump energy in pond and the application program:
The dump energy of the end cell is obtained, and judges the dump energy of the end cell whether less than default Value;
If the dump energy of the end cell is less than preset value, if monitoring default the application list described in performing In application program launching operation, then obtain end cell dump energy and the application program consumption rate step.
Optionally, continuous working period of the display application program under the dump energy of the end cell it Also include step afterwards:
The generation prompt message associated with the application program, and show the prompt message of generation.
Optionally, continuous working period of the display application program under the dump energy of the end cell it Also include step afterwards:
If detecting, the end cell is charged, and does not show the application program in the end cell Continuous working period under dump energy.
Optionally, continuous working period of the display application program under the dump energy of the end cell it Also include step afterwards:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, Then generate and show warning message.
Optionally, methods described also includes step:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, Then enter saving power for terminal pattern.
In addition, to achieve the above object, second aspect of the embodiment of the present invention provides a kind of terminal, the terminal includes:Deposit Reservoir, processor and the display journey for being stored in the terminal battery electricity quantity that can be run on the memory and on the processor Sequence, the terminal battery electricity quantity described in first aspect is realized when the display program of the terminal battery electricity quantity is by the computing device Display methods the step of.
Furthermore to achieve the above object, the third aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, institute State the display program that terminal battery electricity quantity is stored with computer-readable recording medium, the display program of the terminal battery electricity quantity The step of display methods of the terminal battery electricity quantity described in first aspect is realized when being executed by processor.
Display methods, terminal and the computer-readable storage medium of a kind of terminal battery electricity quantity provided in an embodiment of the present invention Matter, the application program big by monitoring power consumption, and calculate the continuous working period for showing the application program;Terminal user makes During with the application program, it can intuitively know the usage time of battery electric quantity, facilitate terminal user rationally to control the electricity of terminal Use, improve user experience.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the display methods schematic flow sheet of the terminal battery electricity quantity of the embodiment of the present invention;
Fig. 4 is that the big application flows of power consumption are determined in the display methods of the terminal battery electricity quantity of the embodiment of the present invention Schematic diagram;
Fig. 5 is another schematic flow sheet of display methods of the terminal battery electricity quantity of the embodiment of the present invention;
Fig. 6 is the terminal structure schematic diagram of the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
First embodiment
As shown in figure 3, first embodiment of the invention provides a kind of display methods of terminal battery electricity quantity, the end cell The display methods of electricity includes step:
If the 31, monitoring the application program launching operation in default the application list, the residue of end cell is obtained The consumption rate of electricity and the application program.
In the present embodiment, the application program in described default the application list is the big application program of power consumption.
It refer to shown in Fig. 4, in one embodiment, the big application journey of the power consumption can be determined in the following manner Sequence:
311st, the consumption rate of the application program is obtained, and the consumption rate of the application program and default consumption rate are entered Row compares;
If the 312, the consumption rate of the application program is more than default consumption rate, the application program is defined as power consumption Big application program.
In this embodiment, by the way that the consumption rate of application program is compared with default consumption rate, it may be determined that consumption The big application program of electricity.
The consumption rate of application program is unit interval power consumption, such as:The consumption rate of A application programs is power consumption in 1 minute 0.5% electricity;The consumption rate of B application programs is 1 minute electricity of power consumption 0.3%;The consumption rate of C application programs is power consumption in 1 minute 0.2% electricity;The consumption rate of D application programs is 1 minute electricity of power consumption 0.6% etc..The consumption rate of application program, can be by answering With program developer, either manufacturer terminal provides or tests to obtain by special test software, does not limit herein specifically System.
In the present embodiment, by the way that the big application program of power consumption is placed into default the application list, Jin Er When application program launching in default the application list is run, you can handled accordingly.
When the big application program of power consumption is referred into default the application list, there are a variety of different implementations. Such as:When terminal is dispatched from the factory, manufacturer terminal establishes the default the application list, and default the application list covers terminal user The big application program of conventional power consumption;Or when application program is downloaded installation, terminal recognition goes out the application program for consumption After the big application program of electricity, the application program is referred to default the application list.Specifically, this is not restricted.
It refer to shown in Fig. 5, in one embodiment, if the application journey monitored in default the application list Sequence startup optimization, then also include step before obtaining the dump energy of end cell and the consumption rate of the application program:
301st, the dump energy of the end cell is obtained, and judges the dump energy of the end cell whether less than pre- If value;
If the 302, the dump energy of the end cell is less than preset value, if monitoring default application program described in performing Application program launching operation in list, then obtain the dump energy of end cell and the consumption rate step of the application program.
In this embodiment, by judging that the dump energy of the end cell is less than preset value, and then it is directed to power consumption Big application program is measured to be monitored.On the one hand can avoid monitoring the application program in default the application list without limit Startup optimization, save terminal battery electricity quantity;On the other hand the stand-by time of terminal can be extended
In the present embodiment, preset value can be configured according to different situations by terminal user, or a fixed value. Such as:When terminal user is within certain time, using game application it is more when, what terminal user can be set the preset value It is somewhat higher, in order to reserve more battery electric quantities to use game application.
As illustratively, if preset value is 50%, if the dump energy of the end cell is 40%, perform described in If monitoring the application program launching operation in default the application list, obtain end cell dump energy and it is described should With the consumption rate step of program.
32nd, according to the dump energy of the end cell of acquisition and the consumption rate of the application program, calculating is described to apply journey Continuous working period of the sequence under the dump energy of the end cell;
33rd, continuous working period of the application program under the dump energy of the end cell is shown.
In the present embodiment, the continuous working period is referred under the dump energy of the end cell described in continuous use The time of application program.Specifically, the consumption rate of the dump energy of end cell divided by the application program be able to can be somebody's turn to do Continuous working period.
As illustratively, it is assumed that the dump energy for obtaining end cell is 40% electricity, then monitors to preset and applies journey The big game application of a game application startup optimization in sequence table, i.e. power consumption starts, such as:King's honor Game application.Assuming that the consumption rate of king's honor game application is 1%, then according to the electricity of dump energy 40% and list The electricity of total power consumption 1% in position time (1 minute) is divided by, and is multiplied by the unit interval 1 minute, that is, obtains the usage time of dump energy 40 minutes;If showing terminal continuous service king's honor game application, remaining 40% electricity can be continuing with 40 minutes, in terminal display interface or on the runnable interface of king's honor game application, show continuous service king The time of person's honor game application is 40 minutes.
User continues according to what is shown in terminal display interface or on the runnable interface of king's honor game application Run time, it is apparent that terminal can also use 40 minutes, facilitates terminal user rationally to control the electricity of terminal to make With improving user experience.
In one embodiment, the display application program continues under the dump energy of the end cell Also include step after run time:
The generation prompt message associated with the application program, and show the prompt message of generation.
In this embodiment, generating the prompt message associated with the application program includes some of the recommendations information.Example Such as:When terminal user starts king's honor game application, remaining 20% electricity of end cell can be learnt by calculating Amount can be continuing with 20 minutes, can at this time generate " battery electric quantity is too low or the continuous working period is relatively low, open consumption rate The advisory information of small game application ".
In one embodiment, the display application program continues under the dump energy of the end cell Also include step after run time:
If detecting, the end cell is charged, and does not show the application program in the end cell Continuous working period under dump energy.
In this embodiment, if detecting that the end cell is charged, it need not again show and continue Run time information, user can heartily use.
In one embodiment, the display application program continues under the dump energy of the end cell Also include step after run time:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, Then generate and show warning message.
In this embodiment, when the continuous working period under dump energy of the application program in the end cell During less than the default time, user can be prompted to close and either exit the application program or prompting user by the upper electricity of terminal connection Source.
Such as:When terminal user starts king's honor game application, it can learn that end cell remains by calculating 10% remaining electricity can be continuing with 10 minutes, at this time can be in terminal display interface or king's honor game application journey On sequence display interface, prompt message " current electric quantity can only continuous service 10 minutes, power supply please be connect " is shown.
In another embodiment, methods described also includes step:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, Then enter saving power for terminal pattern.
In this embodiment, saving power for terminal pattern can be the default battery saving mode of terminal, or terminal user The battery saving mode voluntarily set.Or terminal user, after part application program is closed, terminal is directly entered battery saving mode.
As illustratively, when terminal user starts king's honor game application, terminal can be learnt by calculating 15% electricity of remaining battery can be continuing with 15 minutes, can at this time enter saving power for terminal pattern.In the saving power for terminal Under pattern, terminal reduces display brightness, reduces game volume, and closes running background program or other applications, except King's honor game application that terminal user is used, and required application program, such as:Phone, short message etc. Application program.
A kind of display methods of terminal battery electricity quantity provided in an embodiment of the present invention, the application journey big by monitoring power consumption Sequence, and calculate the continuous working period for showing the application program;Terminal user can intuitively be known when using the application program The usage time of battery electric quantity, facilitate terminal user rationally to control the electricity of terminal to use, improve user experience.
Second embodiment
Reference picture 6, Fig. 6 provide a kind of terminal for second embodiment of the invention, and the terminal 40 includes:Memory 41, place Reason device 42 and the display program for being stored in the terminal battery electricity quantity that can be run on the memory 41 and on the processor 42, When the display program of the terminal battery electricity quantity is performed by the processor 42, for realizing terminal battery electricity quantity as described below Display methods the step of:
If monitoring the application program launching operation in default the application list, the dump energy of end cell is obtained With the consumption rate of the application program;
According to the dump energy of the end cell of acquisition and the consumption rate of the application program, calculate the application program and exist Continuous working period under the dump energy of the end cell;
Show continuous working period of the application program under the dump energy of the end cell.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
Application program in described default the application list is the big application program of power consumption.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
The big application program of the power consumption is determined in the following manner:
The consumption rate of the application program is obtained, and the consumption rate of the application program and default consumption rate are compared It is right;
If the consumption rate of the application program is more than default consumption rate, it is big that the application program is defined as power consumption Application program.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
If the application program launching operation monitored in default the application list, obtain the residue of end cell Also include step before the consumption rate of electricity and the application program:
The dump energy of the end cell is obtained, and judges the dump energy of the end cell whether less than default Value;
If the dump energy of the end cell is less than preset value, if monitoring default the application list described in performing In application program launching operation, then obtain end cell dump energy and the application program consumption rate step.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
The display application program is also wrapped after the continuous working period under the dump energy of the end cell Include step:
The generation prompt message associated with the application program, and show the prompt message of generation.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
The display application program is also wrapped after the continuous working period under the dump energy of the end cell Include step:
If detecting, the end cell is charged, and does not show the application program in the end cell Continuous working period under dump energy.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
The display application program is also wrapped after the continuous working period under the dump energy of the end cell Include step:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, Then generate and show warning message.
When the display program of the terminal battery electricity quantity is performed by the processor 42, it is additionally operable to realize end as described below The step of display methods of end-cell electricity:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, Then enter saving power for terminal pattern.
A kind of terminal provided in an embodiment of the present invention, the application program big by monitoring power consumption, and calculate and show and should answer With the continuous working period of program;Terminal user is when using the application program, when can intuitively know the use of battery electric quantity Between, facilitate terminal user rationally to control the electricity of terminal to use, improve user experience.
3rd embodiment
Third embodiment of the invention provides a kind of computer-readable recording medium, is deposited on the computer-readable recording medium The display program of terminal battery electricity quantity is contained, the display program of the terminal battery electricity quantity realizes that first is real when being executed by processor The step of applying the display methods of the terminal battery electricity quantity described in example.
Computer-readable recording medium provided in an embodiment of the present invention, the application program big by monitoring power consumption, and count Calculate the continuous working period for showing the application program;Terminal user can intuitively know battery electricity when using the application program The usage time of amount, facilitate terminal user rationally to control the electricity of terminal to use, improve user experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of display methods of terminal battery electricity quantity, it is characterised in that the display methods of the terminal battery electricity quantity includes step Suddenly:
If monitoring the application program launching operation in default the application list, dump energy and the institute of end cell are obtained State the consumption rate of application program;
According to the dump energy of the end cell of acquisition and the consumption rate of the application program, the application program is calculated described Continuous working period under the dump energy of end cell;
Show continuous working period of the application program under the dump energy of the end cell.
2. the display methods of a kind of terminal battery electricity quantity according to claim 1, it is characterised in that described default to apply journey Application program in sequence table is the big application program of power consumption.
3. the display methods of a kind of terminal battery electricity quantity according to claim 2, it is characterised in that true in the following manner The big application program of the fixed power consumption:
The consumption rate of the application program is obtained, and the consumption rate of the application program is compared with default consumption rate;
If the consumption rate of the application program is more than default consumption rate, the application program is defined as the big application of power consumption Program.
A kind of 4. display methods of terminal battery electricity quantity according to claim 1, it is characterised in that if it is described monitor it is pre- If the application program launching operation in the application list, then obtain the dump energy of end cell and the consumption of the application program Also include step before electric rate:
The dump energy of the end cell is obtained, and judges whether the dump energy of the end cell is less than preset value;
If the dump energy of the end cell is less than preset value, if being monitored described in performing in default the application list Application program launching is run, then obtains the dump energy of end cell and the consumption rate step of the application program.
5. the display methods of a kind of terminal battery electricity quantity according to claim 1, it is characterised in that should described in the display With also including step after continuous working period of the program under the dump energy of the end cell:
The generation prompt message associated with the application program, and show the prompt message of generation.
6. the display methods of a kind of terminal battery electricity quantity according to claim 1, it is characterised in that should described in the display With also including step after continuous working period of the program under the dump energy of the end cell:
If detecting, the end cell is charged, and does not show residue of the application program in the end cell Continuous working period under electricity.
7. the display methods of a kind of terminal battery electricity quantity according to claim 1, it is characterised in that should described in the display With also including step after continuous working period of the program under the dump energy of the end cell:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, give birth to Into and show warning message.
8. the display methods of a kind of terminal battery electricity quantity according to claim 7, it is characterised in that methods described also includes Step:
If continuous working period of the application program under the dump energy of the end cell is less than the default time, enter Enter saving power for terminal pattern.
9. a kind of terminal, it is characterised in that the terminal includes:Memory, processor and it is stored on the memory and can The display program of the terminal battery electricity quantity run on the processor, the display program of the terminal battery electricity quantity is by the place The step of managing the display methods that the terminal battery electricity quantity as any one of claim 1 to 8 is realized when device performs.
10. a kind of computer-readable recording medium, it is characterised in that terminal electricity is stored with the computer-readable recording medium The display program of pond electricity, realized when the display program of the terminal battery electricity quantity is executed by processor as in claim 1 to 8 The step of display methods of terminal battery electricity quantity described in any one.
CN201710767947.9A 2017-08-31 2017-08-31 A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium Pending CN107517494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710767947.9A CN107517494A (en) 2017-08-31 2017-08-31 A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710767947.9A CN107517494A (en) 2017-08-31 2017-08-31 A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107517494A true CN107517494A (en) 2017-12-26

Family

ID=60724802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710767947.9A Pending CN107517494A (en) 2017-08-31 2017-08-31 A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107517494A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960817A (en) * 2018-07-11 2018-12-07 徐琳 Electronic payment platform based on electric power detection
CN109036296A (en) * 2018-09-03 2018-12-18 Oppo广东移动通信有限公司 Screen backlight brightness adjusting method, device, terminal and storage medium
CN109309953A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 Consumption detection method, apparatus, terminal and readable storage medium storing program for executing
CN109405132A (en) * 2018-10-16 2019-03-01 珠海格力电器股份有限公司 Electric quantity reminding method and system for photovoltaic air conditioner and photovoltaic air conditioner
CN109405191A (en) * 2018-10-15 2019-03-01 珠海格力电器股份有限公司 Display method, display device, terminal and readable storage medium
CN109856544A (en) * 2019-01-24 2019-06-07 努比亚技术有限公司 Terminal power uses time analysis method, terminal and computer readable storage medium
CN110266886A (en) * 2019-06-21 2019-09-20 Oppo广东移动通信有限公司 Battery management method and Related product
CN111562507A (en) * 2020-04-30 2020-08-21 歌尔科技有限公司 Battery electric quantity display method and device, electronic equipment and storage medium
CN112180257A (en) * 2020-08-31 2021-01-05 北京三快在线科技有限公司 RTC battery detection method and device, electronic equipment and storage medium
TWI717878B (en) * 2019-10-24 2021-02-01 宏碁股份有限公司 Battery power prediction method and computer program product thereof
CN114336796A (en) * 2020-09-28 2022-04-12 深圳绿米联创科技有限公司 Electric quantity calculation method, electric quantity calculation device, network system, electric equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110001457A1 (en) * 2009-07-03 2011-01-06 Frank Mueller Battery charge status indicator for user terminal device
CN105100429A (en) * 2015-06-08 2015-11-25 北京金山安全软件有限公司 Method and device for determining use time of residual electric quantity of mobile terminal
CN106774774A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 The electric quantity display method and device of end cell
WO2017088444A1 (en) * 2015-11-24 2017-06-01 深圳Tcl数字技术有限公司 Method and device for prompting electric quantity information of terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110001457A1 (en) * 2009-07-03 2011-01-06 Frank Mueller Battery charge status indicator for user terminal device
CN105100429A (en) * 2015-06-08 2015-11-25 北京金山安全软件有限公司 Method and device for determining use time of residual electric quantity of mobile terminal
WO2017088444A1 (en) * 2015-11-24 2017-06-01 深圳Tcl数字技术有限公司 Method and device for prompting electric quantity information of terminal
CN106774774A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 The electric quantity display method and device of end cell

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960817B (en) * 2018-07-11 2022-01-25 深圳市银联金融网络有限公司 Electronic payment platform based on electric quantity detection
CN108960817A (en) * 2018-07-11 2018-12-07 徐琳 Electronic payment platform based on electric power detection
CN109036296A (en) * 2018-09-03 2018-12-18 Oppo广东移动通信有限公司 Screen backlight brightness adjusting method, device, terminal and storage medium
CN109405191A (en) * 2018-10-15 2019-03-01 珠海格力电器股份有限公司 Display method, display device, terminal and readable storage medium
CN109405132A (en) * 2018-10-16 2019-03-01 珠海格力电器股份有限公司 Electric quantity reminding method and system for photovoltaic air conditioner and photovoltaic air conditioner
CN109309953A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 Consumption detection method, apparatus, terminal and readable storage medium storing program for executing
CN109309953B (en) * 2018-11-30 2023-12-12 努比亚技术有限公司 Power consumption detection method, device, terminal and readable storage medium
CN109856544A (en) * 2019-01-24 2019-06-07 努比亚技术有限公司 Terminal power uses time analysis method, terminal and computer readable storage medium
CN110266886A (en) * 2019-06-21 2019-09-20 Oppo广东移动通信有限公司 Battery management method and Related product
TWI717878B (en) * 2019-10-24 2021-02-01 宏碁股份有限公司 Battery power prediction method and computer program product thereof
CN111562507B (en) * 2020-04-30 2021-12-14 歌尔科技有限公司 Battery electric quantity display method and device, electronic equipment and storage medium
CN111562507A (en) * 2020-04-30 2020-08-21 歌尔科技有限公司 Battery electric quantity display method and device, electronic equipment and storage medium
CN112180257A (en) * 2020-08-31 2021-01-05 北京三快在线科技有限公司 RTC battery detection method and device, electronic equipment and storage medium
CN114336796A (en) * 2020-09-28 2022-04-12 深圳绿米联创科技有限公司 Electric quantity calculation method, electric quantity calculation device, network system, electric equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107133092A (en) Multi-thread synchronization processing method, terminal and computer-readable recording medium
CN107463481A (en) Data interactive method, mobile terminal and storage medium
CN107343083A (en) One kind lifting game experiencing method, apparatus and computer-readable recording medium
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107566635A (en) Screen intensity method to set up, mobile terminal and computer-readable recording medium
CN107528369A (en) Terminal and its wireless charging control method, computer-readable recording medium
CN107181700A (en) Control method, mobile terminal and the storage medium of application program for mobile terminal
CN107193779A (en) Residue charging duration calculation method, terminal and computer-readable recording medium
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN107464515A (en) Screen brightness regulation method, mobile terminal and storage medium
CN107844230A (en) A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN107995353A (en) The quick control method of smart machine, terminal and computer-readable recording medium
CN107315673A (en) Power consumption monitoring method, mobile terminal and computer-readable recording medium
CN107181865A (en) Processing method, terminal and the computer-readable recording medium of unread short messages
CN107688429A (en) Management method, mobile terminal and the computer-readable recording medium of application controls
CN107678698A (en) Data cached method for cleaning, server, terminal and computer-readable recording medium
CN107613130A (en) A kind of application management method, mobile terminal and computer-readable recording medium
CN107247606A (en) Application management method, device and computer-readable recording medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107706981A (en) A kind of wireless charging method and wireless charging device
CN107423065A (en) Method, mobile terminal and the computer-readable recording medium that a kind of application is attended to anything else
CN107911778A (en) A kind of playback method based on loudspeaker in parallel, mobile terminal and readable storage medium storing program for executing

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171226