CN105259508A - Terminal and method for calculating initial electric energy thereof - Google Patents

Terminal and method for calculating initial electric energy thereof Download PDF

Info

Publication number
CN105259508A
CN105259508A CN201510664752.2A CN201510664752A CN105259508A CN 105259508 A CN105259508 A CN 105259508A CN 201510664752 A CN201510664752 A CN 201510664752A CN 105259508 A CN105259508 A CN 105259508A
Authority
CN
China
Prior art keywords
battery
phase
terminal
current
shut
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
CN201510664752.2A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201510664752.2A priority Critical patent/CN105259508A/en
Publication of CN105259508A publication Critical patent/CN105259508A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for calculating initial electric energy. The method comprises steps of: acquiring and saving the residual electric energy of a battery in the power-off stage of a terminal; when the terminal enters from the power-off stage to a power-on stage, if it is determined that a battery currently supplying power to the terminal is the same as that supplying power in the power-off stage, using the residual electric energy as the initial electric energy in the power-on stage; and if the battery currently supplying power to the terminal is not the same as that supplying power in the power-off stage, acquiring the current open-circuit voltage of a battery in the power-on stage and querying a preset mapping relation between open-circuit voltage with different values and the initial electric energy in order to obtain the initial electric energy corresponding to the current open-circuit voltage. The invention also provides a terminal based on the method. The method may solve a problem that the battery is inaccurate in initialization after being uninstalled.

Description

A kind of terminal and calculate the method for its initial quantity of electricity
Technical field
The present invention relates to field of terminal technology, be specifically related to the charging technique field of electronic product, particularly a kind of terminal and calculate the method for its initial quantity of electricity.
Background technology
Current, the terminal based on intelligent operating system has that screen is large, dominant frequency is high, run the features such as fast, and its power consumption is increasing, causes battery plug number of operations more and more frequent.Battery experience electric discharge in plug operation-stop discharging-discharging this relaxation process, the electricity detected after causing changing battery is virtual height, the accuracy of the electricity shown by impact.Further, in the shut-down-phase of plug operation, the current dump energy being preserved battery by RTC (RealTimeClock, real-time clock), but the stopping of battery electric discharge makes RTC power down, very easily causes battery electric quantity saltus step.In addition, the battery electric quantity that RTC preserves has memory timeliness, and the battery electric quantity that namely RTC preserves after exceeding the schedule time can be lost, and also can affect the accuracy of shown electricity.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of terminal and calculates the method for its initial quantity of electricity, to improve the accuracy of terminal initial quantity of electricity shown after battery plug operation.
A kind of method calculating initial quantity of electricity that the embodiment of the present invention provides, comprising: obtain terminal its battery of shut-down-phase dump energy and preserve; When terminal enters start-up phase by shut-down-phase, judge whether the battery of current battery of powering for terminal and shut-down-phase is same; If so, then using the initial quantity of electricity of dump energy as start-up phase; If not, then obtaining in start-up phase is the current open circuit voltage of the battery that terminal is powered, and the inquiry open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, obtain the initial quantity of electricity that current open circuit voltage is corresponding.
Wherein, described acquisition is that the step of the current open circuit voltage of the battery that terminal is powered comprises in start-up phase: be retrieved as battery that terminal the powers present load voltage and current in the bootload stage of start-up phase, and the described bootload stage is the hardware initialization of terminal but does not open and be the stage that operating system prepares running environment; The inquiry load voltage of different values built-in in advance and the mapping relations of internal resistance, obtain the internal resistance that present load voltage is corresponding, be added namely obtain current open circuit voltage after internal resistance being multiplied with electric current with present load voltage.
Wherein, whether the described battery judging current battery of powering for terminal and shut-down-phase is that same step comprises: obtaining in start-up phase is the current open circuit voltage of the battery that terminal is powered, and by current open circuit voltage compared with dump energy; When current open circuit voltage is identical with dump energy, judge that the battery of current battery of powering as terminal and shut-down-phase is as same; When current open circuit voltage and dump energy are not identical, judge that the battery of current battery of powering as terminal and shut-down-phase is not same.
Wherein, whether the described battery judging current battery of powering for terminal and shut-down-phase is that same step comprises: obtaining in start-up phase is the current open circuit voltage of the battery that terminal is powered, and by the difference of current open circuit voltage and dump energy compared with predetermined threshold value; When difference is less than or equal to predetermined threshold value, judge that the battery of current battery of powering as terminal and shut-down-phase is as same; When difference is greater than described predetermined threshold value, judge that the battery of current battery of powering as terminal and shut-down-phase is not same.
Wherein, described acquisition terminal also comprises after the step that the dump energy of its battery of shut-down-phase is also preserved: judge whether terminal has carried out battery plug operation; If judge, terminal has carried out battery plug operation, then perform described when terminal enters start-up phase by shut-down-phase, judges whether the battery of current battery of powering for terminal and shut-down-phase is same step; If judge, terminal does not carry out battery plug operation, then using the initial quantity of electricity of dump energy as start-up phase.
A kind of terminal that the embodiment of the present invention provides, comprising: the first acquisition module, for obtaining the dump energy of terminal at its battery of shut-down-phase; Memory module, for preserving dump energy; Processing module, for when terminal enters start-up phase by shut-down-phase, judges whether the battery of current battery of powering for terminal and shut-down-phase is same; If so, then using the initial quantity of electricity of dump energy as start-up phase; Second acquisition module, during for judging that in processing module the battery of current battery of powering as terminal and shut-down-phase is not same, obtaining in start-up phase is the current open circuit voltage of the battery that terminal is powered; Processing module is further used for inquiring about the open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, and obtain the initial quantity of electricity that current open circuit voltage is corresponding, mapping relations are pre-stored within memory module.
Wherein, described second acquisition module is for the battery that is retrieved as terminal and the powers present load voltage and current in the bootload stage of start-up phase, the described bootload stage is the hardware initialization of terminal but does not open and be that operating system prepares stage of running environment, and the inquiry load voltage of different values built-in in advance and the mapping relations of internal resistance, obtain the internal resistance that present load voltage is corresponding, be added with present load voltage after further internal resistance being multiplied with electric current and namely obtain current open circuit voltage, the described load voltage of different values built-in in advance and the mapping relations of internal resistance are pre-stored within described memory module.
Wherein, processing module is used for current open circuit voltage compared with dump energy, when current open circuit voltage is identical with dump energy, judge that the battery of current battery of powering as terminal and shut-down-phase is as same, and when current open circuit voltage and dump energy are not identical, judge that the battery of current battery of powering as terminal and shut-down-phase is not same.
Wherein, processing module is used for the difference of current open circuit voltage and dump energy compared with predetermined threshold value, when described difference is less than or equal to predetermined threshold value, judge that the battery of current battery of powering as terminal and shut-down-phase is as same, and when described difference is greater than predetermined threshold value, judge that the battery of current battery of powering as terminal and shut-down-phase is not same.
Wherein, processing module, also for judging whether terminal has carried out battery plug operation, and when judging to have carried out battery plug operation, judges whether the battery of current battery of powering for terminal and shut-down-phase is same; When judging not carry out described battery plug operation, using the initial quantity of electricity of dump energy as start-up phase.
The terminal of the embodiment of the present invention and calculate the method for its initial quantity of electricity, whether the battery according to battery plug operation front and back is the same initial quantity of electricity obtaining current supplying cell, avoid the battery electric quantity saltus step because RTC power down causes and because of problems such as the battery electric quantity loss that causes of memory timeliness, improve the accuracy of terminal initial quantity of electricity shown after battery plug operation.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of method one embodiment of calculating initial quantity of electricity of the present invention;
Fig. 2 is the schematic flow sheet of another embodiment of method of calculating initial quantity of electricity of the present invention;
Fig. 3 is the principle frame schematic diagram of terminal one embodiment of the present invention;
Fig. 4 is the hardware configuration schematic diagram of terminal one embodiment of the present invention.
Embodiment
The embodiment of the present invention provides the method for the calculating initial quantity of electricity shown in a kind of Fig. 1, with the initial quantity of electricity that accurate display terminal is shown after battery plug operation, so-called initial quantity of electricity (initialization also known as initialization electricity, electricity) refers to terminal and obtains and the battery electric quantity shown in start-up phase, the dump energy of the percents of such as terminal screen upper right side display.Described method is applicable to smart mobile phone, PDA (PersonalDigitalAssistant, personal digital assistant or panel computer), the battery powered terminal of any needs such as portable communication appts, Intelligent bracelet can also be applicable to, the Wearable be embedded in the clothing component such as clothes, jewellery.
As shown in Figure 1, the method for described calculating initial quantity of electricity comprises:
Step 11: obtain terminal its battery of shut-down-phase dump energy and preserve.
For the mobile phone of MTK platform, the dump energy of battery is obtained by the charging thread of terminal.The charging that charging thread primary responsibility controls battery and the process of powering for terminal, and whether the thread that charges needs the power supply environment judging battery abnormal after unlatching, described power supply environment comprises at least one in the Current Temperatures of battery, open-circuit voltage and battery ID (Identity, identification code).If power supply environmental abnormality, then stop power supply; If power supply environment is normal, then start power supply.
Current charging thread calculates the dump energy of one-shot battery in (such as 10 seconds) every predetermined period, the dump energy preserved is needed to be multiple (value is close, identical or different), this obviously can increase the burden of the operating system of terminal undoubtedly, therefore the embodiment of the present invention only preserves the dump energy of the battery of shut-down-phase, to reduce the burden of operating system.
The dump energy of described battery can the open-circuit voltage of reference battery under open-circuit condition (OpenCircuitVoltage is called for short OCV) be index.In the process of operating system, there is internal resistance in the device run due to terminal, and the open-circuit voltage of battery is difficult to Obtaining Accurate.Consider in shut-down-phase, LCD (the LiquidCrystalDisplay of terminal, liquid crystal display) etc. the larger device of power consumption closed, therefore the embodiment of the present invention chooses the open-circuit voltage of the battery of shut-down-phase, can improve the accuracy of described residual capacity measurement further.
In addition, being different from prior art is stored in RTC by the dump energy of battery, battery is stored in the flash memory (FlashMemory) of terminal at the dump energy of shut-down-phase by the embodiment of the present invention, this is a kind of nonvolatile memory based on flash memory, though battery pulled out or stop for terminal power after the data (dump energy) be stored in wherein also can not lose.
Step 12: when terminal enters start-up phase by shut-down-phase, judges whether the battery of current battery of powering for terminal and shut-down-phase is same.
Namely judge whether the battery of start-up phase and the battery of shut-down-phase are same.If same, then perform step 13; If not same, then perform step 14.
Step 13: using the initial quantity of electricity of described dump energy as start-up phase;
Step 14: obtaining in start-up phase is the current open circuit voltage of the battery that terminal is powered, and the inquiry open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, obtain the initial quantity of electricity that described current open circuit voltage is corresponding.
The open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity are stored in the internal memory of terminal in table form or preserve in the flash memory of dump energy of battery.
Although the terminal of some type operation system current can read the open-circuit voltage of battery in start-up phase, there is misreading of certain probability.In order to avoid this problem, the embodiment of the present invention can at the current open circuit voltage of bootload stage acquisition battery, the described bootload stage is the hardware initialization of terminal but does not open and be that operating system prepares stage of running environment, be equivalent to the battery-operated stage in LK (LittleKernel, high-pass platform) stage.The device that the now power consumption such as LCD is larger is not also opened, and whole circuit internal resistance is less, and open-circuit voltage can Obtaining Accurate.
The mode obtaining described current open circuit voltage includes but not limited to: be retrieved as battery that terminal the powers present load voltage and current in the bootload stage of start-up phase; The inquiry load voltage of different values built-in in advance and the mapping relations of internal resistance, obtain the internal resistance that present load voltage is corresponding, obtain the current in-fighting voltage of battery after internal resistance being multiplied with electric current, current in-fighting voltage is added with present load voltage and namely obtains current open circuit voltage.
From the above, the embodiment of the present invention is according to being whether the same initial quantity of electricity obtaining current battery of powering for terminal by shutdown to the battery of start, avoid battery electric quantity saltus step because RTC power down causes and remember the problems such as the battery electric quantity loss that timeliness causes because of RTC, thus the accuracy of the terminal initial quantity of electricity shown when starting shooting can be improved.
The core of said method is whether the battery of shut-down-phase (for terminal is powered) and the battery of start-up phase (for terminal is powered) are same.This implementation procedure can be:
Obtain the current open circuit voltage of the battery of start-up phase, and by this current open circuit voltage compared with the dump energy be stored in flash memory.When current open circuit voltage is identical with dump energy, judge that the battery of start-up phase and the battery of shut-down-phase are same; When current open circuit voltage and dump energy are not identical, judge that the battery of start-up phase and the battery of shut-down-phase are not same.
Consider error, this implementation procedure can be understood as:
Obtain the current open circuit voltage of battery of start-up phase, and by the difference of current open circuit voltage and described dump energy compared with predetermined threshold value.When difference is between less than or equal to predetermined threshold value (namely described difference is positioned at permissible error scope), judge that the battery of start-up phase and the battery of shut-down-phase are as same; When difference is between greater than predetermined threshold value, judge that the battery of start-up phase and the battery of shut-down-phase are not same.
On aforementioned base, be the application scenarios just having been entered start-up phase owing to having carried out battery plug operation by shut-down-phase for terminal, the embodiment of the present invention provides method as shown in Figure 2:
Step 21: obtain terminal its battery of shut-down-phase dump energy and preserve.
Step 22: judge whether terminal has carried out battery plug operation.
If judge, terminal has carried out battery plug operation, then perform step 23; If judge, terminal does not carry out battery plug operation, then perform step 24.
Step 23: when terminal enters start-up phase by shut-down-phase, judges whether the battery of current battery of powering for terminal and shut-down-phase is same.
If same, then perform step 24; If not same, then perform step 25.
Step 24: using the initial quantity of electricity of described dump energy as start-up phase.
Step 25: obtaining in start-up phase is the current open circuit voltage of the battery that terminal is powered, and the inquiry open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, obtain the initial quantity of electricity that described current open circuit voltage is corresponding.
The embodiment of the present invention also provides the terminal 30 with battery as shown in Figure 3, comprising:
First acquisition module 31, for obtaining the dump energy at shut-down-phase battery 311.
Memory module 32, for preserving the dump energy of battery 311.
Processing module 33, for when terminal 30 enters start-up phase by shut-down-phase, judges whether the current battery 312 for terminal 30 power supply is same with the battery 311 of shut-down-phase.If so, the dump energy then memory module 32 preserved is as the initial quantity of electricity of start-up phase.
When the battery that processing module 33 judges current battery of powering as terminal and shut-down-phase is not same, the second acquisition module 34 is the current open circuit voltage of the battery 312 that terminal 30 is powered for obtaining in start-up phase.Preferably, second acquisition module 34 is retrieved as the present load voltage and current of battery 312 in the bootload stage of start-up phase of terminal 30 power supply, the described bootload stage is the hardware initialization of terminal but does not open and be that operating system prepares stage of running environment, and the inquiry load voltage of different values built-in in advance and the mapping relations of internal resistance, obtain the internal resistance that present load voltage is corresponding, be added with present load voltage after further internal resistance being multiplied with electric current and namely obtain current open circuit voltage, the described load voltage of different values built-in in advance and the mapping relations of internal resistance are pre-stored within described memory module 32.
Processing module 33 is further used for inquiring about the open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, thus obtains initial quantity of electricity corresponding to current open circuit voltage, and described mapping relations also can be pre-stored within memory module 32.
The memory module 32 of the embodiment of the present invention can be the flash memory of terminal 30, this is a kind of nonvolatile memory based on flash memory, though battery 311 pulled out or stop for terminal 30 power after the data (dump energy) be stored in wherein also can not lose.
Processing module 33 judges whether the battery 312 of the battery 311 of shut-down-phase and start-up phase is same process and can is: processing module 33 by current open circuit voltage compared with dump energy.When current open circuit voltage is identical with dump energy, judge that the battery 312 of start-up phase is same with the battery 311 of shut-down-phase; When current open circuit voltage and dump energy are not identical, judge that the battery 312 of start-up phase is not same with the battery 311 of shut-down-phase.
Consider error, this implementation procedure can be understood as: processing module 33 for by the difference of current open circuit voltage and dump energy compared with predetermined threshold value.When described difference is less than or equal to predetermined threshold value, judge that the battery 312 of start-up phase is same with the battery 311 of shut-down-phase; When described difference is greater than predetermined threshold value, judge that the battery 312 of start-up phase is not same with the battery 311 of shut-down-phase.
On aforementioned base, are the application scenarioss just having been entered start-up phase owing to having carried out battery plug operation by shut-down-phase for terminal 30, the processing module 33 of the embodiment of the present invention is also for judging whether terminal 30 has carried out battery plug operation.When judging to have carried out battery plug operation, judge whether the current battery 312 for terminal 30 power supply is same with the battery 311 of shut-down-phase; When judging not carry out described battery plug operation, dump energy memory module 32 preserved is as the initial quantity of electricity of the battery 312 of start-up phase.
The above-mentioned module correspondence of the terminal 30 of the embodiment of the present invention performs the method for the calculating initial quantity of electricity of each embodiment above-mentioned, has the technique effect identical with it.
Should be understood that, the embodiment of above-mentioned terminal 30 is only schematic, the division of module, be only a kind of logic function to divide, actual can have other dividing mode when realizing, and such as two modules can be integrated in another system, or some features can be ignored, or do not perform.In addition, module connection each other can pass through some interfaces, also can be electrical or other form.Above-mentioned module, as the ingredient of terminal 30, can be may not be physical frame, both can be positioned at a place, also can be distributed in multiple network element, the form of software function frame both can be adopted to realize, the form of hardware also can be adopted to realize.
Such as shown in Fig. 4, the terminal 30 that the embodiment of the present invention provides comprises at least one processor (such as CPU), at least one network interface or other communication interfaces, storer and at least one communication bus, for realizing the connection communication between these equipment.Processor is used for the executable module stored in execute store, such as computer program.Storer may comprise high-speed random access memory (RAM:RandomAccessMemory), still may comprise non-labile storer (non-volatilememory), such as at least one magnetic disk memory.Realize the communication connection between this terminal 30 and at least one other equipment by least one network interface, internet, wide area network, local network, Metropolitan Area Network (MAN) etc. can be used.Programmed instruction is stored in described storer, programmed instruction can be executed by processor, wherein, programmed instruction can comprise the modules of the terminal 30 pointed out in the above embodiment of the present invention, the concrete implementation of modules see the corresponding contents in the above embodiment of the present invention, can repeat no more herein.
In addition, if the above-mentioned functions of the embodiment of the present invention using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium, namely, the embodiment of the present invention can embody with the form of software product, it comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
Again illustrate; the foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; such as the be combineding with each other of technical characteristic between each embodiment; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. calculate a method for initial quantity of electricity, it is characterized in that, described method comprises:
Obtain terminal its battery of shut-down-phase dump energy and preserve;
When described terminal enters start-up phase by described shut-down-phase, judge whether the battery of current battery of powering for described terminal and described shut-down-phase is same;
If so, then using the initial quantity of electricity of described dump energy as described start-up phase;
If not, then obtaining in described start-up phase is the current open circuit voltage of the battery that described terminal is powered, and the inquiry open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, obtain the initial quantity of electricity that described current open circuit voltage is corresponding.
2. method according to claim 1, is characterized in that, described acquisition is that the step of the current open circuit voltage of the battery that described terminal is powered comprises in described start-up phase:
Be retrieved as battery that described terminal the powers present load voltage and current in the bootload stage of described start-up phase, the wherein said bootload stage is the hardware initialization of described terminal but does not open and be the stage that operating system prepares running environment;
The inquiry load voltage of different values built-in in advance and the mapping relations of internal resistance, obtain the internal resistance that described present load voltage is corresponding, be added namely obtain described current open circuit voltage after described internal resistance being multiplied with described electric current with described present load voltage.
3. method according to claim 1, is characterized in that, whether the described battery judging current battery of powering for described terminal and described shut-down-phase is that same step comprises:
Acquisition is the current open circuit voltage of the battery that described terminal is powered in described start-up phase, and by described current open circuit voltage compared with described dump energy;
When described current open circuit voltage is identical with described dump energy, judge that the battery of current battery of powering as described terminal and described shut-down-phase is as same;
When described current open circuit voltage and described dump energy are not identical, judge that the battery of current battery of powering as described terminal and described shut-down-phase is not same.
4. method according to claim 1, is characterized in that, whether the described battery judging current battery of powering for described terminal and described shut-down-phase is that same step comprises:
Obtaining is the current open circuit voltage of the battery that described terminal is powered in described start-up phase, and by the difference of described current open circuit voltage and described dump energy compared with predetermined threshold value;
When described difference is less than or equal to described predetermined threshold value, judge that the battery of current battery of powering as described terminal and described shut-down-phase is as same;
When described difference is greater than described predetermined threshold value, judge that the battery of current battery of powering as described terminal and described shut-down-phase is not same.
5. the method according to claim 1-4 any one, is characterized in that, described acquisition terminal also comprises after the step that the dump energy of its battery of shut-down-phase is also preserved:
Judge whether described terminal has carried out battery plug operation;
If judge, described terminal has carried out described battery plug operation, then perform described when described terminal enters start-up phase by described shut-down-phase, judges whether the battery of current battery of powering for described terminal and described shut-down-phase is same step;
If judge, described terminal does not carry out described battery plug operation, then using the initial quantity of electricity of described dump energy as described start-up phase.
6. a terminal, is characterized in that, described terminal comprises:
First acquisition module, for obtaining the dump energy of terminal at its battery of shut-down-phase;
Memory module, for preserving described dump energy;
Processing module, for when described terminal enters start-up phase by described shut-down-phase, judges whether the battery of current battery of powering for described terminal and described shut-down-phase is same;
If so, then using the initial quantity of electricity of described dump energy as described start-up phase;
Second acquisition module, during for judging that in described processing module the battery of current battery of powering as described terminal and described shut-down-phase is not same, obtaining in described start-up phase is the current open circuit voltage of the battery that described terminal is powered;
Described processing module is further used for inquiring about the open-circuit voltage of different values built-in in advance and the mapping relations of initial quantity of electricity, obtains the initial quantity of electricity that described current open circuit voltage is corresponding, and described mapping relations are pre-stored within described memory module.
7. terminal according to claim 6, it is characterized in that, described second acquisition module is for the battery that is retrieved as described terminal and the powers present load voltage and current in the bootload stage of described start-up phase, the wherein said bootload stage is the hardware initialization of described terminal but does not open and be that operating system prepares stage of running environment, and the inquiry load voltage of different values built-in in advance and the mapping relations of internal resistance, obtain the internal resistance that described present load voltage is corresponding, be added with described present load voltage after further described internal resistance being multiplied with described electric current and namely obtain described current open circuit voltage, the wherein said load voltage of different values built-in in advance and the mapping relations of internal resistance are pre-stored within described memory module.
8. terminal according to claim 6, it is characterized in that, described processing module is used for described current open circuit voltage compared with described dump energy, when described current open circuit voltage is identical with described dump energy, judge that the battery of current battery of powering as described terminal and described shut-down-phase is as same, and when described current open circuit voltage and described dump energy are not identical, judge that the battery of current battery of powering as described terminal and described shut-down-phase is not same.
9. terminal according to claim 6, it is characterized in that, described processing module is used for the difference of described current open circuit voltage and described dump energy compared with predetermined threshold value, when described difference is less than or equal to described predetermined threshold value, judge that the battery of current battery of powering as described terminal and described shut-down-phase is as same, and when described difference is greater than described predetermined threshold value, judge that the battery of current battery of powering as described terminal and described shut-down-phase is not same.
10. the terminal according to claim 6-9 any one, it is characterized in that, described processing module is also for judging whether described terminal has carried out battery plug operation, and when judging to have carried out described battery plug operation, judge whether the battery of current battery of powering for described terminal and described shut-down-phase is same; When judging not carry out described battery plug operation, then using the initial quantity of electricity of described dump energy as described start-up phase.
CN201510664752.2A 2015-10-14 2015-10-14 Terminal and method for calculating initial electric energy thereof Pending CN105259508A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510664752.2A CN105259508A (en) 2015-10-14 2015-10-14 Terminal and method for calculating initial electric energy thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510664752.2A CN105259508A (en) 2015-10-14 2015-10-14 Terminal and method for calculating initial electric energy thereof

