CN101860060B - Method and device for indicating electric quantity of rechargeable battery - Google Patents
Method and device for indicating electric quantity of rechargeable battery Download PDFInfo
- Publication number
- CN101860060B CN101860060B CN201010187871.0A CN201010187871A CN101860060B CN 101860060 B CN101860060 B CN 101860060B CN 201010187871 A CN201010187871 A CN 201010187871A CN 101860060 B CN101860060 B CN 101860060B
- Authority
- CN
- China
- Prior art keywords
- electric quantity
- value
- rechargeable battery
- current
- current electric
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Secondary Cells (AREA)
Abstract
The invention relates to the field of rechargeable battery electric quantity display, in particular to a method and a device for indicating electric quantity of a rechargeable battery. The method comprises: setting electric quantity indicating modes for the rechargeable battery according to the charging state and standby state of a terminal; and selecting a corresponding electric quantity indicating mode according to the value of a current switching variable and updating the indicated value of the current electric quantity of the rechargeable battery according to the current electric quantity mode. In the invention, according to current state (the charging or standby state) of the terminal, the two electric quantity indicating modes are switched, so the problem of electric quantity indication of virtual height which occurs when an adaptor is turned off in a charging process of the rechargeable battery and the user satisfaction is improved.
Description
Technical field
The present invention relates to electric quantity of rechargeable battery and show field, relate in particular to a kind of method and device of indicating electric quantity of rechargeable battery.
Background technology
Along with scientific and technical progress, the raising of people's environmental consciousness and the minimizing of natural resources, how the clean green energy resource of exploitation, research store the energy the effective use energy, are just becoming the upper important problem in the world today.As the rechargeable battery of green energy resource such as nickel-hydrogen chargeable cell, due to its high-energy-density, high-power, fail safe good, the composite characteristic such as pollution-free, is more and more applied to the aspects such as mobile data terminal, communication Instrument and digital product.
At present, the method of electric quantity of rechargeable battery instruction generally adopts: the voltage that detects rechargeable battery, non-cutting time, voltage is converted into electric weight by the condition such as electric current, drawn the battery capacity indication lattice number of rechargeable battery by electric weight, or directly draw two kinds of modes of battery capacity indication lattice number of rechargeable battery by the voltage of rechargeable battery.Above two kinds of methods are all to carry out indicating electric quantity of rechargeable battery by detecting charged battery voltage in essence.
Because rechargeable battery is being zero or electric weight is lower while starting to charge from electric weight, rechargeable battery charging voltage raises very fast, and is only difficult to the current actual electric weight of correct instruction rechargeable battery by the electric weight of voltage conversion rechargeable battery.Fig. 1 is the charge graph that certain mobile phone uses the empty rechargeable battery of nickel-hydrogen chargeable cell, and Fig. 2 is the standby discharge curve after this nickel-hydrogen chargeable cell electric weight is full of.Can obviously find out from Fig. 1: when electric quantity of rechargeable battery is lower, voltage raises very soon, and voltage just rises to 4.15V left and right in short 10 minutes, and rechargeable battery actual charge capacity now at most only takes 20% of electric weight.And as can be seen from Figure 2: in the time that voltage is 4.15V left and right, it is more than 90% that electric quantity of rechargeable battery is Full Charge Capacity.So only rely on the voltage of rechargeable battery to show that the electric weight of rechargeable battery is difficult to indicate accurately the electric weight of rechargeable battery.
This shows, when rechargeable battery of the prior art charges such as nickel-hydrogen chargeable cell, do not consider that in charging process, empty film rings, can not solve the problem of rechargeable battery charge capacity instruction virtual height, cause in charging process battery capacity indication inaccurate, not only affect user's use and cause inconvenience to the user, also can reduce user's satisfaction simultaneously.
Summary of the invention
Main purpose of the present invention is to provide a kind of method and device of indicating electric quantity of rechargeable battery, solve electric quantity of rechargeable battery when lower charging voltage raise very soon, pull up the problem of the obvious virtual height of adapter battery capacity indication, to indicate accurately the electric weight of rechargeable battery.
The method of a kind of indicating electric quantity of rechargeable battery that the present invention proposes, comprises the following steps:
The battery capacity indication pattern of rechargeable battery under terminal charge and standby two states is set respectively;
Select corresponding battery capacity indication pattern according to current switching variate-value, and upgrade rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type.
Preferably, two kinds of battery capacity indication patterns are: adopt respectively rechargeable battery to carry out battery capacity indication at the terminal charge battery capacity indication table corresponding with battery capacity indication value with different stage magnitude of voltage under standby two states.
Preferably, describedly select corresponding battery capacity indication pattern specifically to comprise according to current switching variate-value:
Judge that current switching variate-value is the first predetermined value or the second predetermined value; When current switching variate-value is the first predetermined value, select waiting electric quantity pointing-type; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.
Preferably, describedly judge that current switching variate-value is that the step of the first predetermined value or the second predetermined value specifically comprises:
Judge that terminal is charged state or holding state;
In the time that the rechargeable battery charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging, current switching variate-value is the first predetermined value;
When in the time that rechargeable battery charging starts, starting voltage value is less than the full lattice minimum voltage value of waiting electric quantity instruction form, current switching variate-value is the second predetermined value.
Preferably, describedly upgrade rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type and specifically comprise:
Regularly detect rechargeable battery current voltage value;
Judge whether rechargeable battery current voltage value is less than minimum voltage value or the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type;
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, the constant or battery capacity indication value of current electric quantity indicated value adds one, the battery capacity indication value of instruction current electric quantity indicated value or next stage.
Preferably, described in the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, and the step of the battery capacity indication value of instruction upper level specifically comprises:
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value.
Preferably, it is described in the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, constant or the battery capacity indication value of battery capacity indication value adds one, and the step of the battery capacity indication value of instruction current electric quantity indicated value or next stage specifically comprises:
Judge whether current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type;
In the time that rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value;
In the time that rechargeable battery current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, battery capacity indication value adds one, the battery capacity indication value of instruction next stage.
The present invention proposes a kind of device of indicating electric quantity of rechargeable battery, comprising:
Module is set, for the battery capacity indication pattern of rechargeable battery under terminal charge and standby two states is set respectively;
Central processing module, for selecting corresponding battery capacity indication pattern according to current switching variate-value, and upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type.
Preferably, described central processing module comprises:
Decision operation unit, for judging that current switching variate-value is the first predetermined value or the second predetermined value;
Selected cell, while being the first predetermined value, selects waiting electric quantity pointing-type for current switching variate-value; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.
Preferably, described decision operation unit comprises:
Judgment sub-unit, for judging that terminal is charged state or holding state; In the time that the rechargeable battery charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging, current switching variate-value is the first predetermined value;
When in the time that rechargeable battery charging starts, starting voltage value is less than the full lattice minimum voltage value of waiting electric quantity instruction form, current switching variate-value is the second predetermined value.
Preferably, described decision operation unit also comprises:
Detection sub-unit, for starting charging and magnitude of voltage when rechargeable battery while being less than minimum voltage value corresponding to the full lattice of battery capacity indication, detects rechargeable battery charging interval and rechargeable battery and whether is full of electricity and completes charging.
Preferably, described decision operation unit also comprises instruction subelement;
Described detection sub-unit, also for regularly detecting rechargeable battery current voltage value;
Described judgment sub-unit, also for: judge whether rechargeable battery current voltage value is less than minimum voltage value or the maximum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type;
Described instruction subelement, in the time that rechargeable battery current voltage value is less than the minimum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, the constant or current electric quantity indicated value of current electric quantity indicated value adds one, the battery capacity indication value of instruction current electric quantity indicated value or next stage.
Preferably, described instruction subelement, also for:
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value.
Preferably, described judgment sub-unit, also for, judge whether current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type;
Described instruction subelement, also for: in the time that rechargeable battery current voltage value is greater than the minimum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type and is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value;
In the time that rechargeable battery current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value adds one, the battery capacity indication value of instruction next stage.
The present invention is according to terminal current state (charging or standby two states), between two kinds of battery capacity indication patterns, switch, solve the problem that rechargeable battery charging process breaks adapter battery capacity indication virtual height, the reliability and the accuracy that have ensured mobile terminal battery capacity indication have improved user's satisfaction simultaneously.
Brief description of the drawings
Fig. 1 is the charge graph of nickel-hydrogen chargeable cell under mobile terminal in prior art;
Fig. 2 is the discharge curve when terminal standby of nickel-hydrogen chargeable cell under rechargeable battery tester in prior art;
Fig. 3 is the method one embodiment schematic flow sheet of indicating electric quantity of rechargeable battery of the present invention;
Fig. 4 is step 20 idiographic flow schematic diagram in the method for the indicating electric quantity of rechargeable battery shown in Fig. 3;
Fig. 5 selects battery capacity indication mode method schematic flow sheet in the above embodiment of the present invention;
Fig. 6 upgrades rechargeable battery current electric quantity indicated value method flow schematic diagram in the above embodiment of the present invention;
Fig. 7 is the device one example structure schematic diagram of indicating electric quantity of rechargeable battery of the present invention;
Fig. 8 is another example structure schematic diagram of device of indicating electric quantity of rechargeable battery of the present invention.
Embodiment
In order to make technical scheme of the present invention clearer, clear, be described in further detail below in conjunction with accompanying drawing:
Fig. 3 shows the method one embodiment schematic flow sheet of indicating electric quantity of rechargeable battery of the present invention.
As shown in Figure 3, the method for the indicating electric quantity of rechargeable battery that the present embodiment proposes, comprises the following steps:
Step 10, arranges respectively the battery capacity indication pattern of rechargeable battery under terminal charge and standby two states;
Two kinds of battery capacity indication patterns are: use respectively rechargeable battery to carry out battery capacity indication at the terminal charge battery capacity indication table corresponding with battery capacity indication value with different stage magnitude of voltage under standby two states.
In this step, set up the battery capacity indication form of rechargeable battery under terminal two states according to the charging curve of Fig. 1 and Fig. 2 rechargeable battery and standby discharge curve.Mobile terminal battery capacity indication value, conventionally taking lattice as unit, adopts three lattice to carry out indicating electric quantity of rechargeable battery mostly at present, and therefore the present embodiment is taking three lattice battery capacity indications as example, and the battery capacity indication of every lattice is as shown in table 1 below:
Table 1
Rechargeable battery current electric quantity indicated value | 0 lattice | 1 lattice | 2 lattice | 3 lattice |
Charged state magnitude of voltage | 3.0-4.0V | 3.5V-4.15V | 3.7V-4.25V | 3.81V-4.35V |
Holding state magnitude of voltage | 3.0-3.52V | 3.5V-3.72 | 3.7V-3.83V | 3.81V-4.35V |
The corresponding relation of the voltage dative number shown in table 1 can be done suitable adjustment according to the charging and discharging curve of rechargeable battery, battery capacity indication value is taking lattice as unit representation, the magnitude of voltage of corresponding battery capacity indication value is the voltage range value of minimum voltage and maximum voltage composition, in charge capacity instruction form and common waiting electric quantity instruction form, low-voltage corresponding to every lattice battery capacity indication value is identical, to charge while considering common standby, be switched to charging pointing-type, adopt after charging instruction form, after short time charging, pull up the phenomenon that adapter there will be battery capacity indication lattice number to reduce.
Step 20, selects corresponding battery capacity indication pattern according to current switching variate-value, and upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type.
In the present embodiment, select corresponding battery capacity indication pattern according to current switching variate-value, first can in NV item structure, define all transformation amounts, by the switching of the above-mentioned two kinds of battery capacity indication forms of this switching Variable Control, and preset this switching variable can switching between the first predetermined value (such as for TRUE) and the second predetermined value (such as being FALSE), in the time that switching variable is the first predetermined value TRUE, select waiting electric quantity pointing-type, battery capacity indication form uses waiting electric quantity instruction form, in the time that switching variable is the second predetermined value FALSE, select charge capacity pointing-type, be switched to charge capacity instruction form.
In rechargeable battery use procedure, judge that the current switching variate-value of rechargeable battery is the first predetermined value or the second predetermined value; When current switching variate-value is the first predetermined value, select waiting electric quantity pointing-type; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.Its specific operation process is:
First, regularly detect rechargeable battery current voltage value, can detect rechargeable battery current voltage value every predetermined time; Judge terminal current state, if terminal current state is charged state, when detecting that the charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging, current switching variate-value is the first predetermined value TRUE, choice for use waiting electric quantity pointing-type,, in employing, in table 1, waiting electric quantity dial gauge carries out battery capacity indication.
If starting voltage value that terminal current state is the charging of charged state and rechargeable battery while starting is less than minimum voltage value corresponding in the full lattice (three lattice) of waiting electric quantity instruction form as above when the 3.81V in table 1, current switching variate-value is the second predetermined value FALSE, choice for use charge capacity pointing-type,, in employing, the charge capacity dial gauge in table 1 carries out battery capacity indication.
If starting voltage value that rechargeable battery place terminal current state is the charging of charged state and rechargeable battery while starting is less than minimum voltage value corresponding in the full lattice (three lattice) of waiting electric quantity instruction form as above when the 3.81V in table 1, choice for use charge capacity pointing-type instruction electric weight, and start the timing detection charging interval, in the time that the charging interval is greater than Preset Time (such as 1.5 hours) or completes constant current charge, current switching variate-value switches to the first predetermined value TRUE, select waiting electric quantity pointing-type, in employing, in table 1, waiting electric quantity dial gauge carries out battery capacity indication.
If terminal current state is holding state, judge that the switching variate-value before rechargeable battery standby is the first predetermined value or the second predetermined value, if before rechargeable battery standby, switching variate-value is the first predetermined value TRUE, choice for use waiting electric quantity pointing-type, even the relation table of rechargeable battery current voltage indicated value and rechargeable battery current voltage value, carries out battery capacity indication according to table 1 in the rechargeable battery current voltage value correspondence detecting while using holding state in table 1; If before rechargeable battery standby, switching variate-value is the second predetermined value FALSE, choice for use charge capacity pointing-type, that is and, the charge capacity dial gauge in employing in table 1 carries out battery capacity indication.
In the present embodiment, why will switch variable-definition is NV item variable, is because will ensure that each switching on and shutting down battery capacity indication form can not switch.If be defined as common global variable, each switching on and shutting down will reinitialize this variable, will inevitably occur that battery capacity indication lattice number changes.If switching initialization of variable value is TRUE, suppose that the front switching of shutdown variable is FALSE, battery capacity indication form adopts charge capacity instruction form, detect that rechargeable battery current voltage value is 4.2V, battery capacity indication value is two lattice, and after shutdown is started shooting again, this switching variable is initialized as TRUE by FALSE, battery capacity indication pattern will be switched to waiting electric quantity pointing-type, and now battery capacity indication value will inevitably show three lattice.When switching initialization of variable value is FALSE, also has similar situation and occur.So this switching variable must be defined as NV item variable, guarantee that each switching on and shutting down battery capacity indication value can not change, while using mobile terminal for the first time, switching initialization of variable value is made as to TRUE, use waiting electric quantity instruction form.Afterwards, select according to the method described above battery capacity indication pattern.
Battery capacity indication value should be defined as NV item variable, ensures that this variable of switching on and shutting down can not reinitialize.Suppose that battery capacity indication value is that common global variable is initialized as at 3 o'clock, the low electric weight charging of rechargeable battery, shows 0 lattice as short time charging does not also reach after 4.0V pulls up adapter.Again switching on and shutting down, because battery capacity indication value initialization is 3, the voltage of rechargeable battery is the minimum voltage 3.81V comparison under 3 with making power consumption use the corresponding lattice number under form, in the time that cell voltage is greater than 3.81V, battery capacity indication value is 3, electric weight before appearance shutdown is shown to 0 lattice, and after shutdown start, battery capacity indication shows full lattice.Battery capacity indication value initialization 0 also has similar situation.
In the present embodiment, upgrade rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type and specifically comprise:
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type (such as, rechargeable battery is in the time that holding state discharges, electric quantity of rechargeable battery can gradually reduce), battery capacity indication value subtracts one, be that current electric quantity indicated value is the battery capacity indication value of upper level, and repeat this step and judge, , rechargeable battery current voltage value is compared with the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, until rechargeable battery current voltage value is while being greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value, the discharge process of the corresponding rechargeable battery of this step in the time of holding state.
Or, in the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, rechargeable battery current voltage value is compared with the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, wherein:
In the time that rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value;
Rechargeable battery current voltage value be greater than corresponding current electric quantity indicated value in current electric quantity pointing-type maximum voltage value (such as, when rechargeable battery charges in charged state, electric quantity of rechargeable battery can progressively increase) time, battery capacity indication value adds one,, current electric quantity indicated value is the battery capacity indication value of next stage, and repeat this step and judge, otherwise execution previous step,, when rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, indicate current electric quantity indicated value.The charging process of the corresponding rechargeable battery of this step in the time of charged state.
The embodiment of the present invention is passed through according to rechargeable battery place terminal current state (charging or standby two states), between two kinds of battery capacity indication patterns, switch, solve the problem that rechargeable battery charging process breaks adapter battery capacity indication virtual height, the reliability and the accuracy that have ensured mobile terminal battery capacity indication have improved user's satisfaction simultaneously.
Fig. 4 is step 20 idiographic flow schematic diagram in the method for the indicating electric quantity of rechargeable battery shown in Fig. 3.
As shown in Figure 4, step 20 specifically comprises:
Step 201, selects corresponding battery capacity indication pattern according to current switching variate-value;
Step 202, upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type.
Wherein,
As shown in Figure 5, step 201, selects corresponding battery capacity indication pattern according to current switching variate-value, specifically comprises:
Step 2011, judges that terminal current state is charged state or holding state; In the time being holding state, enter step 2014; In the time being charged state, enter step 2012;
Step 2012, judges when charging starts, whether starting voltage value is less than corresponding minimum voltage value in the full lattice of waiting electric quantity instruction form; In the time that rechargeable battery current voltage value is greater than minimum voltage value corresponding in the full lattice of battery capacity indication, enter step 2017; Otherwise, enter step 2013;
Step 2013, current switching variate-value is the second predetermined value, choice for use charge capacity pointing-type; And enter step 2016;
Step 2014, judges that the switching variate-value before rechargeable battery standby is the first predetermined value or the second predetermined value; The first predetermined value, enters step 2015 if; Otherwise, enter step 2013;
Step 2015, current switching variate-value is the first predetermined value, choice for use waiting electric quantity pointing-type;
Step 2016, detects the charging interval, and judges whether the charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging; If so, enter step 2015; Otherwise, enter step 2017;
Step 2017, current switching variate-value is constant.
In above steps, select corresponding battery capacity indication pattern according to current switching variate-value, in rechargeable battery use procedure, judge that the current switching variate-value of rechargeable battery is the first predetermined value or the second predetermined value; When current switching variate-value is the first predetermined value, select waiting electric quantity pointing-type; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.Its specific operation process is:
First, judge the current state of terminal, if terminal current state is charged state, or when rechargeable battery starts to charge, magnitude of voltage while starting to charge according to the rechargeable battery detecting, if starting voltage value is greater than minimum voltage value corresponding in the full lattice (three lattice) of waiting electric quantity instruction form as above when the 3.81V in table 1 when charging starts, current switching variate-value is constant.
If terminal is charged state and detects that starting voltage value when rechargeable battery charging starts is less than minimum voltage value corresponding in the full lattice (three lattice) of waiting electric quantity instruction form as above when the 3.81V in table 1, current switching variate-value is the second predetermined value FALSE, choice for use charge capacity pointing-type,, in employing, the charge capacity dial gauge in table 1 carries out battery capacity indication.
If terminal is charged state and detects that starting voltage value when rechargeable battery charging starts is less than minimum voltage value corresponding in the full lattice (three lattice) of waiting electric quantity instruction form as above when the 3.81V in table 1, choice for use charge capacity pointing-type instruction electric weight, and start the timing detection charging interval, in the time that the charging interval is greater than Preset Time (such as 1.5 hours) or completes constant current charge, current switching variate-value switches to the first predetermined value TRUE, select waiting electric quantity pointing-type, in employing, in table 1, waiting electric quantity dial gauge carries out battery capacity indication.
If terminal current state is holding state, judge that the switching variate-value of rechargeable battery before terminal standby is the first predetermined value or the second predetermined value, if rechargeable battery is before terminal standby, switching variate-value is the first predetermined value TRUE, choice for use waiting electric quantity pointing-type, even the relation table of rechargeable battery current voltage indicated value and rechargeable battery current voltage value, carries out battery capacity indication according to table 1 in the rechargeable battery current voltage value correspondence detecting while using holding state in table 1; If rechargeable battery is before terminal standby, switching variate-value is the second predetermined value FALSE, choice for use charge capacity pointing-type, that is and, the charge capacity dial gauge in employing in table 1 carries out battery capacity indication.
As shown in Figure 6, step 202, upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type, specifically comprises:
Step 2020, regularly detects rechargeable battery current voltage value;
Step 2021, judges that whether current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, if so, enters step 2022; If not, enter step 2024;
Step 2022, current electric quantity indicated value subtracts one, instruction upper level battery capacity indication value, and enter step 2023;
Step 2023, judges that whether current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, if so, enters step 2022; If not, enter step 2026;
Step 2024, judges whether current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type; If so, enter step 2025; If not, enter step 2026;
Step 2025, current electric quantity indicated value adds one, instruction next stage battery capacity indication value, and enter step 2024;
Step 2026, current electric quantity indicated value is constant, instruction current electric quantity indicated value.
In above steps, can detect rechargeable battery current voltage value every predetermined time, in the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type (such as, rechargeable battery is in the time that terminal standby state discharges, electric quantity of rechargeable battery can gradually reduce), battery capacity indication value subtracts one, be that current electric quantity indicated value is the battery capacity indication value of upper level, and repeat this step and judge, , rechargeable battery current voltage value is compared with the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, until rechargeable battery current voltage value is while being greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value, the discharge process of the corresponding rechargeable battery of this step place terminal in the time of holding state.
Or, in the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, rechargeable battery current voltage value is compared with the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, wherein:
If rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, indicate current electric quantity indicated value;
If rechargeable battery current voltage value be greater than corresponding current electric quantity indicated value in current electric quantity pointing-type maximum voltage value (such as, rechargeable battery is in the time that terminal charge state charges, electric quantity of rechargeable battery can progressively increase), battery capacity indication value adds the battery capacity indication value of an instruction next stage, , current electric quantity indicated value is the battery capacity indication value of next stage, and repeat this step and judge, otherwise execution previous step, , when rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, indicate current electric quantity indicated value.The charging process of the corresponding rechargeable battery of this step place terminal in the time of charged state.
As shown in Figure 7, the device of a kind of indicating electric quantity of rechargeable battery that one embodiment of the invention proposes, comprising:
Module 701 is set, for the battery capacity indication pattern of rechargeable battery under terminal charge and standby two states is set respectively.
Central processing module 702, for selecting corresponding battery capacity indication pattern according to current switching variate-value, and upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type.
In the present embodiment, two kinds of battery capacity indication patterns are: adopt respectively rechargeable battery to carry out battery capacity indication at the terminal charge battery capacity indication table corresponding with battery capacity indication value with different stage magnitude of voltage under standby two states.
Set up the battery capacity indication form of rechargeable battery under terminal two states according to the charging curve of Fig. 1 and Fig. 2 rechargeable battery and standby discharge curve.Mobile terminal battery capacity indication value, conventionally taking lattice as unit, adopts three lattice to carry out indicating electric quantity of rechargeable battery mostly at present, and taking three lattice battery capacity indications as example, the battery capacity indication of every lattice is as shown in table 1 below:
Table 1
Rechargeable battery current electric quantity indicated value | 0 lattice | 1 lattice | 2 lattice | 3 lattice |
Charged state magnitude of voltage | 3.0-4.0V | 3.5V-4.15V | 3.7V-4.25V | 3.81V-4.35V |
Holding state magnitude of voltage | 3.0-3.52V | 3.5V-3.72 | 3.7V-3.83V | 3.81V-4.35V |
As shown in Table 1, the corresponding relation of voltage dative number can be done suitable adjustment according to the charging and discharging curve of rechargeable battery, battery capacity indication value is taking lattice as unit representation, the magnitude of voltage of corresponding battery capacity indication value is the voltage range value of minimum voltage and maximum voltage composition, in charge capacity instruction form and common waiting electric quantity instruction form, low-voltage corresponding to every lattice battery capacity indication value is identical, to charge while considering common standby, be switched to charging pointing-type, adopt after charging instruction form, after short time charging, pull up the phenomenon that adapter there will be battery capacity indication lattice number to reduce.
In the present embodiment, in the time selecting battery capacity indication pattern, first central processing module 702 judges that current switching variate-value is the first predetermined value or the second predetermined value, when current switching variate-value is the first predetermined value, selects waiting electric quantity pointing-type; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.
In the present embodiment, switching variable is in NV item structure, to define at first a NV variable, by the switching of the above-mentioned two kinds of battery capacity indication forms of this switching Variable Control, and preset this switching variable can switching between the first predetermined value (such as for TRUE) and the second predetermined value (such as being FALSE), in the time that switching variable is the first predetermined value TRUE, select waiting electric quantity pointing-type, battery capacity indication form uses waiting electric quantity instruction form, in the time that switching variable is the second predetermined value FALSE, select charge capacity pointing-type, be switched to charge capacity instruction form.
In rechargeable battery use procedure, judge that the current switching variate-value of rechargeable battery is that the detailed process of the first predetermined value or the second predetermined value is:
First, can regularly detect rechargeable battery current voltage value, every predetermined time, rechargeable battery current voltage value be detected; Judge the current state of terminal, if terminal current state is charged state, or when rechargeable battery starts to charge, magnitude of voltage while starting to charge according to the rechargeable battery detecting, if starting voltage value is greater than minimum voltage value corresponding in the full lattice (three lattice) of standby power consumption instruction form as above when the 3.81V in table 1 when rechargeable battery charging starts, current switching variate-value is constant.
If terminal current state is charged state and detects that rechargeable battery starting voltage value while starting to charge is less than minimum voltage value corresponding in the full lattice (three lattice) of waiting electric quantity instruction form as above when the 3.81V in table 1, current switching variate-value is the second predetermined value FALSE, choice for use charge capacity pointing-type,, in employing, the charge capacity dial gauge in table 1 carries out battery capacity indication.
If being charged state and the rechargeable battery starting voltage value that detects, terminal current state is less than minimum voltage value corresponding in the full lattice (three lattice) of battery capacity indication as above when the 3.81V in table 1, choice for use charge capacity pointing-type instruction electric weight, and start the timing detection charging interval, in the time that the charging interval is greater than Preset Time (such as 1.5 hours) or completes constant current charge, current switching variate-value switches to the first predetermined value TRUE, select waiting electric quantity pointing-type, in employing, in table 1, waiting electric quantity dial gauge carries out battery capacity indication.
If terminal current state is holding state, judge that the switching variate-value before rechargeable battery standby is the first predetermined value or the second predetermined value, if before rechargeable battery standby, switching variate-value is the first predetermined value TRUE, choice for use waiting electric quantity pointing-type, even the relation table of rechargeable battery current voltage indicated value and rechargeable battery current voltage value, carries out battery capacity indication according to table 1 in the rechargeable battery current voltage value correspondence detecting while using holding state in table 1; If before rechargeable battery standby, switching variate-value is the second predetermined value FALSE, choice for use charge capacity pointing-type, that is and, the charge capacity dial gauge in employing in table 1 carries out battery capacity indication.
In the present embodiment, why will switch variable-definition is NV item variable, is because will ensure that each switching on and shutting down battery capacity indication form can not switch.If be defined as common global variable, each switching on and shutting down will reinitialize this variable, will inevitably occur that battery capacity indication lattice number changes.If switching initialization of variable value is TRUE, suppose that the front switching of shutdown variable is FALSE, battery capacity indication pattern adopts charge capacity instruction form, detect that rechargeable battery current voltage value is 4.2V, battery capacity indication value is two lattice, and after shutdown is started shooting again, this switching variable is initialized as TRUE by FALSE, battery capacity indication pattern will be switched to waiting electric quantity pointing-type, and now battery capacity indication value will inevitably show three lattice.When switching initialization of variable value is FALSE, also has similar situation and occur.So this switching variable must be defined as NV item variable, guarantee that each switching on and shutting down battery capacity indication value can not change, while using mobile terminal for the first time, switching initialization of variable value is made as to TRUE, use waiting electric quantity instruction form.
Battery capacity indication value also should be defined as NV item variable, ensures that this variable of switching on and shutting down can not reinitialize.Suppose that battery capacity indication value is that common global variable is initialized as at 3 o'clock, the low electric weight charging of rechargeable battery, shows 0 lattice as short time charging does not also reach after 4.0V pulls up adapter.Again switching on and shutting down, because battery capacity indication value initialization is 3, the voltage of rechargeable battery is the minimum voltage 3.81V comparison under 3 with making power consumption use the corresponding lattice number under form, in the time that cell voltage is greater than 3.81V, battery capacity indication value is 3, electric weight before appearance shutdown is shown to 0 lattice, and after shutdown start, battery capacity indication shows full lattice.Battery capacity indication value initialization 0 also has similar situation.
After battery capacity indication model selection well, upgrade rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type:
First regularly detect rechargeable battery current voltage value, can detect rechargeable battery current voltage value every predetermined time, in the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type (such as, rechargeable battery is in the time that holding state discharges, electric quantity of rechargeable battery can gradually reduce), current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level, be that current electric quantity indicated value is the battery capacity indication value of upper level, and repeat to judge, , rechargeable battery current voltage value is compared with the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, until rechargeable battery current voltage value is while being greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value, the discharge process of the corresponding rechargeable battery of this process in the time of holding state.
Or, in the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, rechargeable battery current voltage value is compared with the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, wherein:
In the time that rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value;
When rechargeable battery current voltage value be greater than corresponding current electric quantity indicated value in current electric quantity pointing-type maximum voltage value (such as, when rechargeable battery charges in charged state, electric quantity of rechargeable battery can progressively increase) time, current electric quantity indicated value adds one, the battery capacity indication value of instruction next stage,, current electric quantity indicated value is the battery capacity indication value of next stage, and repeat to judge, when rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, indicate current electric quantity indicated value.The charging process of the corresponding rechargeable battery of this process in the time of charged state.
As shown in Figure 8, the device of a kind of indicating electric quantity of rechargeable battery that another embodiment of the present invention proposes, identical with the apparatus structure of the embodiment shown in above-mentioned Fig. 7, wherein:
In the present embodiment, central processing module 702 specifically comprises:
Decision operation unit 7021, for judging that current switching variate-value is the first predetermined value or the second predetermined value;
Selected cell 7022, while being the first predetermined value, selects waiting electric quantity pointing-type for current switching variate-value; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.
In the present embodiment, decision operation unit 7021 specifically comprises: judgment sub-unit 70212, detection sub-unit 70211 and instruction subelement 70213, wherein:
Judgment sub-unit 70211, for judging that terminal current state is charged state or holding state; In the time that terminal current state is charged state, judge when rechargeable battery starts to charge, whether magnitude of voltage is greater than corresponding minimum voltage value in the full lattice of battery capacity indication; In the time that rechargeable battery current voltage value is greater than minimum voltage value corresponding in the full lattice of battery capacity indication, current switching variate-value is constant;
When in the time that rechargeable battery charging starts, starting voltage magnitude of voltage is less than minimum voltage value corresponding in the full lattice of battery capacity indication, also for judging whether the charging interval is greater than Preset Time and rechargeable battery and whether is full of electricity and completes charging; And for judgement
In the time that the charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging, current switching variate-value is the first predetermined value; In the time that battery has been full of charging, current switching variate-value is the first predetermined value.
In the time that rechargeable battery place terminal current state is holding state, judge that the switching variate-value before rechargeable battery standby is the first predetermined value or the second predetermined value.
Detection sub-unit 70211, while expiring the minimum voltage value of lattice correspondence, detects the rechargeable battery charging interval for be less than battery capacity indication when rechargeable battery current voltage value; And also for regularly detecting rechargeable battery current voltage value.
No matter rechargeable battery is to be charged state or holding state in terminal, and its magnitude of voltage is constantly changing, and with respect to charged state, charged battery voltage value constantly increases; With respect to holding state, charged battery voltage value constantly reduces, so for the current voltage value of Accurate Determining rechargeable battery, need regularly to detect rechargeable battery current voltage value, can detect rechargeable battery current voltage value every predetermined time.
In the present embodiment, judgment sub-unit, also for judging whether rechargeable battery current voltage value is less than the minimum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type; And judge whether current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type.
Instruction subelement 70213, in the time that rechargeable battery current voltage value is less than the minimum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type, battery capacity indication value subtracts the battery capacity indication value of an instruction upper level;
In the time that rechargeable battery current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, battery capacity indication value adds the battery capacity indication value of a next stage.In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value; And
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type and is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, instruction current electric quantity indicated value;
In the time that rechargeable battery current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, battery capacity indication value adds the battery capacity indication value of an instruction next stage.
In the various embodiments described above of the present invention, rechargeable battery can be nickel-hydrogen chargeable cell, also can be other rechargeable battery.The embodiment of the present invention is passed through according to rechargeable battery place terminal current state (charging or standby two states), between two kinds of battery capacity indication patterns, switch, solve the problem that rechargeable battery charging process breaks adapter battery capacity indication virtual height, and ensure that rechargeable battery battery capacity indication pattern in the time of mobile terminal switching on and shutting down is constant, the inconsistent problem of battery capacity indication value while having solved in prior art mobile terminal switching on and shutting down, the reliability and the accuracy that have ensured mobile terminal battery capacity indication have improved user's satisfaction simultaneously.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; 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 (12)
1. a method for indicating electric quantity of rechargeable battery, is characterized in that, comprises the following steps:
The battery capacity indication pattern of rechargeable battery under terminal charge and standby two states is set respectively;
Select corresponding battery capacity indication pattern according to current switching variate-value, and upgrade rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type; Two kinds of battery capacity indication patterns are: adopt respectively rechargeable battery to carry out battery capacity indication at the terminal charge battery capacity indication table corresponding with battery capacity indication value with different stage magnitude of voltage under standby two states; Wherein, select corresponding battery capacity indication pattern specifically to comprise according to current switching variate-value: in NV item structure, to define all transformation amounts, by the switching of two kinds of battery capacity indication forms of this switching Variable Control, and preset this switching variable and switch between the first predetermined value and the second predetermined value, in the time that switching variable is the first predetermined value, select waiting electric quantity pointing-type, battery capacity indication form uses waiting electric quantity instruction form, in the time that switching variable is the second predetermined value, select charge capacity pointing-type, be switched to charge capacity instruction form.
2. the method for indicating electric quantity of rechargeable battery according to claim 1, is characterized in that, describedly judges that current switching variate-value is that the step of the first predetermined value or the second predetermined value specifically comprises:
Judge that terminal is charged state or holding state;
In the time that the rechargeable battery charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging, current switching variate-value is the first predetermined value;
When in the time that rechargeable battery charging starts, starting voltage value is less than the full lattice minimum voltage value of waiting electric quantity instruction form, current switching variate-value is the second predetermined value.
3. the method for indicating electric quantity of rechargeable battery according to claim 1, is characterized in that, describedly upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type and specifically comprises:
Regularly detect rechargeable battery current voltage value;
Judge whether rechargeable battery current voltage value is less than minimum voltage value or the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type;
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, the constant or battery capacity indication value of current electric quantity indicated value adds one, the battery capacity indication value of instruction current electric quantity indicated value or next stage.
4. the method for indicating electric quantity of rechargeable battery according to claim 3, it is characterized in that, it is described in the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, and the step of the battery capacity indication value of instruction upper level specifically comprises:
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value.
5. the method for indicating electric quantity of rechargeable battery according to claim 3, it is characterized in that, it is described in the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, constant or the battery capacity indication value of battery capacity indication value adds one, and the step of the battery capacity indication value of instruction current electric quantity indicated value or next stage specifically comprises:
Judge whether current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type;
In the time that rechargeable battery current voltage value is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value;
In the time that rechargeable battery current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, battery capacity indication value adds one, the battery capacity indication value of instruction next stage.
6. a device for indicating electric quantity of rechargeable battery, is characterized in that, comprising:
Module is set, for the battery capacity indication pattern of rechargeable battery under terminal charge and standby two states is set respectively;
Central processing module, for selecting corresponding battery capacity indication pattern according to current switching variate-value, and upgrades rechargeable battery current electric quantity indicated value according to current electric quantity pointing-type; Two kinds of battery capacity indication patterns are: adopt respectively rechargeable battery to carry out battery capacity indication at the terminal charge battery capacity indication table corresponding with battery capacity indication value with different stage magnitude of voltage under standby two states; Wherein, select corresponding battery capacity indication pattern specifically to comprise according to current switching variate-value: in NV item structure, to define all transformation amounts, by the switching of two kinds of battery capacity indication forms of this switching Variable Control, and preset this switching variable and switch between the first predetermined value and the second predetermined value, in the time that switching variable is the first predetermined value, select waiting electric quantity pointing-type, battery capacity indication form uses waiting electric quantity instruction form, in the time that switching variable is the second predetermined value, select charge capacity pointing-type, be switched to charge capacity instruction form.
7. the device of indicating electric quantity of rechargeable battery according to claim 6, is characterized in that, described central processing module comprises:
Decision operation unit, for judging that current switching variate-value is the first predetermined value or the second predetermined value;
Selected cell, while being the first predetermined value, selects waiting electric quantity pointing-type for current switching variate-value; When current switching variate-value is the second predetermined value, select charge capacity pointing-type.
8. the device of indicating electric quantity of rechargeable battery according to claim 7, is characterized in that, described decision operation unit comprises:
Judgment sub-unit, for judging that terminal is charged state or holding state; In the time that the rechargeable battery charging interval is greater than Preset Time or rechargeable battery and is full of electricity and completes charging, current switching variate-value is the first predetermined value;
When in the time that rechargeable battery charging starts, starting voltage value is less than the full lattice minimum voltage value of waiting electric quantity instruction form, current switching variate-value is the second predetermined value.
9. the device of indicating electric quantity of rechargeable battery according to claim 8, is characterized in that, described decision operation unit also comprises:
Detection sub-unit, for starting charging and magnitude of voltage when rechargeable battery while being less than minimum voltage value corresponding to the full lattice of battery capacity indication, detects rechargeable battery charging interval and rechargeable battery and whether is full of electricity and completes charging.
10. the device of indicating electric quantity of rechargeable battery according to claim 10, is characterized in that, described decision operation unit also comprises instruction subelement;
Described detection sub-unit, also for regularly detecting rechargeable battery current voltage value;
Described judgment sub-unit, also for: judge whether rechargeable battery current voltage value is less than minimum voltage value or the maximum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type;
Described instruction subelement, in the time that rechargeable battery current voltage value is less than the minimum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, the constant or current electric quantity indicated value of current electric quantity indicated value adds one, the battery capacity indication value of instruction current electric quantity indicated value or next stage.
The device of 11. indicating electric quantity of rechargeable battery according to claim 10, is characterized in that, described instruction subelement, also for:
In the time that rechargeable battery current voltage value is less than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value subtracts one, the battery capacity indication value of instruction upper level;
In the time that rechargeable battery current voltage value is greater than the minimum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value.
The device of 12. indicating electric quantity of rechargeable battery according to claim 10, is characterized in that,
Described judgment sub-unit, also for, judge whether current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type;
Described instruction subelement, also for: in the time that rechargeable battery current voltage value is greater than the minimum voltage value of the corresponding current electric quantity indicated value of current electric quantity pointing-type and is less than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value is constant, instruction current electric quantity indicated value;
In the time that rechargeable battery current voltage value is greater than the maximum voltage value of corresponding current electric quantity indicated value in current electric quantity pointing-type, current electric quantity indicated value adds one, the battery capacity indication value of instruction next stage.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010187871.0A CN101860060B (en) | 2010-05-31 | 2010-05-31 | Method and device for indicating electric quantity of rechargeable battery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010187871.0A CN101860060B (en) | 2010-05-31 | 2010-05-31 | Method and device for indicating electric quantity of rechargeable battery |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101860060A CN101860060A (en) | 2010-10-13 |
CN101860060B true CN101860060B (en) | 2014-12-10 |
Family
ID=42945780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010187871.0A Active CN101860060B (en) | 2010-05-31 | 2010-05-31 | Method and device for indicating electric quantity of rechargeable battery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101860060B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102946479B (en) * | 2012-11-02 | 2015-01-21 | 惠州Tcl移动通信有限公司 | Method for mobile terminal to update electric quantity of battery and mobile terminal |
CN103217649A (en) * | 2013-03-28 | 2013-07-24 | 广东欧珀移动通信有限公司 | Method and device for displaying electric quantity, and mobile device |
CN104362403B (en) * | 2014-09-22 | 2017-07-14 | 广东欧珀移动通信有限公司 | A kind of battery charging control method and device |
CN105100440B (en) * | 2015-06-24 | 2018-08-07 | 青岛海信移动通信技术股份有限公司 | A kind of method and mobile terminal of determining mobile terminal initial quantity of electricity |
CN105548887B (en) * | 2015-09-30 | 2019-03-22 | 宇龙计算机通信科技(深圳)有限公司 | A kind of battery capacity value calibration method and device thereof |
CN114690505B (en) * | 2020-12-30 | 2024-01-30 | 北京小米移动软件有限公司 | Mobile terminal and control method thereof |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3349031B2 (en) * | 1996-02-23 | 2002-11-20 | ユニデン株式会社 | Battery level display means and battery level display method |
KR100305854B1 (en) * | 1999-07-08 | 2001-11-01 | 이계안 | A battery charging device and a method thereof for electric car |
JP3524827B2 (en) * | 1999-09-30 | 2004-05-10 | 三洋電機株式会社 | Battery level indicator for telephone |
JP3902365B2 (en) * | 1999-10-28 | 2007-04-04 | 三洋電機株式会社 | Battery level judgment device |
JP2006208103A (en) * | 2005-01-26 | 2006-08-10 | Brother Ind Ltd | Battery residual capacity display device and radio telephone device |
CN1908691A (en) * | 2005-08-02 | 2007-02-07 | 乐金电子(昆山)电脑有限公司 | Battery capacity measuring method and device thereof |
-
2010
- 2010-05-31 CN CN201010187871.0A patent/CN101860060B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN101860060A (en) | 2010-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101860060B (en) | Method and device for indicating electric quantity of rechargeable battery | |
CN102520364B (en) | Method utilizing battery voltage to display electric quantity | |
CN103985917B (en) | Low-temperature charging and discharging method for lithium battery | |
CN102231551B (en) | Battery charger combining charging time and service life of battery | |
CN107436418B (en) | Method, terminal and device for calibrating electric quantity attenuation of battery | |
CN103901352B (en) | Show the method and device of battery of mobile terminal remaining capacity | |
CN105071486A (en) | Charging prompting method and apparatus | |
CN102938573A (en) | Intelligent charging device and charging method thereof | |
CN103901347A (en) | Method for display of battery level and terminal | |
CN102830363A (en) | Method and system for detecting battery of mobile device in charging | |
CN106877442B (en) | Battery management method | |
CN104333087B (en) | Mobile terminal and method for intelligently displaying charging capacity | |
CN203519802U (en) | Battery residual electric quantity detection system | |
CN106340691A (en) | Charging management method and mobile communication terminal | |
CN102914744A (en) | Mobile terminal, battery power display system of mobile terminal, and method for acquiring battery power | |
CN104993534A (en) | Mobile terminal and charge control method thereof | |
CN102306941B (en) | Battery pack capacity coupling method and battery pack capacity coupling apparatus | |
CN102074984B (en) | Mobile terminal for detecting electric quantity of battery on line and detection method thereof | |
CN103035968B (en) | Mobile terminal charging method and system | |
CN103616551B (en) | The terminal and cell voltage acquisition methods of cell voltage can be accurately obtained when charging | |
CN104795864B (en) | A kind of mobile terminal and charged state detection method of accurate detection charged state | |
CN101814748A (en) | Mobile phone charger capable of carrying out automatic discharging/charging management and displaying battery capacity | |
CN108490364B (en) | Device and method for testing consistency of lead-acid storage battery monomer | |
CN109802456A (en) | A kind of battery automatic identifying method | |
CN107370859B (en) | Method and device for testing electricity meter of mobile terminal and storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |