CN107290674A - A kind of calibration method and terminal for showing charge value - Google Patents

A kind of calibration method and terminal for showing charge value Download PDF

Info

Publication number
CN107290674A
CN107290674A CN201710360803.1A CN201710360803A CN107290674A CN 107290674 A CN107290674 A CN 107290674A CN 201710360803 A CN201710360803 A CN 201710360803A CN 107290674 A CN107290674 A CN 107290674A
Authority
CN
China
Prior art keywords
value
terminal
charge value
currently
electricity
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
CN201710360803.1A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710360803.1A priority Critical patent/CN107290674A/en
Publication of CN107290674A publication Critical patent/CN107290674A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/367Software therefor, e.g. for battery testing using modelling or look-up tables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/3644Constructional arrangements
    • G01R31/3646Constructional arrangements for indicating electrical conditions or variables, e.g. visual or audible indicators
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/382Arrangements for monitoring battery or accumulator variables, e.g. SoC
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The embodiment of the present invention provides a kind of calibration method and terminal for showing charge value, and wherein method includes:The actual charge value and display charge value of real-time monitoring terminal battery;Calculate the difference of the actual charge value and the display charge value;Judge whether the difference is more than default power threshold;If more than default power threshold, judging the terminal currently whether in screen state of going out;If being currently at screen state of going out, the display charge value of end cell according to the actual electricity value calibration.The embodiment of the present invention, so as to lift the Consumer's Experience in display charge value calibration process, the experience of the process to one electricity smooth change of user.

Description

