CN109149701A - Portable device recharges display methods, device, equipment and the storage medium of electricity - Google Patents

Portable device recharges display methods, device, equipment and the storage medium of electricity Download PDF

Info

Publication number
CN109149701A
CN109149701A CN201811081563.2A CN201811081563A CN109149701A CN 109149701 A CN109149701 A CN 109149701A CN 201811081563 A CN201811081563 A CN 201811081563A CN 109149701 A CN109149701 A CN 109149701A
Authority
CN
China
Prior art keywords
portable
electricity
default
practical
power threshold
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.)
Granted
Application number
CN201811081563.2A
Other languages
Chinese (zh)
Other versions
CN109149701B (en
Inventor
刘兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Xiaotiancai Technology Co Ltd
Original Assignee
Guangdong Xiaotiancai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Xiaotiancai Technology Co Ltd filed Critical Guangdong Xiaotiancai Technology Co Ltd
Priority to CN201811081563.2A priority Critical patent/CN109149701B/en
Publication of CN109149701A publication Critical patent/CN109149701A/en
Application granted granted Critical
Publication of CN109149701B publication Critical patent/CN109149701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/0031Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using battery or load disconnect circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/0048Detection of remaining charge capacity or state of charge [SOC]
    • H02J7/0049Detection of fully charged condition

Abstract

The present invention is applicable in technical field of electronic equipment, provide the display methods that a kind of portable device recharges electricity, device, equipment and storage medium, this method comprises: the practical electricity to the portable device being electrically connected with charge power supply is monitored, to obtain the practical electricity of portable device, after the practical electricity for monitoring portable device reaches Full Charge Capacity, it is reduced to before default first power threshold, according to default display rule by the practical electricity conversion of portable device at the virtual electricity of portable device, and show the virtual electricity of portable device, after the practical electricity for monitoring portable device is reduced to default first power threshold, show the practical electricity of portable device, show that the error of electricity and practical electricity realizes battery and recharges the optimization that process electricity is shown in the process to recharge by reduction battery, And then improve the experience of portable apparatus user.

Description

Portable device recharges display methods, device, equipment and the storage medium of electricity
Technical field
The invention belongs to technical field of electronic equipment more particularly to a kind of portable device recharge electricity display methods, Device, equipment and storage medium.
Background technique
Currently, with the fast development of portable device technologies, possess the portable devices of various featured functions also therewith Universal, for example, smartwatch, smart phone, intelligent glasses etc., these portable devices all have small in size, portable spy Property, thus liked by users, slowly penetrate into the various aspects in user's studying and living.
However the advantage that portable device is small in size, portable, the problems in terms of its battery are also resulted in, for example, Battery recharges repeatedly, battery capacity display error is big etc..Portable device is in lasting charging, meeting after electricity reaches Full Charge Capacity Stop charging, portable device is standby and will consume a part of electricity, is further continued for charging after waiting electricity to fall back to preset value, this is The electricity of portable device recharges characteristic, is currently that there are two types of the methods of execution: 1, the producer the preset value is arranged higher, such as This, for user when taking portable device, the electricity of portable device is still higher, but to trigger battery frequently anti-for this method Return is filled, the service life in rapid wear power consumption pond;2, the part (for example, 95%* Full Charge Capacity etc.) of electricity abundance is all indicated with Full Charge Capacity, Remaining part divides electricity according to 100 parts of average divisions, but this method can make battery be unable to reach Full Power State, and electricity, which is shown always, to be had Error reduces user experience.
Summary of the invention
The purpose of the present invention is to provide display methods, device, equipment and storages that a kind of portable device recharges electricity Medium, it is intended to solve that a kind of display methods for effectively recharging electricity can not be provided due to the prior art, cause portable device aobvious Show that electricity and practical electricity persistently have the problem of large error.
On the one hand, the present invention provides the display methods that a kind of portable device recharges electricity, the method includes following Step:
The practical electricity for the portable device being electrically connected with charge power supply is monitored, to obtain the portable device Practical electricity;
After the practical electricity for monitoring the portable device reaches Full Charge Capacity, it is reduced to default first power threshold Before, according to the regular practical electricity conversion by the portable device of default display at the virtual electricity of the portable device Amount, and show the virtual electricity of the portable device;
After the practical electricity for monitoring the portable device is reduced to default first power threshold, institute is shown State the practical electricity of portable device.
On the other hand, the present invention provides the display device that a kind of portable device recharges electricity, described device includes:
Electric quantity monitoring unit is monitored for the practical electricity to the portable device being electrically connected with charge power supply, with Obtain the practical electricity of the portable device;
First display unit, for after reaching Full Charge Capacity in the practical electricity for monitoring the portable device, reduce To before default first power threshold, according to default display rule by the practical electricity conversion of the portable device at it is described just The virtual electricity of portable device, and show the virtual electricity of the portable device;And
Second display unit, for being reduced to default first electricity threshold when the practical electricity for monitoring the portable device When value is shown, electricity is carried out to the portable device and is recharged, and shows the practical electricity of the portable device.
On the other hand, it the present invention also provides a kind of portable device, including memory, processor and is stored in described In memory and the computer program that can run on the processor, the processor are realized when executing the computer program The step of recharging the display methods of electricity such as above-mentioned portable device.
On the other hand, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums It is stored with computer program, realizes that above-mentioned portable device such as recharges the aobvious of electricity when the computer program is executed by processor The step of showing method.
The practical electricity for the portable device that the present invention couple is electrically connected with charge power supply is monitored, to obtain portable set Standby practical electricity after the practical electricity for monitoring portable device reaches Full Charge Capacity, is reduced to default first electricity threshold Before value, according to default display rule by the practical electricity conversion of portable device at the virtual electricity of portable device, and show The virtual electricity for showing portable device, the practical electricity for monitoring portable device be reduced to default first power threshold it Afterwards, the practical electricity of portable device is shown, to recharge the mistake of display electricity and practical electricity in the process by reducing battery Difference realizes battery and recharges the optimization that process electricity is shown, and then improves the experience of portable apparatus user.
Detailed description of the invention
Fig. 1 is the implementation flow chart for the display methods that the portable device that the embodiment of the present invention one provides recharges electricity;
Fig. 2 is the implementation flow chart for the display methods that portable device provided by Embodiment 2 of the present invention recharges electricity;
Fig. 3 is the structural schematic diagram for the display device that the portable device that the embodiment of the present invention three provides recharges electricity;
Fig. 4 is the structural schematic diagram for the display device that the portable device that the embodiment of the present invention four provides recharges electricity;With And
Fig. 5 is the structural schematic diagram for the portable device that the embodiment of the present invention five provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Specific implementation of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one:
The portable device that Fig. 1 shows the offer of the embodiment of the present invention one recharges the implementation process of the display methods of electricity, For ease of description, only parts related to embodiments of the present invention are shown, and details are as follows:
In step s101, the practical electricity for the portable device being electrically connected with charge power supply is monitored, to obtain The practical electricity of portable device.
The embodiment of the present invention is suitable for portable device, for example, smartwatch, smart phone, intelligent glasses etc..In this hair In bright embodiment, the charge value that portable equipment screen is shown can be the practical electricity of portable device battery capacity, can also Think virtual electricity, which can obtain according to the practical electricity of battery capacity.Portable device is electrically connected with charge power supply When connecing, start to charge to portable device, before the practical electricity for monitoring portable device reaches Full Charge Capacity, display Electricity be portable device practical electricity (practical electricity accounting, i.e., the ratio of practical electricity and Full Charge Capacity), first to fill The practical electricity of the portable device of electric power electric connection is monitored, to obtain the practical electricity of portable device.
In step s 102, after the practical electricity for monitoring portable device reaches Full Charge Capacity, be reduced to default Before one power threshold, according to default display rule by the practical electricity conversion of portable device at the virtual electricity of portable device Amount, and show the virtual electricity of portable device.
In embodiments of the present invention, when the practical electricity of portable device reaches Full Charge Capacity, user is generally not just See, but just checks whether portable device electricity reaches Full Charge Capacity after having spent a period of time, and in this time, it is portable Formula device standby will consume a part of electricity, if showing practical electricity always, user will think that portable device is also not up to full Electricity, therefore, when the practical electricity for monitoring portable device reaches Full Charge Capacity, no matter the charging interface of portable device is No energization according to default display rule by the practical electricity conversion of portable device at the virtual electricity of portable device, and is shown The virtual electricity for showing portable device shows the virtual electricity of portable device in the error of permission, makes user in a timing Between delay in, still know that portable device has reached Full Charge Capacity, to improve user experience.
In step s 103, default first power threshold is reduced in the practical electricity for monitoring portable device show it Afterwards, the practical electricity of portable device is shown.
In embodiments of the present invention, recharging power threshold is that pre-set portable device carries out electricity after Full Charge Capacity The power threshold recharged, when the practical electricity for monitoring portable device is reduced to default first power threshold, to portable Equipment carries out electricity and recharges, and shows the practical electricity of portable device.
In embodiments of the present invention, the practical electricity for the portable device being electrically connected with charge power supply is monitored, with Obtain portable device practical electricity, after the practical electricity for monitoring portable device reaches Full Charge Capacity, be reduced to it is pre- If before the first power threshold, according to default display rule by the practical electricity conversion of portable device at the void of portable device Quasi- electricity, and show the virtual electricity of portable device, default first is reduced in the practical electricity for monitoring portable device After power threshold, the practical electricity of portable device is shown, to recharge display electricity and reality in the process by reducing battery The error of border electricity realizes battery and recharges the optimization that process electricity is shown, and then improves the experience of portable apparatus user.
Embodiment two:
Fig. 2 shows the implementation process that portable device provided by Embodiment 2 of the present invention recharges the display methods of electricity, For ease of description, only parts related to embodiments of the present invention are shown, and details are as follows:
In step s 201, the practical electricity for the portable device being electrically connected with charge power supply is monitored, to obtain The practical electricity of portable device.
The embodiment of the present invention is suitable for portable device, for example, smartwatch, smart phone, intelligent glasses etc..In this hair In bright embodiment, when portable device is electrically connected with charge power supply, start to charge to portable device, monitor it is portable Before the practical electricity of formula equipment reaches Full Charge Capacity, the electricity of display be portable device practical electricity (practical electricity accounting, The ratio of i.e. practical electricity and Full Charge Capacity), first the practical electricity for the portable device being electrically connected with charge power supply is monitored, To obtain the practical electricity of portable device.
In step S202, after the practical electricity for monitoring portable device reaches Full Charge Capacity, it is reduced to default Before one power threshold, according to default display rule by the practical electricity conversion of portable device at the virtual electricity of portable device Amount, and show the virtual electricity of portable device.
In embodiments of the present invention, when the practical electricity of portable device reaches Full Charge Capacity, user is generally not just See, but just checks whether portable device electricity reaches Full Charge Capacity after having spent a period of time, and in this time, it is portable Formula device standby will consume a part of electricity, if showing practical electricity always, user will think that portable device is also not up to full Electricity, therefore, after the practical electricity for monitoring portable device reaches Full Charge Capacity, be reduced to default first power threshold it Before, according to default display rule by the practical electricity conversion of portable device at the virtual electricity of portable device, and show just The virtual electricity of portable device shows the virtual electricity of portable device, prolongs user in certain time in the error of permission In late, still know that portable device has reached Full Charge Capacity.
In embodiments of the present invention, display rule is that the pre-set portable device that changes shows the rule followed when electricity Then, in the process according to the regular practical electricity conversion by portable device of default display at the virtual electricity of portable device In, it is preferable that when the practical electricity for monitoring portable device is not less than default second power threshold, by portable device Virtual electricity is set as Full Charge Capacity, when the practical electricity for monitoring portable device be lower than default second power threshold Full Charge Capacity, And when being higher than default first power threshold, according to formulaThe virtual electricity of portable device is carried out Setting, wherein P indicate portable device practical electricity and Full Charge Capacity ratio, P' indicate portable device virtual electricity with Full Charge Capacity ratio, P1For default first power threshold and Full Charge Capacity ratio, P2For the ratio for presetting the second power threshold and Full Charge Capacity Value presets the second power threshold and is greater than default first power threshold.It is not difficult to obtain by the formula, in the practical electricity of portable device Amount P* Full Charge Capacity gradually decreases down P1* during Full Charge Capacity, the gap of virtual electricity P'* Full Charge Capacity and practical electricity also gradually subtracts It is small, until it is equal, to reduce the error between virtual electricity and practical electricity and smoothly show electricity from virtual Electricity transits to practical electricity, and then the electricity optimized when portable device electricity recharges is shown.It is further preferred that default First power threshold is 90%* Full Charge Capacity, and presetting the second power threshold is 95%* Full Charge Capacity, to make returning for portable device Charge volume shows the use habit, more humane for being more in line with user, and then improves user experience.For example, practical electricity is When between 95%* Full Charge Capacity-Full Charge Capacity, virtual electricity is Full Charge Capacity, practical electricity take electricity ratio be respectively 94%, 93%, 92%, 91% and 90% when, it is respectively 98%, 96%, 94%, 92% and that corresponding virtual electricity, which takes electricity ratio, 90%.
In step S203, default first power threshold is reduced in the practical electricity for monitoring portable device and shows it Afterwards, the practical electricity of portable device is shown.
In embodiments of the present invention, recharging power threshold is that pre-set portable device carries out electricity after Full Charge Capacity The power threshold recharged, when the practical electricity for monitoring portable device, which is reduced to default first power threshold, to be shown, to portable Formula equipment carries out electricity and recharges, and shows the practical electricity of portable device.
In step S204, portable device is monitored with being electrically connected for charge power supply, judges that portable device is It is no to be disconnected with charge power supply.
In embodiments of the present invention, after portable device is electrically connected with charge power supply, in the practical electricity to portable device While amount is monitored, portable device is monitored with being electrically connected for charge power supply, whether to judge portable device It is disconnected with charge power supply.
In step S205, when portable device does not disconnect with charge power supply, in the reality for monitoring portable device Electricity reaches after Full Charge Capacity and the practical electricity of portable device is reduced to before default first power threshold, suspends to just Portable device charges.
In embodiments of the present invention, after the practical electricity for monitoring portable device reaches Full Charge Capacity and portable The practical electricity of equipment is reduced to before default first power threshold, when portable device does not disconnect with charge power supply, pause It charges to portable device, meanwhile, the virtual electricity of the portable device is shown during this.
In step S206, when portable device does not disconnect with charge power supply, in the reality for monitoring portable device Electricity is reduced to after default first power threshold, is carried out electricity to portable device and is recharged.
In embodiments of the present invention, when portable device and charge power supply do not disconnect, also, portable set is being monitored Standby practical electricity is reduced to after default first power threshold, is carried out electricity to portable device and is recharged, meanwhile, filling later In electric process, the practical electricity of the portable device is shown until the electricity of portable device reaches Full Charge Capacity again.
In embodiments of the present invention, after the practical electricity for monitoring portable device reaches Full Charge Capacity, be reduced to it is pre- If before the first power threshold, it is preferable that when portable device is electrically connected disconnection with charge power supply, according to default display rule By the practical electricity conversion of portable device at the virtual electricity of portable device, and show the virtual electricity of portable device, To avoid electricity show jumping degree big, user experience is improved.
In embodiments of the present invention, the practical electricity for the portable device being electrically connected with charge power supply is monitored, together When portable device is monitored with being electrically connected for charge power supply, reach full electricity in the practical electricity for monitoring portable device It after amount, is reduced to before default first power threshold, according to the regular practical electricity conversion by portable device of default display At the virtual electricity of portable device, and the virtual electricity of portable device is shown, if judging portable device and charge power supply It does not disconnect, then pause charges to portable device, is reduced to default first in the practical electricity for monitoring portable device After power threshold, the practical electricity of portable device is shown, if judging, portable device does not disconnect with charge power supply, to just Portable device carries out electricity and recharges, so that recharging the error of display electricity and practical electricity in the process by reducing battery realizes Battery recharges the optimization that process electricity is shown, and effectively prevents frequently recharging for portable device, and then improve portable The experience of formula equipment user.
Embodiment three:
The portable device that Fig. 3 shows the offer of the embodiment of the present invention three recharges the structure of the display device of electricity, in order to Convenient for explanation, only parts related to embodiments of the present invention are shown, including:
Electric quantity monitoring unit 31 is monitored for the practical electricity to the portable device being electrically connected with charge power supply, To obtain the practical electricity of portable device;
First display unit 32, for after reaching Full Charge Capacity in the practical electricity for monitoring portable device, be reduced to Before default first power threshold, according to default display rule by the practical electricity conversion of portable device at portable device Virtual electricity, and show the virtual electricity of portable device;And
Second display unit 33, for being reduced to default first power threshold in the practical electricity for monitoring portable device After showing, and show the practical electricity of portable device.
In embodiments of the present invention, the practical electricity for the portable device being electrically connected with charge power supply is monitored, with Obtain portable device practical electricity, after the practical electricity for monitoring portable device reaches Full Charge Capacity, be reduced to it is pre- If before the first power threshold, according to default display rule by the practical electricity conversion of portable device at the void of portable device Quasi- electricity, and show the virtual electricity of portable device, default first is reduced in the practical electricity for monitoring portable device After power threshold, the practical electricity of portable device is shown, to recharge display electricity and reality in the process by reducing battery The error of border electricity realizes battery and recharges the optimization that process electricity is shown, and then improves the experience of portable apparatus user.
In embodiments of the present invention, portable device recharge the display device of electricity each unit can by corresponding hardware or Software unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, herein not To limit the present invention.The specific embodiment of each unit can refer to the description of embodiment one, and details are not described herein.
Example IV:
The portable device that Fig. 4 shows the offer of the embodiment of the present invention four recharges the structure of the display device of electricity, in order to Convenient for explanation, only parts related to embodiments of the present invention are shown, including:
Electric quantity monitoring unit 41 is monitored for the practical electricity to the portable device being electrically connected with charge power supply, To obtain the practical electricity of portable device;
First display unit 42, for after reaching Full Charge Capacity in the practical electricity for monitoring portable device, be reduced to Before default first power threshold, according to default display rule by the practical electricity conversion of portable device at portable device Virtual electricity, and show the virtual electricity of portable device;And
Second display unit 43, for being reduced to default first power threshold in the practical electricity for monitoring portable device After showing, the practical electricity of portable device is shown;
Monitoring judging unit 44 judges portable for being monitored to portable device with being electrically connected for charge power supply Whether equipment disconnects with charge power supply;
Charging pause unit 45, for monitoring portable device when portable device does not disconnect with charge power supply Practical electricity reach after Full Charge Capacity and the practical electricity of portable device is reduced to before default first power threshold, temporarily Stop charging to portable device;And
Electricity recharges unit 46, for monitoring portable device when portable device does not disconnect with charge power supply Practical electricity be reduced to after default first power threshold, to portable device carry out electricity recharge.
Wherein, the first display unit 42 includes:
First setting unit 421, for being not less than default second electricity threshold when the practical electricity for monitoring portable device When value, Full Charge Capacity is set by the virtual electricity of portable device;And
Second setting unit 422, for being lower than default second power threshold when the practical electricity for monitoring portable device Full Charge Capacity and when being higher than default first power threshold, according to formulaTo the virtual of portable device Electricity is configured.
In embodiments of the present invention, the practical electricity for the portable device being electrically connected with charge power supply is monitored, together When portable device is monitored with being electrically connected for charge power supply, reach full electricity in the practical electricity for monitoring portable device It after amount, is reduced to before default first power threshold, according to the regular practical electricity conversion by portable device of default display At the virtual electricity of portable device, and the virtual electricity of portable device is shown, if judging portable device and charge power supply It does not disconnect, then pause charges to portable device, is reduced to default first in the practical electricity for monitoring portable device After power threshold, the practical electricity of portable device is shown, if judging, portable device does not disconnect with charge power supply, to just Portable device carries out electricity and recharges, so that recharging the error of display electricity and practical electricity in the process by reducing battery realizes Battery recharges the optimization that process electricity is shown, and effectively prevents frequently recharging for portable device, and then improve portable The experience of formula equipment user.
In embodiments of the present invention, portable device recharge the display device of electricity each unit can by corresponding hardware or Software unit realizes that each unit can be independent soft and hardware unit, also can integrate as a soft and hardware unit, herein not To limit the present invention.The specific embodiment of each unit can refer to the description of embodiment two, and details are not described herein.
Embodiment five:
Fig. 5 show the embodiment of the present invention five offer portable device structure, for ease of description, illustrate only with The relevant part of the embodiment of the present invention.
The portable device 5 of the embodiment of the present invention includes processor 51, memory 52 and is stored in memory 52 simultaneously The computer program 53 that can be run on processor 51.The processor 41 is realized above-mentioned each portable when executing computer program 53 Formula equipment recharges the step in the display methods embodiment of electricity, such as shown in step S101 to S103 and Fig. 2 shown in FIG. 1 Step S201 to S206.Alternatively, processor 51 realizes that above-mentioned each portable device recharges electricity when executing computer program 53 The function of each unit in the display device embodiment of amount, such as unit 41 to 46 shown in unit 31 to 33 and Fig. 4 shown in Fig. 3 Function.
In embodiments of the present invention, it is portable to what is be electrically connected with charge power supply when which executes computer program The practical electricity of equipment is monitored, to obtain the practical electricity of portable device, in the practical electricity for monitoring portable device It measures after reaching Full Charge Capacity, be reduced to before default first power threshold, according to the regular reality by portable device of default display Border electricity conversion and shows the virtual electricity of portable device at the virtual electricity of portable device, is monitoring portable set Standby practical electricity is reduced to after default first power threshold, shows the practical electricity of portable device, to pass through reduction The error of display electricity and practical electricity realizes battery and recharges the optimization that process electricity is shown, Jin Erti during battery recharges The high experience of portable apparatus user.
The processor realizes that above-mentioned each portable device recharges the display methods implementation of electricity when executing computer program Step in example can refer to the description of embodiment one and embodiment two, and details are not described herein.
Embodiment five:
In embodiments of the present invention, a kind of computer readable storage medium is provided, which deposits Computer program is contained, which realizes that above-mentioned each portable device recharges the display of electricity when being executed by processor Step in embodiment of the method, for example, step S101 to S103 shown in FIG. 1 and step S201 to S206 shown in Fig. 2.Or Person, the computer program realize that above-mentioned each portable device recharges in the display device embodiment of electricity when being executed by processor Each unit, such as the function of unit 41 to 46 shown in unit 31 to 33 and Fig. 4 shown in Fig. 3.
In embodiments of the present invention, it is portable to what is be electrically connected with charge power supply after which is executed by processor The practical electricity of formula equipment is monitored, to obtain the practical electricity of portable device, in the reality for monitoring portable device Electricity reach Full Charge Capacity after, be reduced to before default first power threshold, according to default display rule by portable device Practical electricity conversion and shows the virtual electricity of portable device at the virtual electricity of portable device, monitor it is portable The practical electricity of equipment is reduced to after default first power threshold, shows the practical electricity of portable device, thus by subtracting The error of display electricity and practical electricity realizes battery and recharges the optimization that process electricity is shown during baby battery recharges, in turn Improve the experience of portable apparatus user.
The computer program realizes that above-mentioned each portable device recharges the display methods reality of electricity when being executed by processor Applying the step in example can refer to the description of embodiment one and embodiment two, and details are not described herein.
The computer readable storage medium of the embodiment of the present invention may include can carry computer program code any Entity or device, recording medium, for example, the memories such as ROM/RAM, disk, CD, flash memory.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all in spirit of the invention and Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within principle.

Claims (10)

1. the display methods that a kind of portable device recharges electricity, which is characterized in that the method includes the following steps:
The practical electricity for the portable device being electrically connected with charge power supply is monitored, to obtain the reality of the portable device Border electricity;
After the practical electricity for monitoring the portable device reaches Full Charge Capacity, be reduced to default first power threshold it Before, according to default display rule by the practical electricity conversion of the portable device at the virtual electricity of the portable device, And show the virtual electricity of the portable device;
After the practical electricity for monitoring the portable device is reduced to default first power threshold, display is described just The practical electricity of portable device.
2. the method as described in claim 1, which is characterized in that according to the regular reality by the portable device of default display Electricity conversion at the portable device virtual electricity the step of, comprising:
When the practical electricity for monitoring the portable device is not less than default second power threshold, by the portable device Virtual electricity be set as Full Charge Capacity, wherein default second power threshold is greater than default first power threshold;
When monitoring the practical electricity of the portable device lower than default second power threshold and be higher than described default the When one power threshold, according to formulaThe virtual electricity of the portable device is configured, In, P indicates that the ratio of practical electricity and Full Charge Capacity, P' indicate the ratio of virtual electricity and Full Charge Capacity, P1To preset the first electricity Threshold value and Full Charge Capacity ratio, P2For the ratio for presetting the second power threshold and Full Charge Capacity.
3. method according to claim 2, which is characterized in that default first power threshold is 90%* Full Charge Capacity, described Default second power threshold is 95%* Full Charge Capacity.
4. the method as described in claim 1, which is characterized in that the method also includes:
The portable device is monitored with being electrically connected for the charge power supply, judge the portable device whether with institute State charge power supply disconnection;
When the portable device and the charge power supply do not disconnect, reached in the practical electricity for monitoring the portable device After to Full Charge Capacity and the practical electricity of the portable device is reduced to before default first power threshold, is suspended to described Portable device charges;
When the portable device and the charge power supply do not disconnect, in the practical electricity drop for monitoring the portable device After default first power threshold, electricity is carried out to the portable device and is recharged.
5. the display device that a kind of portable device recharges electricity, which is characterized in that described device includes:
Electric quantity monitoring unit is monitored for the practical electricity to the portable device being electrically connected with charge power supply, to obtain The practical electricity of the portable device;
First display unit, for after reaching Full Charge Capacity in the practical electricity for monitoring the portable device, be reduced to it is pre- If before the first power threshold, according to default display rule by the practical electricity conversion of the portable device at described portable The virtual electricity of equipment, and show the virtual electricity of the portable device;And
Second display unit, for showing when the practical electricity for monitoring the portable device is reduced to default first power threshold When, electricity is carried out to the portable device and is recharged, and shows the practical electricity of the portable device.
6. device as claimed in claim 5, which is characterized in that the conversion display unit includes:
First setting unit, for being not less than default second power threshold when the practical electricity for monitoring the portable device When, Full Charge Capacity is set by the virtual electricity of the portable device;And
Second setting unit, for presetting the second electricity threshold lower than described when the practical electricity for monitoring the portable device When being worth and being higher than default first power threshold, according to formulaTo the virtual electricity of the portable device Amount is configured.
7. device as claimed in claim 6, which is characterized in that default first power threshold is 90%* Full Charge Capacity, described Default second power threshold is 95%* Full Charge Capacity.
8. device as claimed in claim 5, which is characterized in that described device further include:
Judging unit is monitored, for being monitored to the portable device with being electrically connected for the charge power supply, described in judgement Whether portable device disconnects with the charge power supply;
Charging pause unit, for when the portable device and the charge power supply do not disconnect, monitor it is described portable The practical electricity of formula equipment reaches after Full Charge Capacity and the practical electricity of the portable device is reduced to default first electricity threshold Before value, pause charges to the portable device;And
Electricity recharges unit, for when the portable device and the charge power supply do not disconnect, monitor it is described portable The practical electricity of formula equipment is reduced to after default first power threshold, is carried out electricity to the portable device and is recharged.
9. a kind of portable device, including memory, processor and storage are in the memory and can be in the processor The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to The step of any one of 4 the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of any one of such as Claims 1-4 of realization the method.
CN201811081563.2A 2018-09-17 2018-09-17 Display method, device, equipment and storage medium for recharging amount of portable equipment Active CN109149701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811081563.2A CN109149701B (en) 2018-09-17 2018-09-17 Display method, device, equipment and storage medium for recharging amount of portable equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811081563.2A CN109149701B (en) 2018-09-17 2018-09-17 Display method, device, equipment and storage medium for recharging amount of portable equipment

Publications (2)

Publication Number Publication Date
CN109149701A true CN109149701A (en) 2019-01-04
CN109149701B CN109149701B (en) 2020-12-18

Family

ID=64814408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811081563.2A Active CN109149701B (en) 2018-09-17 2018-09-17 Display method, device, equipment and storage medium for recharging amount of portable equipment

Country Status (1)

Country Link
CN (1) CN109149701B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177171A (en) * 2019-04-30 2019-08-27 Oppo广东移动通信有限公司 Mobile terminal and its electric quantity display method and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06138195A (en) * 1992-10-27 1994-05-20 Sanyo Electric Co Ltd Method for displaying charged capacity of battery during charging
CN102508172A (en) * 2011-11-23 2012-06-20 中兴通讯股份有限公司 Calculation method for electric quantities of battery, device and terminal
CN103018676A (en) * 2012-11-30 2013-04-03 苏州佳世达电通有限公司 Electronic equipment as well as device and method for displaying electric quantity of battery
CN104752784A (en) * 2015-03-18 2015-07-01 上海天奕达电子科技有限公司 Charging and discharging method and charging and discharging system
CN105277901A (en) * 2015-11-26 2016-01-27 广州视源电子科技股份有限公司 Method and apparatus for displaying battery power
CN106291390A (en) * 2016-10-13 2017-01-04 宁德时代新能源科技股份有限公司 Dump energy computational methods, device and battery bag during the charging of a kind of battery

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868001B (en) * 2012-09-20 2015-07-01 深圳市卓能新能源科技有限公司 Lithium ion cell electric quantity displaying method and lithium ion cell electric quanity displaying device
JP2014219332A (en) * 2013-05-10 2014-11-20 三洋電機株式会社 Calculation method of relative capacity of secondary battery for display

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06138195A (en) * 1992-10-27 1994-05-20 Sanyo Electric Co Ltd Method for displaying charged capacity of battery during charging
CN102508172A (en) * 2011-11-23 2012-06-20 中兴通讯股份有限公司 Calculation method for electric quantities of battery, device and terminal
CN103018676A (en) * 2012-11-30 2013-04-03 苏州佳世达电通有限公司 Electronic equipment as well as device and method for displaying electric quantity of battery
CN104752784A (en) * 2015-03-18 2015-07-01 上海天奕达电子科技有限公司 Charging and discharging method and charging and discharging system
CN105277901A (en) * 2015-11-26 2016-01-27 广州视源电子科技股份有限公司 Method and apparatus for displaying battery power
CN106291390A (en) * 2016-10-13 2017-01-04 宁德时代新能源科技股份有限公司 Dump energy computational methods, device and battery bag during the charging of a kind of battery

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177171A (en) * 2019-04-30 2019-08-27 Oppo广东移动通信有限公司 Mobile terminal and its electric quantity display method and computer readable storage medium

Also Published As

Publication number Publication date
CN109149701B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
US20190363567A1 (en) Battery charging method and electronic device
US8928289B1 (en) Power management of device with modular components
CN105703429B (en) A kind of charging method, mobile terminal, charging equipment and system
US9941724B2 (en) Method and apparatus for controlling charging in electronic device
Banerjee et al. Users and batteries: Interactions and adaptive energy management in mobile systems
KR100947697B1 (en) Method and system for discovering a power source on a peripheral bus
JP5306219B2 (en) Battery charger device with digital charge reduction loop
CN102834999B (en) There is the portable electric appts power manager of the current limiting feedback control loop amendment for making external power source stable
TWI374597B (en) System and method for efficiently implementing a battery controller for an electronic device
CN203387203U (en) Charging switching system possessing USB on-the-go (OTG) function
AU2015250147B2 (en) Load scheduling in multi-battery devices
US8793518B2 (en) Systems and methods for providing supplemental power to battery powered information handling systems
TWI353098B (en) Method for rapidly charging a universal serial bus
CN100357858C (en) Electronic device, method for controlling the same, information processing apparatus, and computer program
CN107925259B (en) System and method for battery charging
US9740258B2 (en) Hold-up energy storage and management
CN102684270B (en) Method for identifying type of universal serial bus (USB) chargers and USB device
CN102467969B (en) The method charged for the accessory power supply in data storage device and relevant device
EP2515416A1 (en) System, method and mobile terminal for sharing battery between mobile terminals
US8841798B2 (en) Method, apparatus for emergency power supply and device associated thereto
US20050200331A1 (en) Method and system for charging a battery
CN102353905B (en) Prediction method for battery life and apparatus for detecting battery life
JP2005085027A (en) Electrical appliance, computer device, power supply method, and program
US20030169022A1 (en) Power supply
US9372521B2 (en) Systems and methods for providing auxiliary reserve current for powering information handling systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant