CN102946479B - Method for mobile terminal to update electric quantity of battery and mobile terminal - Google Patents
Method for mobile terminal to update electric quantity of battery and mobile terminal Download PDFInfo
- Publication number
- CN102946479B CN102946479B CN201210432286.1A CN201210432286A CN102946479B CN 102946479 B CN102946479 B CN 102946479B CN 201210432286 A CN201210432286 A CN 201210432286A CN 102946479 B CN102946479 B CN 102946479B
- Authority
- CN
- China
- Prior art keywords
- electricity
- mobile terminal
- battery
- initial charge
- gather
- 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
- Secondary Cells (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a method for mobile terminal to update the electric quantity of a battery and the mobile terminal. The method comprises the steps that the battery voltage is collected when the mobile terminal system is started, and the original electric quantity of the battery is obtained through a pre-established voltage and electric quantity conversion table; the current battery voltage is collected to obtain the current collected electric quantity of the battery, and theoretical charging-discharging electric quantity of the battery of the mobile terminal is calculated according to a collection time interval; the collected electric quantity is compared with the original electric quantity, and whether the collected electric quantity is the real current electric quantity of the battery or not is judged in combination with the theoretical charging-discharging electric quantity; and if not, the real current electric quantity of the battery is estimated according to the theoretical charging-discharging electric quantity; and the original electric quantity is updated to the real current electric quantity of the battery and distributed to each functional module of the mobile terminal system. The method has the advantages that the real current electric quantity of the battery is accurately obtained through a battery charging-discharging pre-estimation mechanism, thereby effectively avoiding abnormal fluctuation phenomena from occurring when the electric quantity of the battery is updated by the mobile terminal.
Description
Technical field
The present invention relates to field of mobile terminals, in particular a kind of method of mobile terminal to update battery electric quantity and mobile terminal.
Background technology
Along with the development of mobile communication technology and improving constantly of people's living standard, the use of various portable mobile termianls as mobile phone is more and more universal, has become the part that people's daily life is important.
Current portable mobile termianl generally adopts powered battery, and needs upgrade battery electric quantity situation in real time and inform each functional module of described mobile terminal; The battery electric quantity update mode of prior art is: the voltage gathering battery, the electricity current by the corresponding relation determination battery of voltage electricity also carries out electricity renewal.But because battery of mobile terminal voltage can change along with the change of mobile terminal system load, when mobile terminal system load increases the weight of suddenly, cell voltage can reduce accordingly, when load reduces, cell voltage then occurs ging up, the battery electric quantity such as using mobile terminal to be obtained by said method when making a phone call is lower, but after terminating call a period of time, find that battery electric quantity occurs ging up on the contrary.Therefore the method for prior art renewal battery electric quantity is not accurate enough, there will be the situation of battery electric quantity recurrent fluctuations, to the difficulty that the managing electric quantity of mobile terminal brings.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, for the above-mentioned defect of prior art, a kind of method and mobile terminal of mobile terminal to update battery electric quantity are provided, its mechanism of estimation by a power consumption/charging, the electricity recurrent fluctuations problem occurred when solving mobile terminal to update battery electric quantity in prior art.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A method for mobile terminal to update battery electric quantity, wherein, comprises step:
When S1, mobile terminal system start, gather cell voltage and draw battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the first initial charge; Start a timer simultaneously;
S2, within described timer predetermined time, detect mobile terminal system whether enter low-power consumption mode, when detecting that mobile terminal system enters low-power consumption mode, the time that record move terminal system enters low-power consumption mode is the very first time, closes described timer;
S3, reception user operation instruction wake mobile terminal system up, and recording described mobile terminal system current time was the second time; Control to gather cell voltage and draw by described voltage electricity conversion table the first collection electricity that battery is current; Calculate the theoretical charge/discharge electricity amount of battery within the described time very first time to the second simultaneously;
S4, gather electricity and described first initial charge by described first and compare, judge that whether described first collection electricity is the current true electricity of battery in conjunction with described theoretical charge/discharge electricity amount;
S5, when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity; Otherwise calculate the current estimation electricity of battery according to described theoretical charge/discharge electricity amount, upgrading described first initial charge is described estimation electricity;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown; Waken system accuses that mobile terminal processed enters non-low-power consumption mode.
The method of described mobile terminal to update battery electric quantity, wherein, also comprises step after described step S5:
The first initial charge after S6, distribution upgrade is to each functional module of mobile terminal system.
The method of described mobile terminal to update battery electric quantity, wherein, when the theoretical charge/discharge electricity amount of the battery within the described time very first time to the second of the calculating in step S3 specifically comprises step:
If the described mobile terminal of step S31 is in charged state, then calculate that battery within the described time very first time to the second is theoretic is maximumly filled with electricity;
If the described mobile terminal of step S32 is in non-charged state, then calculate the theoretic maximum power consumption electricity of battery within the described time very first time to the second;
Described step S4 specifically comprises step:
If the described mobile terminal of step S41 is in charged state, described first collection electricity and the first initial charge is controlled to compare, when described first gather electricity be greater than described first initial charge and its difference be less than described maximum be filled with electricity time, judge that described first gathers electricity as the current true electricity of battery;
If the described mobile terminal of step S42 is in non-charged state, described first collection electricity and the first initial charge is controlled to compare, when described first initial charge is greater than described first collection capacity and its difference is less than described maximum power consumption electricity, judge that described first gathers electricity as the current true electricity of battery.
The method of described mobile terminal to update battery electric quantity, wherein, described step S5 comprises step:
S51, when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity;
S52, when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in charged state, then calculates the current estimation electricity of battery according to the theoretic maximum electricity that is filled with of battery and upgrade described first initial charge, being specially:
When described first collection electricity is less than described first initial charge, keep described first initial charge constant; When described first gather electricity be greater than described first initial charge and its difference be greater than described maximum be filled with electricity time, calculate described first initial charge and described maximum be filled with electricity and as the current estimation electricity of battery, upgrading described first initial charge is described estimation electricity;
S53, when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in non-charged state, then calculates the current estimation electricity of battery according to the theoretic maximum power consumption electricity of battery and upgrade described first initial charge, being specially:
When described first collection electricity is greater than described first initial charge, keep described first initial charge constant; When described first initial charge is greater than described first collection electricity and its difference is greater than described maximum power consumption electricity, the difference calculating described first initial charge and described maximum power consumption electricity is as the current estimation electricity of battery, and upgrading described first initial charge is described estimation electricity.
Adopt a mobile terminal for the method for described mobile terminal to update battery electric quantity, wherein, comprising:
First initial module, for gathering cell voltage when mobile terminal system starts, and drawing battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the first initial charge; Start a timer simultaneously;
Detection module, whether enter low-power consumption mode for detecting mobile terminal system within described timer predetermined time; when detecting that mobile terminal system enters low-power consumption mode; the time that record move terminal system enters low-power consumption mode is the very first time, closes described timer;
First acquisition module, for receiving user operation instruction waken system, record move terminal system current time was the second time; Gather cell voltage and draw by described voltage electricity conversion table the first collection electricity that battery is current; And calculate the theoretic charge/discharge electricity amount of battery within the described time very first time to the second;
First judge module, to compare for gathering electricity and described first initial charge by described first, judging that whether described first collection electricity is the current true electricity of battery in conjunction with the theoretic charge/discharge electricity amount of battery;
First update module, for when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity; Otherwise, calculate the current estimation electricity of battery according to the theoretic charge/discharge electricity amount of battery, and to upgrade described first initial charge be described estimation electricity;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown; Waken system accuses that mobile terminal system processed enters non-low-power consumption mode.
Described mobile terminal, wherein, also comprises:
First distribution module, for distributing the first initial charge after renewal to each functional module of mobile terminal system.
Described mobile terminal, wherein, described first acquisition module comprises:
Collecting unit, wake mobile terminal system up for receiving user operation instruction, record move terminal system current time was the second time; Gather cell voltage simultaneously and draw by described voltage electricity conversion table the first collection electricity that battery is current;
Charging computing unit, for calculate when mobile terminal is in charged state within the described time period very first time to the second, battery is theoretic is maximumly filled with electricity;
Power consumption computing unit, for when mobile terminal is in non-charged state calculate within the described time period very first time to the second the theoretic maximum power consumption electricity of battery;
Described first judge module specifically for, described first collection electricity and described first initial charge are compared, when described mobile terminal be in charged state and described first gather electricity be greater than described first initial charge and its difference be less than described maximum be filled with electricity time, or when described mobile terminal be in non-charged state and described first initial charge be greater than described first gather electricity and its difference be less than described maximum power consumption electricity time, judge that described first gathers electricity as the current true electricity of battery.
Described mobile terminal, wherein, described first update module comprises:
First updating block, for when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity;
Second updating block, for when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in charged state, then calculate the current estimation electricity of battery according to the theoretic maximum electricity that is filled with of battery and upgrade described first initial charge, being specially:
When described first collection electricity is less than described first initial charge, keep described first initial charge constant; When described first gather electricity be greater than described first initial charge and its difference be greater than described maximum be filled with electricity time, calculate described first initial charge and described maximum be filled with electricity and as the current estimation electricity of battery, upgrading described first initial charge is described estimation electricity;
3rd updating block, for when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in non-charged state, then calculate the current estimation electricity of battery according to the theoretic maximum power consumption electricity of battery and upgrade the first initial charge, being specially:
When described first collection electricity is greater than described first initial charge, keep described first initial charge constant; When described first initial charge is greater than described first collection electricity and its difference is greater than described maximum power consumption electricity, the difference calculating described first initial charge and described maximum power consumption electricity is as the current estimation electricity of battery, and upgrading described first initial charge is described estimation electricity.
A method for mobile terminal to update battery electric quantity, wherein, comprises step:
Gather cell voltage when L1, mobile terminal system start and draw battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the second initial charge; Start a timer simultaneously;
L2, within described timer predetermined time, detect mobile terminal system whether enter low-power consumption mode, if do not detect, mobile terminal system enters low-power consumption mode, then gather cell voltage when described timer expiry, and draw by described voltage electricity conversion table the second collection electricity that battery is current;
L3, gather electricity and described second initial charge by described second and compare, when mobile terminal is in charged state and described second collection electricity is less than or equal to described second initial charge, or when mobile terminal be in non-charged state and described second gather electricity be more than or equal to described second initial charge time, judging described second, to gather electricity be not the current true electricity of battery;
L4, when described second to gather electricity be not the current true electricity of battery, keep described second initial charge constant; Otherwise, if mobile terminal is in charged state, control upgrade described second initial charge be described second initial charge add 1 and, if when mobile terminal is in non-charged state, upgrading described second initial charge is the difference that the second initial charge subtracts 1;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown.
The method of described mobile terminal to update battery electric quantity, wherein, also comprises step after described step L4:
The second initial charge after L5, distribution upgrade is to each functional module of mobile terminal system.
Adopt a mobile terminal for the method for described mobile terminal to update battery electric quantity, wherein, comprising:
Second initial module, for gathering cell voltage draw battery electric quantity by the voltage electricity conversion table be stored in advance in mobile terminal system when mobile terminal system starts, be designated as the second initial charge, start a timer simultaneously, whether enter low-power consumption mode to detect mobile terminal system within described timer predetermined time;
If the second acquisition module, for not detecting that mobile terminal system enters low-power consumption mode within described timer predetermined time time, then gather cell voltage also when described timer expiry, and draw by described voltage electricity conversion table the second collection electricity that battery is current;
Second judge module, to compare for gathering electricity and described second initial charge by described second, when mobile terminal is in charged state and described second collection electricity is less than or equal to described second initial charge, or when mobile terminal be in non-charged state and described second gather electricity be more than or equal to described second initial charge time, judging described second, to gather electricity be not the current true electricity of battery;
Second update module, for when described second to gather electricity be not the current true electricity of battery, keep described second initial charge constant; Otherwise, if mobile terminal is in charged state, control upgrade described second initial charge be described second initial charge add 1 and, if mobile terminal is in non-charged state, upgrading described second initial charge is the difference that the second initial charge subtracts 1;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown.
Described mobile terminal, wherein, also comprises:
Second distribution module, for distributing the second initial charge after renewal to each functional module of mobile terminal system.
The method of a kind of mobile terminal to update battery electric quantity provided by the present invention and mobile terminal, it, by a battery charging and discharging pre-estimation mechanism, carries out School Affairs correction to the battery electric quantity directly collected, can draw the electricity that battery is current accurately; Mobile terminal is made to add New function: can show that the current true electricity of battery is to carry out electricity renewal accurately, effectively prevent the unusual fluctuations occurred when mobile device upgrades battery electric quantity; And the present invention is without the need to specific hardware supports, realizes cost low, be conducive to applying in the portable mobile termianl come into operation in a large number.
Accompanying drawing explanation
Fig. 1 is the flow chart of the first embodiment of the method for a kind of mobile terminal to update battery electric quantity of the present invention.
Fig. 2 is the flow chart of the second embodiment of the method for a kind of mobile terminal to update battery electric quantity of the present invention.
Fig. 3 is the specific algorithm flow chart of the embodiment of the method for a kind of mobile terminal to update battery electric quantity of the present invention.
Fig. 4 is the first embodiment theory diagram of a kind of mobile terminal of the present invention.
Fig. 5 is the first acquisition module theory diagram of the first embodiment of a kind of mobile terminal of the present invention.
Fig. 6 is the first update module theory diagram of the first embodiment of a kind of mobile terminal of the present invention.
Fig. 7 is the theory diagram of the second embodiment of a kind of mobile terminal of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The method of a kind of mobile terminal to update battery electric quantity of the present invention, needed to test the corresponding relation recording described battery of mobile terminal voltage and electricity, shown in the following table [] of the described corresponding relation recorded in the present embodiment before enforcement:
table[]?=
{
The electricity that 100,100,100,100,100,100,99,99,99,99, // 4.11V – 4.2V are corresponding
The electricity that 99,98,98,97,97,96,96,95,95,94, // 4.01V – 4.1V are corresponding
The electricity that 93,93,92,91,90,90,89,88,87,86, // 3.91V – 4V are corresponding
The electricity that 85,84,83,82,80,79,78,76,75,73, // 3.81V – 3.9V are corresponding
The electricity that 72,70,69,67,65,63,61,58,56,53, // 3.71V – 3.8V are corresponding
The electricity that 50,47,44,40,36,31,27,24,22,19, // 3.61V – 3.7V are corresponding
The electricity that 17,14,12,10,9,8,7,6,6,5, // 3.51V – 3.6V are corresponding
The electricity that 5,4,4,4,4,3,3,3,3,3, // 3.41V – 3.5V are corresponding
The electricity that 2,2,2,2,2,2,2,1,1,1, // 3.31V – 3.4V are corresponding
The electricity that 1,1,1,1,1,1,1,1,0,0, // 3.21V – 3.3V is corresponding
The electricity that 0,0,0,0,0,0,0,0,0,0, // 3.11V – 3.2V is corresponding
The electricity that 0,0,0,0,0,0,0,0,0,0, // 3.01V – 3.1V is corresponding
The electricity that 0,0 // 2.99V – 3V is corresponding
};
Based on the corresponding relation of above-mentioned battery of mobile terminal voltage and electricity, in mobile terminal system, set up a voltage electricity conversion table in advance.On this basis, the flow chart of the first embodiment of the method for a kind of mobile terminal to update battery electric quantity of the present invention as shown in Figure 1, said method comprising the steps of:
100, when mobile terminal system starts, gather cell voltage, and draw battery electric quantity (namely battery capacity of mobile terminal is mobile terminal system electricity) by the voltage electricity conversion table set up in advance, be designated as the first initial charge; Start a timer simultaneously, whether enter low-power consumption mode to detect described mobile terminal system within described timer predetermined time.
Setting described timer predetermined time in the present embodiment is 30 seconds, when described timer expiry, by the ADC(Analog to Digital Converter of triggering mobile terminals, analog-digital converter) gather cell voltage, timer restarts timing, with real-time update system charge simultaneously.When detecting that mobile terminal system enters low-power consumption mode within described timer predetermined time, then close described timer.Wherein, the characteristic feature of described low-power consumption mode is the backlight of mobile terminal, screen is in closed condition, and the characteristic feature of corresponding non-low-power consumption mode (also claiming high power consumption mode) is the backlight of mobile terminal, screen is in can operating state.
101, within described timer predetermined time, detect mobile terminal system and whether enter low-power consumption mode, when detecting that mobile terminal system enters low-power consumption mode, record move terminal system current time is T1, closes described timer.
102, receive user operation instruction and wake mobile terminal system up, recording described mobile terminal system current time is T2; And gather cell voltage and draw by described voltage electricity conversion table the first collection electricity that battery is current; Calculate described battery of mobile terminal simultaneously and subtract theoretical charge/discharge electricity amount in the T1 time at T2, enter step 103.
103, gather electricity and described first initial charge by described first to compare, judge that whether described first collection electricity is the current true electricity of battery in conjunction with described theoretical charge/discharge electricity amount.Enter step 104.
104, when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity; Otherwise calculate the current estimation electricity of described battery according to described theoretical charge/discharge electricity amount, then upgrading described first initial charge is described estimation electricity.
Primary cell electricity upgrades and terminates, and after distributing described renewal, the first initial charge is to each functional module of mobile terminal system.
Present invention also offers a kind of second embodiment of method of mobile terminal to update battery electric quantity, as shown in Figure 2, said method comprising the steps of:
200, gather cell voltage when mobile terminal starts and draw battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the second initial charge; Start a timer simultaneously, whether within described timer predetermined time, enter low-power consumption mode to detect mobile terminal system.
201, within described timer predetermined time, detect mobile terminal system and whether enter low-power consumption mode, if do not detect, mobile terminal system enters low-power consumption mode, then gather cell voltage when described timer expiry, and draw by described voltage electricity conversion table the second collection electricity that battery is current.
202, gather electricity and described second initial charge by described second to compare, judge described second collection electricity whether as the true electricity that battery is current according to the charging and discharging state of mobile terminal.In the embodiment of the present invention, described determination methods is: when mobile terminal is in charged state and described second collection electricity is less than or equal to described second initial charge, or when mobile terminal be in non-charged state and described second gather electricity be more than or equal to described second initial charge time, judging described second, to gather electricity be not the current true electricity of battery.
203, when described second to gather electricity be not the current true electricity of battery, then keep described second initial charge constant; Otherwise, if mobile terminal is in charged state, control upgrade described second initial charge be described second initial charge add 1 and, if when mobile terminal is in as non-charged state, upgrading described second initial charge is the difference that initial charge subtracts 1.
Finally, distribution upgrades rear second initial charge to each functional module of mobile terminal system.
Particularly, lift the method for specific embodiment to mobile terminal to update battery electric quantity of the present invention to be below further explained.As shown in Figure 3, when starting mobile terminal system, gather cell voltage and draw battery electric quantity by the voltage electricity conversion table set up in advance, being designated as initial charge C1; And start a timer.Within described timer predetermined time, detect mobile terminal system whether enter low-power consumption mode, when detecting that described mobile terminal system enters low-power consumption mode, record move terminal system current time is T1, closes described timer simultaneously.Now to operation two kinds of situations of battery electric quantity update, specifically see embodiment one and embodiment two.
Embodiment one: mobile terminal system enters low-power consumption mode, and described mobile terminal is in charged state.
As shown in Tu3Zhong 1 branch, mobile terminal receives the operational order that user lights screen, wake mobile terminal system up and enter non-low-power consumption mode to make it, namely high power consumption mode is entered, record move terminal system current time is T2, show that the time span that mobile terminal system is in low-power consumption mode is T=T2-T1.Control the ADC started in mobile terminal system and gather cell voltage, draw corresponding battery electric quantity by described voltage electricity conversion table, namely draw and be designated as C2 by the collection electricity that battery is current; Calculate that described battery of mobile terminal in described time T is theoretic is maximumly filled with electricity simultaneously, be designated as Q0.The computational methods of described Q0 are: first measure the charging ability K(of described battery and the maximum electricity be filled with per second, such as 360mA charging current is charged to 1000mAh battery, so K=0.01), K is multiplied by described time T and namely obtains maximum in time T of described battery and be filled with electricity Q0.
Described C2 and C1 is controlled to compare, if C2<=C1, because when mobile terminal is in charged state, its battery electric quantity can not reduce, therefore the C2 true electricity that certainly not battery is current can be judged, now maintaining described battery capacity of mobile terminal is C1, and the true electricity namely giving tacit consent to battery current is C1.
If described C2>C1, the difference and the described Q0 that then further described C2 are subtracted C1 compare, as C2-C1>Q0, maximumly electricity is filled with because described Q0 is that described battery of mobile terminal is theoretic in time T, therefore can judge that described C2 is not the current true electricity of battery, control C1 and Q0's and as the current estimation electricity of battery, then control the initial charge C1=C1+Q0 of more new record.As C2-C1<=Q0, then can judge that described C2 is the current true electricity of battery, control to upgrade C1=C2.Then the described initial charge after renewal is distributed to each functional module of described mobile terminal system, restarts described timer simultaneously.Specifically by the following is codes implement:
If (the initial charge C1 that current collection electricity C2> records and charged state and low-power consumption mode)
{
If(C2>C1+K*T)
Battery electric quantity update is C1+K*T;
Else
Battery electric quantity update is C2;
}
Else
{
The value C1 of the initial charge before battery electric quantity keeps, ignores the current battery electric quantity gathering acquisition;
}
Such as: the initial charge C1=50(battery electric quantity of hypothetical record is 100 to the maximum, 50 be 50% electricity), current collection electricity C2=53, T1=12:30:00, T2=12:31:40, so T=100 second, suppose described battery of mobile terminal charging ability K=0.01, can obtain Q0=1, due to C2-C1>Q0, i.e. C2 > C1+Q0, so the current true electricity of the battery estimated is 51 (i.e. C1+Q0), upgrades initial charge C1=51.After distribution upgrades, initial charge 51 is to each functional module of mobile terminal system, restarts described timer simultaneously.
Embodiment two: mobile terminal system enters low-power consumption mode, and described mobile terminal is in non-charged state.
As shown in Tu3Zhong 2 branch, receive the operational order that user wakes screen up, waking mobile terminal system up makes it enter high power consumption mode, and record move terminal system current time is T02, show that the time span that mobile terminal system is in low-power consumption mode is T0=T02-T1.Control the ADC started in mobile terminal system simultaneously and gather the current voltage of battery, drawn by described voltage electricity correspondence table and be designated as C02 by the collection electricity that battery is current; Calculate the theoretic maximum power consumption electricity of battery in described time T0 simultaneously, be designated as Q00.
Described C02 and C1 is compared, if C02>=C1, because when mobile terminal is in non-charged state, battery electric quantity may increase scarcely, therefore the C02 true electricity that certainly not battery is current can be judged, now do not upgrade battery electric quantity, namely maintaining battery electric quantity is initial charge C1.
If described C02<C1, the value and the described Q00 that then further described C1 are subtracted C02 compare, as C1-C02>Q00, because described Q00 is described battery of mobile terminal theoretic maximum power consumption electricity in time T0, therefore can judge that described C02 is not the current true electricity of battery, control the difference of C1-Q00 as the current estimation electricity of battery; Control to upgrade C1=C1-Q00.As C1-C02<=Q00, then can judge that described C02 is is the current true electricity of battery, controls to upgrade C1=C02.Then the initial charge C1 after upgrading is distributed to each functional module in mobile terminal system, restarts described timer simultaneously, and again monitor described mobile terminal and whether enter low-power consumption mode.Specifically by the following is codes implement:
If (the initial charge C1 that current collection electricity C02 < records and non-charged state and low-power consumption mode)
{
If(C02<C1-K*T0)
Battery electric quantity update is C1-K*T0;
Else
Battery electric quantity update is C02;
}
Else
{
The value keeping battery electric quantity is C1, ignores the battery electric quantity of current collection;
}
Such as: the initial charge C1=50 of hypothetical record, C2=47, T1=12:30:00, T02=12:40:00, K=0.01, so T0=600 second, Q00=6, due to C02 < C1 and C02 > C1-K*T0, so initial charge C1 just should be updated to C02, namely current battery charge is updated to 47, and other modules being distributed to mobile terminal system use.
Therefore, as as described in above-described embodiment one, two, when mobile terminal system enters high power consumption mode by low-power consumption, according to battery charging ability or power consumption ability, estimate that described battery of mobile terminal within the low-power consumption mode time period is theoretic is maximumly filled with electricity (charged state) or maximum power consumption electricity (non-charged state).When described collection electricity charge status that is obvious and described battery of mobile terminal is run counter to, namely gather electricity described in charged state and be less than described initial charge on the contrary, or described collection electricity is greater than described initial charge on the contrary during non-charged state, then keep battery electric quantity constant; When the changing value of the initial charge gathering the relatively last record of electricity exceeds the theoretic maximum charge/discharge electricity amount of battery, be maximumly filled with electricity (charged state) or maximum power consumption electricity (non-charged state) estimates the current true electricity of battery according to described; Otherwise gather collection electricity that cell voltage obtains for the current true electricity of battery with current ADC, control the battery electric quantity of more new record and distribution upgrade after battery electric quantity to other functional modules of mobile terminal system.
Based on above-mentioned first embodiment and specific embodiment one, two, the invention provides a kind of mobile terminal adopting the method for described mobile terminal to update battery electric quantity, as Fig. 4, comprising:
First initial module 410, for gathering cell voltage when mobile terminal system starts, and drawing battery system electricity by the voltage electricity conversion table set up in advance, being designated as the first initial charge; Start a timer simultaneously, whether within described timer predetermined time, enter low-power consumption mode to monitor mobile terminal system.Concrete with reference to described in Fig. 1 and embodiment.
Detection module 420, whether enter low-power consumption mode for detecting mobile terminal system within described timer predetermined time; when detecting that mobile terminal system enters low-power consumption mode; the time that record move terminal system enters low-power consumption mode is the very first time, closes described timer; Concrete with reference to described in Fig. 1 and embodiment.
First acquisition module 430, for receiving user operation instruction waken system, record move terminal system current time was the second time; Gather cell voltage simultaneously and draw by described voltage electricity conversion table the first collection electricity that battery is current; And calculate the theoretic charge/discharge electricity amount of battery within the described time very first time to the second; Concrete with reference to described in Fig. 1 and embodiment.
First judge module 440, to compare for gathering electricity and described first initial charge by described first, judging that whether described first collection electricity is the current true electricity of battery in conjunction with the theoretic charge/discharge electricity amount of battery; Concrete with reference to described in Fig. 1 and embodiment.
First update module 450, for when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity; Otherwise, calculate the current estimation electricity of battery according to the theoretic charge/discharge electricity amount of battery, and to upgrade described first initial charge be described estimation electricity; Concrete with reference to described in Fig. 1 and embodiment.
Further, described mobile phone also comprises:
First distribution module 460, for distributing the first initial charge after renewal to each functional module of mobile terminal system.
Preferably, as shown in Figure 5, described first acquisition module 430 comprises:
Collecting unit 431, for receiving user operation instruction waken system, record move terminal system current time was the second time; Gather cell voltage simultaneously and draw by described voltage electricity conversion table the first collection electricity that battery is current;
Charging computing unit 432, for calculate when mobile terminal is in charged state within the described time period very first time to the second, battery is theoretic is maximumly filled with electricity;
Power consumption computing unit 433, for when mobile terminal is in non-charged state calculate within the described time period very first time to the second the theoretic maximum power consumption electricity of battery;
Described first judge module 440 specifically for, described first collection electricity and described first initial charge are compared, when described mobile terminal be in charged state and described first gather electricity be greater than described first initial charge and its difference be less than described maximum be filled with electricity time, or when described mobile terminal be in non-charged state and described first initial charge be greater than described first gather electricity and its difference be less than described maximum power consumption electricity time, judge that described first gathers electricity as the current true electricity of battery.
Preferably, as shown in Figure 6, described first update module 450 comprises:
First updating block 451, for when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity;
Second updating block 452, for when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in charged state, then calculate the current estimation electricity of battery according to the theoretic maximum electricity that is filled with of battery and upgrade described first initial charge, being specially:
When described first collection electricity is less than described first initial charge, keep described first initial charge constant, when described first gather electricity be greater than described first initial charge and its difference be greater than described maximum be filled with electricity time, calculate described first initial charge and described maximum be filled with electricity and as the current estimation electricity of battery, upgrading described first initial charge is described estimation electricity;
3rd updating block 453, for when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in non-charged state, then calculate the current estimation electricity of battery according to the theoretic maximum power consumption electricity of battery and upgrade the first initial charge, being specially:
When described first collection electricity is greater than described first initial charge, keep described first initial charge constant, when described first initial charge is greater than described first collection electricity and its difference is greater than described maximum power consumption electricity, the difference calculating described first initial charge and described maximum power consumption electricity is as the current estimation electricity of battery, and upgrading described first initial charge is described estimation electricity.
Further, if do not detect that mobile terminal system enters low-power consumption mode within the described timer scheduled time, also there are two kinds of situations to the renewal of battery electric quantity in the present invention, embodiment three specific as follows and embodiment four.
Embodiment three: described mobile terminal system is high power consumption mode, and described mobile terminal is in the state of charging.
As shown in Tu3Zhong 3 branch, when not detecting that mobile terminal system enters low-power consumption mode within the described scheduled time, triggering described ADC and gathering the current voltage of battery, drawn by described voltage-capacity correspondence table and be designated as M2 by the collection electricity that battery is current.
Control described M2 and C1 to compare, owing to being charging, battery electric quantity can not reduce, and just upgrades battery electric quantity so only have during the initial charge of record before described collection electricity is greater than.Even M2<=C1, then maintaining battery electric quantity is C1, namely mobile terminal system acquiescence using described C1 as the current true electricity of battery.If described M2>C1, then controlling to upgrade battery electric quantity is C1+1, namely controls to upgrade described initial charge C1=C1+1.Battery electric quantity after renewal is distributed to each functional module of mobile terminal system, restarts described timer simultaneously.
It should be noted that, in the embodiment of the present invention, mobile terminal system is in the increase of battery electric quantity under high power consumption mode or reduces to measure in units of 1, can avoid the situation that battery electric quantity alters a great deal suddenly, specifically by the following is codes implement:
If (the initial charge C1 that current collection electricity M2> records and charged state and high power consumption mode)
{
Upgrade battery electric quantity C1=C1+1;
}
Else
{
The C1 of the record before battery electric quantity keeps, the battery electric quantity that current collection obtains is left in the basket;
}
Embodiment four: described mobile terminal system is high power consumption mode, and described mobile terminal is in the state of non-charging.
As shown in Tu3Zhong 4 branch, when described timer expiry; Trigger the voltage that described ADC gathers present battery, drawn by described voltage electricity correspondence table and be designated as M02 by the collection electricity that battery is current.
Described M02 and C1 is controlled to compare, if M02>=C1, because battery electric quantity when mobile terminal is in non-charged state must be reduce, therefore the M02 true electricity that certainly not battery is current can be judged, now maintaining battery electric quantity is that initial charge C1 does not upgrade, and the true electricity namely giving tacit consent to battery current is initial charge C1.If described M02<C1, control battery current electric quantity to be updated to C1-1, and the initial charge C1=C1-1 of more new record.Then the initial charge C1 after renewal is distributed to each functional module in mobile terminal system, restarts described timer simultaneously.Specifically by the following is codes implement:
If (the initial charge C1 that current collection electricity M02 < records and non-charged state and high power consumption mode)
{
Renewal battery electric quantity is C1-1;
}
Else
{
Initial charge C1 before mobile terminal system keeps, the battery electric quantity that current collection obtains is left in the basket;
}
Therefore, by the method for the mobile terminal to update battery electric quantity described in the above embodiment of the present invention three, four, when mobile terminal system is in high power consumption mode, periodic collection cell voltage draws the collection electricity that battery is current, first the initial charge of described collection electricity and preservation is compared, only have when described collection electricity is greater than initial charge (during charging) or is less than initial charge (during non-charged state), just battery electric quantity is upgraded, otherwise do not upgrade battery electric quantity.Effectively prevent the recurrent fluctuations situation occurred when upgrading battery electric quantity, make the managing electric quantity of mobile terminal more accurate.
Based on above-described embodiment three and four, present invention also offers a kind of mobile terminal adopting the method for mobile terminal to update battery electric quantity described above, as shown in Figure 7, the mobile terminal of the present embodiment comprises:
Second initial module 510, for gathering cell voltage draw battery electric quantity by the voltage electricity conversion table prestored in systems in which when mobile terminal starts, be designated as the second initial charge, start a timer simultaneously, whether enter low-power consumption mode to detect mobile terminal system within described timer predetermined time; Wherein, the characteristic feature of described low-power consumption mode is the backlight of mobile terminal, screen is in the state of closedown.Specifically as described in Fig. 2 and embodiment.
If the second acquisition module 520, for not detecting that mobile terminal system enters low-power consumption mode within described timer predetermined time, when described timer expiry, gather cell voltage and draw by described voltage electricity conversion table the second collection electricity that battery is current; Specifically as described in Fig. 2 and embodiment.
Second judge module 530, to compare for gathering electricity and described second initial charge by described second, when mobile terminal is in charged state and described second collection electricity is less than or equal to described second initial charge, or when mobile terminal be in non-charged state and described second gather electricity be more than or equal to described second initial charge time, judging described second, to gather electricity be not the current true electricity of battery; Specifically as described in Fig. 2 and embodiment.
Second update module 540, for when described second to gather electricity be not the current true electricity of battery, keep described second initial charge constant; Otherwise, if mobile terminal is in charged state, control upgrade described second initial charge be described second initial charge add 1 and, if mobile terminal is in non-charged state, upgrading described second initial charge is the difference that the second initial charge subtracts 1; Specifically as described in Fig. 2 and embodiment.
Preferably, described mobile terminal also comprises:
Second distribution module 550, for distributing the second initial charge after renewal to each functional module of mobile terminal system.
In sum, the method for a kind of mobile terminal to update battery electric quantity provided by the present invention and mobile terminal, it, by a battery charging and discharging pre-estimation mechanism, carries out School Affairs correction to the battery electric quantity directly collected, draws battery electric quantity accurately thus; Mobile terminal is made to add New function by the present invention: the true electricity that battery is current can be drawn accurately and carry out electricity renewal, the unusual fluctuations occurred when effectively prevent mobile terminal to update battery electric quantity; And the present invention is without the need to specific hardware supports, realizes cost low, be conducive to applying in the portable mobile termianl come into operation in a large number.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.
Claims (10)
1. a method for mobile terminal to update battery electric quantity, is characterized in that, comprises step:
When S1, mobile terminal system start, gather cell voltage and draw battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the first initial charge; Start a timer simultaneously;
S2, within described timer predetermined time, detect mobile terminal system whether enter low-power consumption mode, when detecting that mobile terminal system enters low-power consumption mode, the time that record move terminal system enters low-power consumption mode is the very first time, closes described timer;
S3, reception user operation instruction wake mobile terminal system up, and recording described mobile terminal system current time was the second time; Control to gather cell voltage and draw by described voltage electricity conversion table the first collection electricity that battery is current; Calculate the theoretical charge/discharge electricity amount of battery within the described time very first time to the second simultaneously;
S4, gather electricity and described first initial charge by described first and compare, judge that whether described first collection electricity is the current true electricity of battery in conjunction with described theoretical charge/discharge electricity amount;
S5, when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity; Otherwise calculate the current estimation electricity of battery according to described theoretical charge/discharge electricity amount, upgrading described first initial charge is described estimation electricity;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown; Waken system accuses that mobile terminal processed enters non-low-power consumption mode;
The theoretical charge/discharge electricity amount of the battery within the described time very first time to the second of the calculating in described step S3 specifically comprises step:
If the described mobile terminal of step S31 is in charged state, then calculate that battery within the described time very first time to the second is theoretic is maximumly filled with electricity;
If the described mobile terminal of step S32 is in non-charged state, then calculate the theoretic maximum power consumption electricity of battery within the described time very first time to the second;
Described step S4 specifically comprises step:
If the described mobile terminal of step S41 is in charged state, described first collection electricity and the first initial charge is controlled to compare, when described first gather electricity be greater than described first initial charge and its difference be less than described maximum be filled with electricity time, judge that described first gathers electricity as the current true electricity of battery;
If the described mobile terminal of step S42 is in non-charged state, described first collection electricity and the first initial charge is controlled to compare, when described first initial charge is greater than described first collection capacity and its difference is less than described maximum power consumption electricity, judge that described first gathers electricity as the current true electricity of battery.
2. the method for mobile terminal to update battery electric quantity according to claim 1, is characterized in that, also comprises step after described step S5:
The first initial charge after S6, distribution upgrade is to each functional module of mobile terminal system.
3. the method for mobile terminal to update battery electric quantity according to claim 1, is characterized in that, described step S5 comprises step:
S51, when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity;
S52, when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in charged state, then calculates the current estimation electricity of battery according to the theoretic maximum electricity that is filled with of battery and upgrade described first initial charge, being specially:
When described first collection electricity is less than described first initial charge, keep described first initial charge constant; When described first gather electricity be greater than described first initial charge and its difference be greater than described maximum be filled with electricity time, calculate described first initial charge and described maximum be filled with electricity and as the current estimation electricity of battery, upgrading described first initial charge is described estimation electricity;
S53, when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in non-charged state, then calculates the current estimation electricity of battery according to the theoretic maximum power consumption electricity of battery and upgrade described first initial charge, being specially:
When described first collection electricity is greater than described first initial charge, keep described first initial charge constant; When described first initial charge is greater than described first collection electricity and its difference is greater than described maximum power consumption electricity, the difference calculating described first initial charge and described maximum power consumption electricity is as the current estimation electricity of battery, and upgrading described first initial charge is described estimation electricity.
4. adopt a mobile terminal for the method for mobile terminal to update battery electric quantity described in claim 1, it is characterized in that, comprising:
First initial module, for gathering cell voltage when mobile terminal system starts, and drawing battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the first initial charge; Start a timer simultaneously;
Detection module, whether enter low-power consumption mode for detecting mobile terminal system within described timer predetermined time; when detecting that mobile terminal system enters low-power consumption mode; the time that record move terminal system enters low-power consumption mode is the very first time, closes described timer;
First acquisition module, wake mobile terminal system up for receiving user operation instruction, recording described mobile terminal system current time was the second time; Gather cell voltage and draw by described voltage electricity conversion table the first collection electricity that battery is current; And calculate the theoretic charge/discharge electricity amount of battery within the described time very first time to the second;
First judge module, to compare for gathering electricity and described first initial charge by described first, judging that whether described first collection electricity is the current true electricity of battery in conjunction with the theoretic charge/discharge electricity amount of battery;
First update module, for when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity; Otherwise, calculate the current estimation electricity of battery according to the theoretic charge/discharge electricity amount of battery, and to upgrade described first initial charge be described estimation electricity;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown; Waken system accuses that mobile terminal system processed enters non-low-power consumption mode;
Described first acquisition module comprises:
Collecting unit, wake mobile terminal system up for receiving user operation instruction, recording described mobile terminal system current time was the second time; Gather cell voltage simultaneously and draw by described voltage electricity conversion table the first collection electricity that battery is current;
Charging computing unit, for calculate when mobile terminal is in charged state within the described time period very first time to the second, battery is theoretic is maximumly filled with electricity;
Power consumption computing unit, for when mobile terminal is in non-charged state calculate within the described time period very first time to the second the theoretic maximum power consumption electricity of battery;
Described first judge module specifically for, described first collection electricity and described first initial charge are compared, when described mobile terminal be in charged state and described first gather electricity be greater than described first initial charge and its difference be less than described maximum be filled with electricity time, or when described mobile terminal be in non-charged state and described first initial charge be greater than described first gather electricity and its difference be less than described maximum power consumption electricity time, judge that described first gathers electricity as the current true electricity of battery.
5. mobile terminal according to claim 4, is characterized in that, also comprises:
First distribution module, for distributing the first initial charge after renewal to each functional module of mobile terminal system.
6. mobile terminal according to claim 5, is characterized in that, described first update module comprises:
First updating block, for when described first to gather electricity be the current true electricity of battery, upgrading described first initial charge is described first gather electricity;
Second updating block, for when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in charged state, then calculate the current estimation electricity of battery according to the theoretic maximum electricity that is filled with of battery and upgrade described first initial charge, being specially:
When described first collection electricity is less than described first initial charge, keep described first initial charge constant; When described first gather electricity be greater than described first initial charge and its difference be greater than described maximum be filled with electricity time, calculate described first initial charge and described maximum be filled with electricity and as the current estimation electricity of battery, upgrading described first initial charge is described estimation electricity;
3rd updating block, for when described first to gather electricity be not the current true electricity of battery, if mobile terminal is in non-charged state, then calculate the current estimation electricity of battery according to the theoretic maximum power consumption electricity of battery and upgrade the first initial charge, being specially:
When described first collection electricity is greater than described first initial charge, keep described first initial charge constant; When described first initial charge is greater than described first collection electricity and its difference is greater than described maximum power consumption electricity, the difference calculating described first initial charge and described maximum power consumption electricity is as the current estimation electricity of battery, and upgrading described first initial charge is described estimation electricity.
7. a method for mobile terminal to update battery electric quantity, is characterized in that, comprises step:
Gather cell voltage when L1, mobile terminal system start and draw battery electric quantity by the voltage electricity conversion table set up in advance, being designated as the second initial charge; Start a timer simultaneously;
L2, within described timer predetermined time, detect mobile terminal system whether enter low-power consumption mode, if do not detect, mobile terminal system enters low-power consumption mode, then gather cell voltage when described timer expiry, and draw by described voltage electricity conversion table the second collection electricity that battery is current;
L3, gather electricity and described second initial charge by described second and compare, when mobile terminal is in charged state and described second collection electricity is less than or equal to described second initial charge, or when mobile terminal be in non-charged state and described second gather electricity be more than or equal to described second initial charge time, judging described second, to gather electricity be not the current true electricity of battery;
L4, when described second to gather electricity be not the current true electricity of battery, keep described second initial charge constant; Otherwise, if mobile terminal is in charged state, control upgrade described second initial charge be described second initial charge add 1 and, if when mobile terminal is in non-charged state, upgrading described second initial charge is the difference that the second initial charge subtracts 1;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown;
Increase or the reduction of battery capacity of mobile terminal are measured in units of 1.
8. the method for mobile terminal to update battery electric quantity according to claim 7, is characterized in that, also comprises step after described step L4:
The second initial charge after L5, distribution upgrade is to each functional module of mobile terminal system.
9. adopt a mobile terminal for the method for mobile terminal to update battery electric quantity described in claim 7, it is characterized in that, comprising:
Second initial module, for gathering cell voltage draw battery electric quantity by the voltage electricity conversion table be stored in advance in mobile terminal system when mobile terminal system starts, be designated as the second initial charge, start a timer simultaneously, whether enter low-power consumption mode to detect mobile terminal system within described timer predetermined time;
If the second acquisition module, for not detecting that mobile terminal system enters low-power consumption mode within described timer predetermined time time, then gather cell voltage also when described timer expiry, and draw by described voltage electricity conversion table the second collection electricity that battery is current;
Second judge module, to compare for gathering electricity and described second initial charge by described second, when mobile terminal is in charged state and described second collection electricity is less than or equal to described second initial charge, or when mobile terminal be in non-charged state and described second gather electricity be more than or equal to described second initial charge time, judging described second, to gather electricity be not the current true electricity of battery;
Second update module, for when described second to gather electricity be not the current true electricity of battery, keep described second initial charge constant; Otherwise, if mobile terminal is in charged state, control upgrade described second initial charge be described second initial charge add 1 and, if mobile terminal is in non-charged state, upgrading described second initial charge is the difference that the second initial charge subtracts 1;
Wherein, the state that described low-power consumption mode refers to the backlight of mobile terminal, screen is in closedown;
Increase or the reduction of battery capacity of mobile terminal are measured in units of 1.
10. mobile terminal according to claim 9, is characterized in that, also comprises:
Second distribution module, for distributing the second initial charge after renewal to each functional module of mobile terminal system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210432286.1A CN102946479B (en) | 2012-11-02 | 2012-11-02 | Method for mobile terminal to update electric quantity of battery and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210432286.1A CN102946479B (en) | 2012-11-02 | 2012-11-02 | Method for mobile terminal to update electric quantity of battery and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102946479A CN102946479A (en) | 2013-02-27 |
CN102946479B true CN102946479B (en) | 2015-01-21 |
Family
ID=47729384
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210432286.1A Active CN102946479B (en) | 2012-11-02 | 2012-11-02 | Method for mobile terminal to update electric quantity of battery and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102946479B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991191B (en) * | 2015-05-06 | 2018-12-07 | 惠州Tcl移动通信有限公司 | The system and method for dynamic detection battery capacity of mobile terminal |
US11036272B2 (en) | 2015-12-23 | 2021-06-15 | Huawei Technologies Co., Ltd. | Method and apparatus for adjusting display interface of screen, user interface, electronic device, and storage medium |
CN105425166B (en) * | 2015-12-31 | 2020-08-28 | 上海博泰悦臻网络技术服务有限公司 | Battery electric quantity detection method and device |
CN106230058B (en) * | 2016-08-25 | 2019-04-30 | 惠州Tcl移动通信有限公司 | A kind of seat of mobile terminal fills charge display method and system |
CN106680728A (en) * | 2016-12-30 | 2017-05-17 | 深圳天珑无线科技有限公司 | Electricity quantity detecting method and device |
CN106950501B (en) * | 2017-03-09 | 2019-06-25 | 福建飞毛腿动力科技有限公司 | A kind of remaining capacity calculation method of Li-ion batteries piles |
CN107390126A (en) * | 2017-06-06 | 2017-11-24 | 广州视源电子科技股份有限公司 | Battery power display control method and display control device of electronic equipment |
CN107277906B (en) * | 2017-07-28 | 2019-09-24 | Oppo广东移动通信有限公司 | Mode selecting method, device, terminal and computer readable storage medium |
CN107910909B (en) * | 2017-11-01 | 2023-03-31 | 福建新大陆支付技术有限公司 | POS power supply system and electric quantity management method thereof |
CN108427621A (en) * | 2018-03-27 | 2018-08-21 | 广东欧珀移动通信有限公司 | Battery power quantity display method, device, electronic device and computer readable storage medium |
CN109116290B (en) * | 2018-06-14 | 2020-08-11 | 出门问问信息科技有限公司 | Optimization method and device for metering of equipment electricity meter and electronic equipment |
CN110618386B (en) * | 2018-06-19 | 2022-08-02 | 中兴通讯股份有限公司 | Battery electric quantity proportion detection method, equipment and computer readable storage medium |
CN108957348A (en) * | 2018-08-16 | 2018-12-07 | 厦门芯阳科技股份有限公司 | A kind of battery capacity evaluation method of low cost |
CN109523772B (en) * | 2018-12-29 | 2021-10-12 | 东莞钜威动力技术有限公司 | Voltage data transmission method, device, terminal and storage medium |
CN110213811B (en) * | 2019-05-14 | 2022-07-08 | 惠州Tcl移动通信有限公司 | Mobile terminal shutdown electric quantity control processing method, mobile terminal and storage medium |
CN111469713B (en) * | 2020-04-28 | 2021-11-12 | 东风汽车集团有限公司 | Passive equalization control method for new energy automobile power battery |
CN112834818B (en) * | 2021-01-05 | 2023-09-05 | 北京嘀嘀无限科技发展有限公司 | Method and device for determining electric quantity, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1810058A (en) * | 2003-07-02 | 2006-07-26 | 维夫康姆公司 | Method for estimating the remaining working life of a battery for a radiocommunication device |
CN101860060A (en) * | 2010-05-31 | 2010-10-13 | 中兴通讯股份有限公司 | Method and device for indicating electric quantity of rechargeable battery |
CN102014213A (en) * | 2010-12-22 | 2011-04-13 | 深圳市五巨科技有限公司 | Method and device for prompting remaining time of mobile terminal battery |
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN102721927A (en) * | 2012-05-04 | 2012-10-10 | 惠州Tcl移动通信有限公司 | Method and system for detecting battery electric quantity of mobile device |
-
2012
- 2012-11-02 CN CN201210432286.1A patent/CN102946479B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1810058A (en) * | 2003-07-02 | 2006-07-26 | 维夫康姆公司 | Method for estimating the remaining working life of a battery for a radiocommunication device |
CN101860060A (en) * | 2010-05-31 | 2010-10-13 | 中兴通讯股份有限公司 | Method and device for indicating electric quantity of rechargeable battery |
CN102014213A (en) * | 2010-12-22 | 2011-04-13 | 深圳市五巨科技有限公司 | Method and device for prompting remaining time of mobile terminal battery |
CN102375127A (en) * | 2011-11-11 | 2012-03-14 | 深圳市中兴移动通信有限公司 | Method for displaying residual battery electricity quantity of mobile terminal |
CN102721927A (en) * | 2012-05-04 | 2012-10-10 | 惠州Tcl移动通信有限公司 | Method and system for detecting battery electric quantity of mobile device |
Also Published As
Publication number | Publication date |
---|---|
CN102946479A (en) | 2013-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102946479B (en) | Method for mobile terminal to update electric quantity of battery and mobile terminal | |
CN102195304B (en) | Method and device for managing service time of cell and portable computer | |
CN103064027B (en) | A kind of 750KV intelligent wireless accumulator on-line monitoring and maintenance system | |
US9142980B2 (en) | Apparatus and method for controlling charge capacity balancing operation of secondary battery cell | |
US9297859B2 (en) | Battery-state monitoring system | |
CN102593540B (en) | A kind of battery activated method, module and terminal | |
US8975859B2 (en) | Energy storage system | |
US9225186B2 (en) | Method and device for controlling charge of battery | |
CN111845455A (en) | Charging control method and device for storage battery of electric vehicle | |
CN109228959A (en) | Electric bicycle intelligent charging system and charging method with fire-proof and explosion-proof function | |
CN108819738B (en) | Storage battery charging method, vehicle control unit, electric quantity monitoring device and electric vehicle | |
CN103311974B (en) | Battery charge control method and device | |
US10819138B2 (en) | Control method and control system for energy storage system having demand control and uninterrupted power supply functions | |
EP4310524A1 (en) | Energy storage system and method for correcting state-of-charge values thereof | |
CN103296703A (en) | Battery charging control method and electronic equipment | |
CN104765396A (en) | Mobile terminal based shutdown voltage dynamic adjusting method and system | |
CN112098864A (en) | Leakage current detection method and device, electronic equipment and storage medium | |
CN109494843A (en) | Battery control method, device and electronic equipment | |
CN104539005A (en) | Mobile terminal charging control system and method | |
CN101296439A (en) | System and method for displaying residual power-on time of mobile phone battery and saving power | |
CN103402026A (en) | Method for processing idle mode of mobile terminal and mobile terminal | |
CN107910909A (en) | A kind of POS electric power systems and its electric quantity managing method | |
CN111327107A (en) | Intelligent UPS power supply management system | |
NZ551097A (en) | Battery management apparatus | |
CN116114137A (en) | Electronic device control method, electronic device and storage medium |
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 |