A kind of calibration method and terminal for showing charge value
Technical field
The embodiment of the present invention belongs to electronic technology field, more particularly to a kind of calibration method and terminal for showing charge value.
Background technology
At present, all it is powered in most of mobile devices using lithium ion battery, accordingly in the aobvious of mobile device The battery condition of lithium ion battery is represented on display screen curtain using display charge value, for example, being used as display charge value using percentage Shown.It is vital that accurate electricity, which is shown to user, and particularly when low battery, accurate electricity is shown Optimal power energy allocation scheme will be provided the user with, while the problem of also avoiding unnecessary occurs, such as unexpected automatic shutdown Deng.
However, because battery is originally experienced the influence of many physical factors, such as temperature, the internal resistance of cell, humidity, cell degradation Battery actual displayed is run into during actual displayed, always Deng, battery electric quantity the charge value available physical actual with battery There is a situation where certain difference between charge value, now, then need to carry out certain calibration to the charge value of battery actual displayed. At present, relatively common calibration method is, there is error when detecting display electricity with actual electricity in actual use When, then at interval of certain time to showing electricity value calibration once, this calibrating mode can make display charge value with non-smooth Mode is changed, and user is significantly felt that electricity, in change, bad experience is brought to user.
The content of the invention
The embodiment of the present invention provides a kind of calibration method and terminal for showing electricity, can lift display electricity value calibration mistake Consumer's Experience in journey, the experience of the process to one electricity smooth change of user.
On the one hand the embodiment of the present invention provides a kind of calibration method for showing charge value, including:
The actual charge value and display charge value of real-time monitoring terminal battery;
Calculate the difference of the actual charge value and the display charge value;
Judge whether the difference is more than default power threshold;
If more than default power threshold, judging the terminal currently whether in screen state of going out;
If being currently at screen state of going out, the display charge value of end cell according to the actual electricity value calibration.
On the other hand the embodiment of the present invention also provides a kind of terminal, including:
Electric quantity monitoring unit, actual charge value and display charge value for real-time monitoring terminal battery;
Computing unit, the difference for calculating the actual charge value and the display charge value;
First judging unit, for judging whether the difference is more than default power threshold;
Second judging unit, if for more than default power threshold, judging the terminal currently whether in the screen shape that goes out State;
Alignment unit, if for being currently at screen state of going out, the end cell according to the actual electricity value calibration Display charge value.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and Memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store branch The application code that terminal performs the above method is held, the processor is arranged to the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Be stored with computer program, and the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
Actual charge value and display charge value that the embodiment of the present invention passes through real-time monitoring terminal battery;Calculate the reality The difference of charge value and the display charge value;Judge whether the difference is more than default power threshold;If more than default electricity Whether threshold value, then judge the terminal currently in screen state of going out;If being currently at screen state of going out, according to the actual electricity The display charge value of end cell described in value calibration, so as to lift the Consumer's Experience in display charge value calibration process, gives The experience of the process of one electricity smooth change of user.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, for ability For the those of ordinary skill of domain, on the premise of not paying creative work, it can also be obtained according to these accompanying drawings other attached Figure.
Fig. 1 is a kind of schematic flow diagram of the calibration method for display charge value that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow diagram of the calibration method for display charge value that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow diagram of the calibration method for display charge value that the embodiment of the present invention three is provided;
Fig. 4 is a kind of schematic block diagram for terminal that the embodiment of the present invention four is provided;
Fig. 5 is a kind of schematic block diagram for terminal that the embodiment of the present invention five is provided;
Fig. 6 is a kind of schematic block diagram for terminal that the embodiment of the present invention six is provided;
Fig. 7 is a kind of schematic block diagram for terminal that the embodiment of the present invention seven is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use such as touch sensitive surface at least one is public Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
It is a kind of schematic flow diagram of the calibration method for display charge value that the embodiment of the present invention one is provided, such as referring to Fig. 1 Shown in Fig. 1, a kind of calibration method for display charge value that the present embodiment is provided, including:
Step S101, the actual charge value and display charge value of real-time monitoring terminal battery.
In the present embodiment, in starting up of terminal, the first of end cell is determined according to the open-circuit voltage values of end cell Beginning electricity, now the actual electricity of end cell is equal with display charge value, is equal to the initial quantity of electricity value.Wherein, according to The open-circuit voltage values of end cell determine that the initial quantity of electricity of end cell includes:
Inquire about the mapping table of the magnitude of voltage stored in terminal and charge value to determine end according to the open-circuit voltage values The initial quantity of electricity at end.
In the present embodiment, during starting up of terminal use, the actual charge value of end cell can change, and by In the display charge value of end cell be not real-time change, therefore its can be produced during starting up of terminal use it is certain , there is certain difference with actual charge value in error.In the present embodiment, can in real time it be supervised according to predeterminated frequency after starting up of terminal The actual charge value and display charge value of end cell are surveyed, and according to the actual charge value and display charge value monitored, to count Calculate the difference obtained between the two.
Step S102, calculates the difference of the actual charge value and the display charge value.
In the present embodiment, the actual charge value and the display charge value are carried out in the form of electricity percentage Metering, the terminal internal memory contains the mapping table of battery open circuit voltage values and actual charge value, and the terminal can pass through prison The open-circuit voltage values of its cells are surveyed, the mode then tabled look-up according to open-circuit voltage values gets the actual electricity of end cell Value;The terminal can be getting the aobvious of the battery by way of reading the percentage of the battery electric quantity shown on display interface Show charge value, then according to the real time electrical quantity value and display charge value got, calculate difference between the two.
Step S103, judges whether the difference is more than default power threshold, if more than default power threshold, entering step Rapid S104, conversely, not processing.
In the present embodiment, the default power threshold can voluntarily be set by user, in use, and user can be with The default power threshold is changed at any time, when the difference is more than the default power threshold, then illustrates now end cell Display charge value error it is larger, now enter step S104, further determine whether to need the display electricity to battery Value is corrected;Conversely, when the difference is less than or equal to the default power threshold, then illustrating the aobvious of now end cell Show the error of charge value in allowed band, now without being corrected to it.
Step S104, judges that the terminal, currently whether in screen state of going out, if being currently at screen state of going out, enters step Rapid S105;Conversely, not processing.
In the present embodiment, if terminal is currently at screen state of going out, illustrate that active user does not operate with the end End, now, is calibrated to the display charge value of end cell, and user's observation will not be made to see the mutation of display charge value, because This can be entered in step S105, the step of performing calibration;If on the contrary, terminal is currently at the state of bright screen, illustrating now User may operate with terminal, if now being calibrated to the display charge value of end cell, may feel user Observe display charge value saltus step, in this case can user think that battery is not durable, bad experience is brought to user, because This, now, the step of not performing calibration.
Step S105, the display charge value of end cell according to the actual electricity value calibration.
In the present embodiment, terminal is under screen state of going out, and the display charge value of battery is stored in inside terminal system, works as end End from the screen that goes out enter bright screen state when, can directly read and show the display charge value of the battery stored in system, therefore eventually End is under screen state of going out, and the display charge value for the battery that can also be stored up to its Installed System Memory is calibrated.
Further, in the present embodiment, the display charge value of the end cell according to implementing electricity value calibration Including:The electricity of preset percentage is increased or decreased every preset time, until the display charge value is equal to the actual electricity Value.
In the present embodiment, the span of the preset time is 0~2s, the span of the preset percentage Within 2%.It is preferred that, in a preferred embodiment, the preset time is 1s, and the preset percentage is 1%, so can be with So that display electricity value changes are more steady.
Above as can be seen that a kind of calibration method for display charge value that the present embodiment is provided due to by monitoring end in real time The actual charge value and display charge value of end-cell;Calculate the difference of the actual charge value and the display charge value;Judge Whether the difference is more than default power threshold;If more than default power threshold, judging whether the terminal is currently in and going out Screen state;If being currently at screen state of going out, the display charge value of end cell according to the actual electricity value calibration, from And the Consumer's Experience in display charge value calibration process can be lifted, the experience of the process to one electricity smooth change of user.
Fig. 2 is a kind of schematic flow diagram of the calibration method for display charge value that the embodiment of the present invention two is provided.Referring to Fig. 2 It is shown, a kind of calibration method for display charge value that the present embodiment is provided, including:
Step S201, the actual charge value and display charge value of real-time monitoring terminal battery.
Step S202, calculates the difference of the actual charge value and the display charge value.
Step S203, judges whether the difference is more than default power threshold, if more than default power threshold, entering step Rapid S204;Conversely, not processing.
Step S204, judges that the terminal currently whether in screen state of going out, if being currently at bright screen state, is entered Step S205;If being currently at screen state of going out, step S206 is jumped to.
It should be noted that step S201~step S204 in the present embodiment due to the step in a upper embodiment S101~step S104 implementation is identical, therefore will not be repeated here.
Step S205, judges whether the current application foreground interface of the terminal shows battery electric quantity change icon, if Do not show that battery electric quantity changes icon, then into step S206;Conversely, not processing.
In the present embodiment, whether the current application foreground interface for judging the terminal shows battery electric quantity change Icon is specifically included:Sectional drawing is carried out to the current application foreground interface of terminal, the current application foreground of the terminal is then analyzed Whether include on the sectional drawing at interface on screen of the default battery electric quantity variation diagram target image to recognize present terminal whether Show battery electric quantity change icon;If not showing battery electric quantity change icon on present terminal, illustrate now to terminal When the display charge value of system storage battery is calibrated, user will not perceive the mutation of display charge value, therefore enter In step S206, the display charge value of battery is corrected;If conversely, shown in terminal battery electric quantity change icon, If illustrating now to calibrate the display charge value of end cell, user may after perceive display charge value mutation, Bring bad experience, therefore, do not process now to user.
It is preferred that, in the present embodiment, it can also include before step S205:
Obtain the current value of presently described end cell;
Judge whether the current value is more than predetermined current threshold;
If more than predetermined current threshold, into step S205;Otherwise, flow is terminated.
Wherein, obtaining the current value of presently described end cell includes:Flowed into by reading battery related register Or the current value of outflow battery.The predetermined current threshold can be by user's sets itself, and it is used for the reality for judging end cell Whether the change of charge value is larger;When the current value is more than the predetermined current threshold, then illustrate now end cell Actual charge value is changed greatly, when now to the display charge value progress calibration process of end cell, the display electricity of end cell Magnitude variations are larger, can bring bad experience, therefore, now enter in step S205 to user, using present invention implementation The calibrating mode for the display charge value that example is provided;If on the contrary, the current value be less than or equal to the predetermined current threshold, Illustrate that the actual electricity value changes of now end cell are smaller, calibration process now is carried out to the display charge value of end cell When, the variable quantity of the display charge value of end cell is smaller, therefore is now handled according to normal calibrating mode, without adopting Use calibrating mode provided in an embodiment of the present invention.
Step S206, the display charge value of end cell according to the actual electricity value calibration.
It should be noted that step S206 in the present embodiment due to step S101~step in a upper embodiment S105 implementation is identical, therefore will not be repeated here.
Above as can be seen that a kind of calibration method for display charge value that the present embodiment is provided can equally lift display electricity Consumer's Experience in value calibration process, the experience of the process to one electricity smooth change of user.
Fig. 3 is a kind of schematic flow diagram of the calibration method for display charge value that the embodiment of the present invention three is provided.Referring to Fig. 3 It is shown, a kind of calibration method for display charge value that the present embodiment is provided, including:
Step S301, the actual charge value and display charge value of real-time monitoring terminal battery.
Step S302, calculates the difference of the actual charge value and the display charge value.
Step S303, judges whether the difference is more than default power threshold, if more than default power threshold, entering step Rapid S304;Conversely, not processing.
Step S304, judges that the terminal currently whether in screen state of going out, if being currently at bright screen state, is entered Step S305;If being currently at screen state of going out, step S306 is jumped to.
It should be noted that step S301~step S304 in the present embodiment due to the step in embodiment illustrated in fig. 1 Rapid S101~step S104 implementation is identical, therefore will not be repeated here.
Step S305, judges whether user is currently operating with the terminal, if user does not operate with institute currently Terminal is stated, then into step S306;Conversely, not processing.
In the present embodiment, it is described to judge whether user is currently operating with the terminal and including:
Shooting user by front camera in terminal, now eyes watch position attentively;
If user's current eye does not watch terminal screen attentively, illustrate that user does not operate with the terminal currently, it is now, right When the display charge value of end cell is calibrated, user will not perceive the mutation of display charge value, therefore enter step In S306, the display charge value of end cell is calibrated;On the contrary,
If user's current eye watches terminal screen attentively, illustrate that user is currently being operated and use the terminal, now When being calibrated to the display charge value of end cell, user can perceive the mutation of display charge value, therefore, do not do now and locate Reason.
It is preferred that, in the present embodiment, it can also include before step S305:
Obtain the current value of presently described end cell;
Judge whether the current value is more than predetermined current threshold;
If more than predetermined current threshold, into step S305;Otherwise, flow is terminated.
Wherein, obtaining the current value of presently described end cell includes:Flowed into by reading battery related register Or the current value of outflow battery.The predetermined current threshold can be by user's sets itself, and it is used for the reality for judging end cell Whether the change of charge value is larger;When the current value is more than the predetermined current threshold, then illustrate now end cell Actual charge value is changed greatly, when now to the display charge value progress calibration process of end cell, the display electricity of end cell Magnitude variations are larger, can bring bad experience, therefore, now enter in step S305 to user, using present invention implementation The calibrating mode for the display charge value that example is provided;If on the contrary, the current value be less than or equal to the predetermined current threshold, Illustrate that the actual electricity value changes of now end cell are smaller, calibration process now is carried out to the display charge value of end cell When, the variable quantity of the display charge value of end cell is smaller, therefore is now handled according to normal calibrating mode, without adopting Use calibrating mode provided in an embodiment of the present invention.
Step S306, the display charge value of end cell according to the actual electricity value calibration.
It should be noted that step S206 in the present embodiment due to step S101~step in a upper embodiment S105 implementation is identical, therefore will not be repeated here.
Above as can be seen that a kind of calibration method for display charge value that the present embodiment is provided can equally lift display electricity Consumer's Experience in value calibration process, the experience of the process to one electricity smooth change of user.
Fig. 4 is a kind of schematic block diagram for terminal that the embodiment of the present invention four is provided, and be illustrate only for convenience of description Part related to the present embodiment.
Shown in Figure 4, a kind of terminal 100 that the present embodiment is provided includes:
Electric quantity monitoring unit 11, actual charge value and display charge value for real-time monitoring terminal battery;
Computing unit 12, the difference for calculating the actual charge value and the display charge value;
First judging unit 13, for judging whether the difference is more than default power threshold;
Second judging unit 14, if for more than default power threshold, judging the terminal currently whether in the screen that goes out State;
Alignment unit 15, if for being currently at screen state of going out, the terminal electricity according to the actual electricity value calibration The display charge value in pond.
Optionally, the alignment unit 15 specifically for:
The electricity of preset percentage is increased or decreased every preset time, until the display charge value is equal to the reality Charge value.
Optionally, shown in Figure 5, in embodiment five, the terminal 100 also includes:
Icon detection unit 16, if for being currently at bright screen state, judging the current application foreground circle of the terminal Whether face shows battery electric quantity change icon;
First control unit 17, if for not showing that battery electric quantity changes icon, controlling the alignment unit according to institute State the display charge value of end cell described in actual electricity value calibration.
Optionally, in embodiment five, the terminal 100 also includes:
Current monitoring unit 18, the current value for obtaining presently described end cell;
3rd judging unit 19, for judging whether the current value is more than predetermined current threshold;
Second control unit 20, if for more than predetermined current threshold, controlling the icon detection unit to perform judgement Whether the current application foreground interface of the terminal shows the operation of battery electric quantity variation diagram target.
Optionally, shown in Figure 6, in embodiment six, the terminal 100 also includes:
User operates detection unit 21, if for being currently at bright screen state, judging whether user currently operates Use the terminal;
3rd control unit 22, if not operating with the terminal currently for user, controls the alignment unit root According to the display charge value of end cell described in the actual electricity value calibration.
Optionally, in embodiment six, the terminal 100 also includes:
Current monitoring unit 18, the current value for obtaining presently described end cell;
3rd judging unit 19, for judging whether the current value is more than predetermined current threshold;
Second control unit 20, if for more than predetermined current threshold, controlling user's operation detection unit to perform Judge whether user is currently operating with the operation of the terminal.
It should be noted that the unit in above-mentioned terminal provided in an embodiment of the present invention, due to the inventive method Embodiment is based on same design, and its technique effect brought is identical with the inventive method embodiment, and particular content can be found in this hair Narration in bright embodiment of the method, here is omitted.
Thus, it will be seen that terminal provided in an embodiment of the present invention can be equally lifted in display charge value calibration process Consumer's Experience, the experience of the process to one electricity smooth change of user.
It is a kind of terminal schematic block diagram that the embodiment of the present invention seven is provided referring to Fig. 7.As shown in fig. 7, in the present embodiment Terminal can include:One or more processors 701;One or more input equipments 702, one or more output equipments 703 With memory 704.Above-mentioned processor 701, input equipment 702, output equipment 703 and memory 704 are connected by bus 705. Memory 702 is used for store instruction, and processor 701 is used for the instruction for performing the storage of memory 702.Wherein, the processor 701 For:
The actual charge value and display charge value of real-time monitoring terminal battery;
Calculate the difference of the actual charge value and the display charge value;
Judge whether the difference is more than default power threshold;
If more than default power threshold, judging the terminal currently whether in screen state of going out;
If being currently at screen state of going out, the display charge value of end cell according to the actual electricity value calibration.
Optionally, the processor 701 is additionally operable to:
If being currently at bright screen state, judge whether the current application foreground interface of the terminal shows battery electric quantity Change icon;
If not showing, battery electric quantity changes icon, the display electricity of end cell according to the actual electricity value calibration Value.
Optionally, the processor 701 is additionally operable to:
Obtain the current value of presently described end cell;
Judge whether the current value is more than predetermined current threshold;
If more than predetermined current threshold, entering and judging whether the current application foreground interface of the terminal shows battery The step of electric quantity change icon.
Optionally, the processor 701 is additionally operable to:
If being currently at bright screen state, judge whether user is currently operating with the terminal;
If user does not operate with the terminal currently, end cell is aobvious according to the actual electricity value calibration Show charge value.
Optionally, the processor 701 is additionally operable to:
Obtain the current value of presently described end cell;
Judge whether the current value is more than predetermined current threshold;
If more than predetermined current threshold, entering and the step of whether user currently operates with the terminal being judged.
Optionally, the processor 701 is additionally operable to:
The electricity of preset percentage is increased or decreased every preset time, until the display charge value is equal to the reality Charge value.
It should be appreciated that in embodiments of the present invention, alleged processor 701 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 702 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 703 can include display (LCD etc.), loudspeaker etc..
The memory 704 can include read-only storage and random access memory, and to processor 701 provide instruction and Data.The a part of of memory 704 can also include nonvolatile RAM.For example, memory 704 can also be deposited Store up the information of device type.
In the specific implementation, processor 701, input equipment 702, the output equipment 703 described in the embodiment of the present invention can The implementation described in embodiment of the method provided in an embodiment of the present invention is performed, also be can perform described by the embodiment of the present invention Terminal implementation, will not be repeated here.
A kind of computer-readable recording medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program is realized when being executed by processor:Method provided in an embodiment of the present invention is real The implementation described in example is applied, the implementation of the terminal described by the embodiment of the present invention can be also realized, no longer gone to live in the household of one's in-laws on getting married herein State.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, foregoing description terminal With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, be will not be repeated here.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in terminal of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
, can be by it in several embodiments provided herein, it should be understood that disclosed terminal and method Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed phase Coupling or direct-coupling or communication connection between mutually can be INDIRECT COUPLING or the communication by some interfaces, device or unit Connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (14)