Publications (1)

Publication Number Publication Date
CN105259508A true CN105259508A (en) 2016-01-20

Family

ID=55099271

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510664752.2A Pending CN105259508A (en) 2015-10-14 2015-10-14 Terminal and method for calculating initial electric energy thereof

Country Status (1)

Country Link
CN (1) CN105259508A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105845998A (en) * 2016-05-03 2016-08-10 珠海市魅族科技有限公司 Display method of charged state and terminal
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device
CN107037369A (en) * 2016-02-04 2017-08-11 联发科技股份有限公司 The method and electric power controller of the electricity percentage of accurate estimation battery
CN107295175A (en) * 2017-06-23 2017-10-24 广东欧珀移动通信有限公司 A kind of display control method, device, storage medium and the mobile terminal of mobile terminal electricity
CN107561446A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 A kind of terminal battery electricity quantity computational methods and device
CN108344952A (en) * 2018-02-26 2018-07-31 深圳市道通智能航空技术有限公司 Battery power amount calculation method and its device
US10942221B2 (en) 2016-02-04 2021-03-09 Mediatek Inc. Method and apparatus capable of accurately estimating/determining power percentage of battery based on confidence levels determined from resultant information of multiple different fuel gauge operations and/or information of battery history, aging factor, sleep time, or battery temperature
CN114236461A (en) * 2021-12-17 2022-03-25 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008667A (en) * 2006-01-23 2007-08-01 美国凹凸微系有限公司 Method and system for measuring remaining capacity of a battery with open circuit voltage detection
CN101320079A (en) * 2008-06-25 2008-12-10 哈尔滨工业大学 Computing method for battery electric quantity state
CN102137536A (en) * 2011-03-28 2011-07-27 天津英诺华微电子技术有限公司 Adaptive control method for brightness of street lamp using solar energy for power supply
CN102567178A (en) * 2010-12-20 2012-07-11 联想(北京)有限公司 Electronic device and method for informing remaining electricity and starting method thereof
CN102590756A (en) * 2012-02-14 2012-07-18 深圳市沛城电子科技有限公司 Method and device for battery capacity detection
CN103472400A (en) * 2013-09-06 2013-12-25 广东欧珀移动通信有限公司 Acquiring method and system for battery life of mobile terminal
CN103761179A (en) * 2014-01-28 2014-04-30 广东欧珀移动通信有限公司 Method and system for displaying electric quantity left after terminal restart
CN104880673A (en) * 2015-05-11 2015-09-02 深圳天珑无线科技有限公司 Method for measuring battery electric quantity and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101008667A (en) * 2006-01-23 2007-08-01 美国凹凸微系有限公司 Method and system for measuring remaining capacity of a battery with open circuit voltage detection
CN101320079A (en) * 2008-06-25 2008-12-10 哈尔滨工业大学 Computing method for battery electric quantity state
CN102567178A (en) * 2010-12-20 2012-07-11 联想(北京)有限公司 Electronic device and method for informing remaining electricity and starting method thereof
CN102137536A (en) * 2011-03-28 2011-07-27 天津英诺华微电子技术有限公司 Adaptive control method for brightness of street lamp using solar energy for power supply
CN102590756A (en) * 2012-02-14 2012-07-18 深圳市沛城电子科技有限公司 Method and device for battery capacity detection
CN103472400A (en) * 2013-09-06 2013-12-25 广东欧珀移动通信有限公司 Acquiring method and system for battery life of mobile terminal
CN103761179A (en) * 2014-01-28 2014-04-30 广东欧珀移动通信有限公司 Method and system for displaying electric quantity left after terminal restart
CN104880673A (en) * 2015-05-11 2015-09-02 深圳天珑无线科技有限公司 Method for measuring battery electric quantity and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037369A (en) * 2016-02-04 2017-08-11 联发科技股份有限公司 The method and electric power controller of the electricity percentage of accurate estimation battery
US10942221B2 (en) 2016-02-04 2021-03-09 Mediatek Inc. Method and apparatus capable of accurately estimating/determining power percentage of battery based on confidence levels determined from resultant information of multiple different fuel gauge operations and/or information of battery history, aging factor, sleep time, or battery temperature
CN105845998A (en) * 2016-05-03 2016-08-10 珠海市魅族科技有限公司 Display method of charged state and terminal
CN107561446A (en) * 2016-07-01 2018-01-09 中兴通讯股份有限公司 A kind of terminal battery electricity quantity computational methods and device
CN106680728A (en) * 2016-12-30 2017-05-17 深圳天珑无线科技有限公司 Electricity quantity detecting method and device
CN107295175A (en) * 2017-06-23 2017-10-24 广东欧珀移动通信有限公司 A kind of display control method, device, storage medium and the mobile terminal of mobile terminal electricity
CN108344952A (en) * 2018-02-26 2018-07-31 深圳市道通智能航空技术有限公司 Battery power amount calculation method and its device
CN114236461A (en) * 2021-12-17 2022-03-25 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium
CN114236461B (en) * 2021-12-17 2023-11-21 深圳市百富智能新技术有限公司 Electric quantity calibration method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105259508A (en) Terminal and method for calculating initial electric energy thereof
US20200169102A1 (en) Adaptive battery charging
US9423852B2 (en) Selecting a startup condition of an electronic device corresponding to available power
CN106772091B (en) Method and device for updating battery capacity value and terminal
US9411398B2 (en) Electronic device and method to extend battery life
Li et al. Measurement and analysis of energy consumption on Android smartphones
CN104007806A (en) Method and device for controlling CPU frequency in Android system and equipment
CN103761179B (en) Method and system for displaying electric quantity left after terminal restart
CN105279426B (en) Configure the electronic equipment and its correlation technique of application program inter-related task
CN106093780A (en) A kind of terminal residual electricity determines method and terminal
CN112858938B (en) Electric quantity calculation method and device, storage medium and electronic equipment
CN104519190A (en) Mobile apparatus low-electric-quantity power-on control method and system
Banerjee et al. Future of mobile software for smartphones and drones: Energy and performance
CN110416643A (en) A kind of processing method, device and electronic equipment
CN108919132B (en) Method and device for tracking overdischarge of battery, chip, battery and aircraft
CN105554212A (en) Electric leakage detection method of mobile terminal and mobile terminal of electric leakage detection method
CN111665443A (en) Fitting method and device of battery performance formula, storage medium and computer equipment
CN112924875B (en) Battery detection method and device and electronic equipment
CN112303811B (en) Processing method, device and system for air conditioner operation data, air conditioner and storage medium
CN107613546A (en) BLE chips and its in specify element control method, Bluetooth Low Energy equipment
Becker et al. Software based estimation of software induced energy dissipation with powerstat
CN105094266A (en) Battery protection system and battery protection method
CN113742141B (en) Server measuring method and device, computer equipment and storage medium
CN105068872B (en) The control method and system of arithmetic element
JP2019079580A (en) Electronic apparatus, calculation method and program

Legal Events

Date Code Title Description
C06 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: 20160120

RJ01 Rejection of invention patent application after publication