1. a kind of calibration method for showing charge value, it is characterised in that including:
The actual charge value and display charge value of real-time monitoring terminal battery;
Calculate the difference of the actual charge value and the display charge value;
Judge whether the difference is more than default power threshold;
If more than default power threshold, judging the terminal currently whether in screen state of going out;
If being currently at screen state of going out, the display charge value of end cell according to the actual electricity value calibration.
2. the calibration method of charge value is shown as claimed in claim 1, it is characterised in that if described be more than default electricity threshold Value, then judge whether the terminal currently also includes after screen state of going out:
If being currently at bright screen state, judge whether the current application foreground interface of the terminal shows battery electric quantity change Icon;
If not showing, battery electric quantity changes icon, the display electricity of end cell according to the actual electricity value calibration Value.
3. the calibration method of charge value is shown as claimed in claim 2, it is characterised in that if described be currently at bright screen state Also include afterwards:
Obtain the current value of presently described end cell;
Judge whether the current value is more than predetermined current threshold;
If more than predetermined current threshold, entering and judging whether the current application foreground interface of the terminal shows battery electric quantity Variation diagram target step.
4. the calibration method of charge value is shown as claimed in claim 1, it is characterised in that if described be more than default electricity threshold Value, then judge whether the terminal currently also includes after screen state of going out:
If being currently at bright screen state, judge whether user is currently operating with the terminal;
If user does not operate with the terminal currently, the display electricity of end cell according to the actual electricity value calibration Value.
5. the calibration method of charge value is shown as claimed in claim 4, it is characterised in that if described be currently at bright screen state Also include afterwards:
Obtain the current value of presently described end cell;
Judge whether the current value is more than predetermined current threshold;
If more than predetermined current threshold, entering and the step of whether user currently operates with the terminal being judged.
6. the calibration method of the display charge value as described in any one of Claims 1 to 5, it is characterised in that described in the basis The display charge value of end cell includes described in actual electricity value calibration:
The electricity of preset percentage is increased or decreased every preset time, until the display charge value is equal to the actual electricity Value.
7. a kind of terminal, it is characterised in that including:
Electric quantity monitoring unit, actual charge value and display charge value for real-time monitoring terminal battery;
Computing unit, the difference for calculating the actual charge value and the display charge value;
First judging unit, for judging whether the difference is more than default power threshold;
Second judging unit, if for more than default power threshold, judging the terminal currently whether in screen state of going out;
Alignment unit, if for being currently at screen state of going out, end cell is aobvious according to the actual electricity value calibration Show charge value.
8. terminal as claimed in claim 7, it is characterised in that also include:
Icon detection unit, if for being currently at bright screen state, judge the terminal current application foreground interface whether Show battery electric quantity change icon;
First control unit, if for not showing that battery electric quantity changes icon, controlling the alignment unit according to the reality The display charge value of end cell described in electricity value calibration.
9. terminal as claimed in claim 8, it is characterised in that also include:
Current monitoring unit, the current value for obtaining presently described end cell;
3rd judging unit, for judging whether the current value is more than predetermined current threshold;
Second control unit, if judging the end for more than predetermined current threshold, controlling the icon detection unit to perform Whether the current application foreground interface at end shows the operation of battery electric quantity variation diagram target.
10. terminal as claimed in claim 7, it is characterised in that also include:
User operates detection unit, if for being currently at bright screen state, judging whether user is currently operating with institute State terminal;
3rd control unit, if not operating with the terminal currently for user, controls the alignment unit according to described The display charge value of end cell described in actual electricity value calibration.
11. terminal as claimed in claim 10, it is characterised in that also include:
Current monitoring unit, the current value for obtaining presently described end cell;
3rd judging unit, for judging whether the current value is more than predetermined current threshold;
Second control unit, if judging to use for more than predetermined current threshold, controlling user's operation detection unit to perform Whether family is currently operating with the operation of the terminal.
12. the terminal as described in any one of claim 7~11, it is characterised in that the alignment unit specifically for:
The electricity of preset percentage is increased or decreased every preset time, until the display charge value is equal to the actual electricity Value.
It is the processor, defeated 13. a kind of terminal, it is characterised in that including processor, input equipment, output equipment and memory Enter equipment, output equipment and memory to be connected with each other, wherein, the memory is used to store application code, the processing Device is arranged to call described program code, performs the method as described in claim any one of 1-6.
14. a kind of computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that the method described in any one of 1-6.
CN201710360803.1A 2017-05-19 2017-05-19 A kind of calibration method and terminal for showing charge value Pending CN107290674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710360803.1A CN107290674A (en) 2017-05-19 2017-05-19 A kind of calibration method and terminal for showing charge value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710360803.1A CN107290674A (en) 2017-05-19 2017-05-19 A kind of calibration method and terminal for showing charge value

Publications (1)

Publication Number Publication Date
CN107290674A true CN107290674A (en) 2017-10-24

Family

ID=60094357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710360803.1A Pending CN107290674A (en) 2017-05-19 2017-05-19 A kind of calibration method and terminal for showing charge value

Country Status (1)

Country Link
CN (1) CN107290674A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874107A (en) * 2018-05-31 2018-11-23 北京小米移动软件有限公司 The control method and device of state-of-charge
CN109031130A (en) * 2018-05-31 2018-12-18 轻客智能科技(江苏)有限公司 A kind of electricity calibration method and device
CN109507595A (en) * 2018-12-28 2019-03-22 贵安新区新特电动汽车工业有限公司 Battery SOC dynamic calibration method, device and electronic equipment
CN109901080A (en) * 2019-02-27 2019-06-18 四川领歌智谷科技有限公司 A kind of scaling method and device of cell-phone battery electric-charge quantity display function
CN111007411A (en) * 2019-12-24 2020-04-14 沃太能源南通有限公司 Electric quantity state correction method of energy storage battery system
CN111077453A (en) * 2019-12-16 2020-04-28 湖北德普电气股份有限公司 Battery electric quantity detection system and method
CN112650643A (en) * 2020-12-21 2021-04-13 展讯通信(上海)有限公司 Electric quantity calibration method and device and electronic equipment
CN113791357A (en) * 2021-11-16 2021-12-14 深圳维普创新科技有限公司 Method and related device for intelligently correcting battery display electric quantity
CN113933715A (en) * 2020-07-09 2022-01-14 珠海格力电器股份有限公司 Method, device and equipment for displaying battery electric quantity and storage medium
CN113968140A (en) * 2020-07-24 2022-01-25 比亚迪半导体股份有限公司 Vehicle and method and device for adjusting display electric quantity thereof
CN114047449A (en) * 2021-11-16 2022-02-15 深圳市广和通无线股份有限公司 Battery power display method and device, electronic equipment and storage medium
WO2023109300A1 (en) * 2021-12-17 2023-06-22 深圳市百富智能新技术有限公司 Battery level calibration method, electronic device, and storage medium
CN116298958A (en) * 2023-05-25 2023-06-23 深圳华一精品科技有限公司 Notebook battery electric quantity monitoring method based on calibration of using state

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103033758A (en) * 2012-10-25 2013-04-10 北京君正集成电路股份有限公司 Display electric quantity value calibration method and device
CN103605093A (en) * 2013-11-05 2014-02-26 广东欧珀移动通信有限公司 Calibration method of display electricity value and system thereof
CN103675701A (en) * 2013-11-29 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Battery state-of-charge correction method and device
CN106569132A (en) * 2015-10-13 2017-04-19 中兴通讯股份有限公司 Power display method and apparatus
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103033758A (en) * 2012-10-25 2013-04-10 北京君正集成电路股份有限公司 Display electric quantity value calibration method and device
CN103605093A (en) * 2013-11-05 2014-02-26 广东欧珀移动通信有限公司 Calibration method of display electricity value and system thereof
CN103675701A (en) * 2013-11-29 2014-03-26 宇龙计算机通信科技(深圳)有限公司 Battery state-of-charge correction method and device
CN106569132A (en) * 2015-10-13 2017-04-19 中兴通讯股份有限公司 Power display method and apparatus
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周华英等: "《纯电动汽车结构与原理》", 31 August 2016 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109031130B (en) * 2018-05-31 2021-04-09 轻客小觅机器人科技(成都)有限公司 Electric quantity calibration method and device
CN109031130A (en) * 2018-05-31 2018-12-18 轻客智能科技(江苏)有限公司 A kind of electricity calibration method and device
CN108874107A (en) * 2018-05-31 2018-11-23 北京小米移动软件有限公司 The control method and device of state-of-charge
CN109507595A (en) * 2018-12-28 2019-03-22 贵安新区新特电动汽车工业有限公司 Battery SOC dynamic calibration method, device and electronic equipment
CN109901080A (en) * 2019-02-27 2019-06-18 四川领歌智谷科技有限公司 A kind of scaling method and device of cell-phone battery electric-charge quantity display function
CN111077453A (en) * 2019-12-16 2020-04-28 湖北德普电气股份有限公司 Battery electric quantity detection system and method
CN111007411A (en) * 2019-12-24 2020-04-14 沃太能源南通有限公司 Electric quantity state correction method of energy storage battery system
CN111007411B (en) * 2019-12-24 2022-02-01 沃太能源股份有限公司 Electric quantity state correction method of energy storage battery system
CN113933715B (en) * 2020-07-09 2022-08-16 珠海格力电器股份有限公司 Method, device and equipment for displaying battery electric quantity and storage medium
CN113933715A (en) * 2020-07-09 2022-01-14 珠海格力电器股份有限公司 Method, device and equipment for displaying battery electric quantity and storage medium
CN113968140A (en) * 2020-07-24 2022-01-25 比亚迪半导体股份有限公司 Vehicle and method and device for adjusting display electric quantity thereof
CN113968140B (en) * 2020-07-24 2024-05-10 比亚迪半导体股份有限公司 Vehicle and method and device for adjusting display electric quantity of vehicle
CN112650643A (en) * 2020-12-21 2021-04-13 展讯通信(上海)有限公司 Electric quantity calibration method and device and electronic equipment
CN112650643B (en) * 2020-12-21 2022-11-29 展讯通信(上海)有限公司 Electric quantity calibration method and device and electronic equipment
CN113791357A (en) * 2021-11-16 2021-12-14 深圳维普创新科技有限公司 Method and related device for intelligently correcting battery display electric quantity
CN113791357B (en) * 2021-11-16 2022-03-29 深圳维普创新科技有限公司 Method and related device for intelligently correcting battery display electric quantity
CN114047449A (en) * 2021-11-16 2022-02-15 深圳市广和通无线股份有限公司 Battery power display method and device, electronic equipment and storage medium
WO2023109300A1 (en) * 2021-12-17 2023-06-22 深圳市百富智能新技术有限公司 Battery level calibration method, electronic device, and storage medium
CN116298958A (en) * 2023-05-25 2023-06-23 深圳华一精品科技有限公司 Notebook battery electric quantity monitoring method based on calibration of using state

Similar Documents

Publication Publication Date Title
CN107290674A (en) A kind of calibration method and terminal for showing charge value
CN106951057B (en) Application control method and mobile terminal
CN107608863B (en) Calibration method for electric quantity display and mobile terminal
US9310890B2 (en) Shake-based functions on a computing device
KR20140068257A (en) Display deformation detection
US20150195179A1 (en) Method and system for customizing toolbar buttons based on usage
CN107329647A (en) One kind shows application drawing calibration method and terminal
CN106940652A (en) Method for controlling application program and mobile terminal
CN107168602A (en) One kind control application drawing calibration method and terminal
CN106211292A (en) The air navigation aid of a kind of mobile terminal and mobile terminal
CN106208206B (en) A kind of wireless charging method and mobile terminal
JP2012242860A (en) Touch panel device, display device, touch panel device calibration method, program, and recording medium
CN106294051B (en) A kind of motor detecting method and terminal
CN107479806A (en) The method and terminal of a kind of changing interface
CN107843844A (en) A kind of method, terminal and computer-readable recording medium for calibrating charge value
CN107491300A (en) The reminding method and its terminal of a kind of intelligent function
CN106101450A (en) The compensation method of a kind of ambient light intensity and mobile terminal
CN107920162A (en) Control method, mobile terminal and the computer-readable recording medium of alarm clock
CN107077310A (en) For controlling the casting of electronic device of display and method for controlling display
CN106200976A (en) A kind of motion-activated method and terminal
CN110767946B (en) Method and device for controlling discharging of mobile terminal and mobile terminal
US10628337B2 (en) Communication mode control for wearable devices
CN109213662A (en) A kind of user's touch-control behavioral data collection method and terminal
CN106932729A (en) A kind of battery voltage detection method and terminal
US9274703B2 (en) Method for inputting instruction and portable electronic device and computer readable recording medium

Legal Events

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

Application publication date: 20171024

RJ01 Rejection of invention patent application after publication