A method for displaying a terminal charging status and a terminal. The method includes: displaying a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region; according to a ratio of the current electric quantity of the terminal battery to the electric quantity of the terminal battery being fully charged, displaying a filled region having the same ratio in the charging status region. The method for displaying a terminal charging status and the terminal can realize visually displaying a charging status and a charging progress of the terminal.
|
1. A method for displaying terminal charging status, comprising:
displaying a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region, wherein, the charging status region is displayed only when the terminal screen is in a lock-screen mode, and the charging status region is not displayed on the terminal screen when the terminal screen is unlocked and operated;
according to a ratio of a current electric quantity of the terminal battery to an electric quantity of the terminal battery being fully charged, displaying a filled region having the same ratio in the charging status region; and
controlling movements of the filled region in the charging status region according to different angles in inclination of the terminal.
9. A terminal, comprising:
a memory storing a plurality of program codes; and
a processor configured to execute the plurality of program codes for:
displaying a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region;
according to a ratio of a current electric quantity of the terminal battery to the electric quantity of the terminal battery being fully charged, displaying a filled region having the same ratio in the charging status region;
controlling movements of the filled region in the charging status region according to different angles in inclination of the terminal, comprising:
detecting whether or not the terminal tilts; and
obtaining the angles in inclination of the terminal, wherein, an acceleration sensor in the terminal detects whether or not the terminal tilts, and obtains the angles in inclination of the terminal; and
wherein the filled region is kept in the direction of gravity of the charging status region by moving the filled region according to different angles in inclination of the terminal.
2. The method for displaying terminal charging status according to
calculating the rest of charging time till the terminal battery is fully charged according to a current charging electric current, the capacity of the terminal battery and the power consumption of the terminal; and
displaying the rest of charging time.
3. The method for displaying terminal charging status according to
4. The method for displaying terminal charging status according to
the step of controlling movements of the filled region in the charging status region according to different angles in inclination of the terminal, comprises:
detecting whether or not the terminal tilts; and
obtaining the angles in inclination of the terminal, wherein, an acceleration sensor in the terminal detects whether or not the terminal tilts, and obtains the angles in inclination of the terminal;
wherein the filled region is kept in the direction of gravity of the charging status region and moving the filled region according to different angles in inclination of the terminal.
5. The method for displaying terminal charging status according to
controlling the movement of the filled region in the charging status region in the way of simulating the movement of “liquid” in the charging status region.
6. The method for displaying terminal charging status according to
7. The method for displaying terminal charging status according to
8. The method for displaying terminal charging status according to
controlling a movement speed of the filled region in the charging status region, wherein the movement speed is v=v0+(1−μ)·Δa×t, v0 is an initial velocity, and Δa is the acceleration, and μ is a preset resistance coefficient whose scope is (0, 1), and t is a preset refresh time, and θ is an angle of inclination can be obtained by projecting the screen to a vertical plane, and the acceleration Δa meets:
10. The terminal according to
calculating the rest of charging time till the terminal battery is fully charged according to a current charging electric current, the capacity of the terminal battery and the power consumption of the terminal; and
displaying the rest of charging time.
11. The terminal according to
12. The terminal according to
13. The terminal according to
14. The terminal according to
15. The terminal according to
controlling a movement speed of the filled region in the charging status region, wherein the movement speed is v=v0+(1−μ)·Δa×t, v0 is an initial velocity, and Δa is the acceleration, and μ is a preset resistance coefficient whose scope is (0, 1), and t is a preset refresh time, and θ is an angle of inclination can be obtained by projecting the screen to a vertical plane, and the acceleration Δa meets:
|
The present application is a Continuation Application of PCT Patent Application No. PCT/CN2013/082799, filed on Sep. 2, 2013, which claims the benefit of priority of China Patent Application No. 201210360806.2 filed in the Chinese Patent Office on Sep. 25, 2012, and entitled “METHOD FOR DISPLAYING TERMINAL CHARGING STATUS AND TERMINAL”, the contents of which are hereby incorporated by reference in their entireties.
The present disclosure relates to the field of electronic technologies, and more particularly to a method for displaying a charging status and a terminal.
With the continuous development of electronic technology, a mobile terminal (such as a smart phone, PDA (personal digital assistant)) has been used increasingly in people's daily life. In the process of the use of the mobile terminal, with the continuous decrease of the energy of a terminal battery of the mobile terminal, it is indispensable to charge the terminal battery and learn a charging progress of the terminal battery. However, in the existing technology, the existing mobile terminal usually can only display its charging status by means of indicator lights or characters, which obviously cannot indicate a current charging status and a current charging progress of the mobile terminal, and also cannot clearly distinguish between a being charged status and a fully charged status.
In the existing technology, the way of displaying the charging status of a terminal by means of indicator lights or characters cannot visually indicate a current charging status a current charging progress of the mobile terminal, and also cannot clearly distinguish between a being charged status and a fully charged status.
In order to solve the problem in the existing technology, a method for displaying terminal charging status and a terminal are provided in the present disclosure, which can realize visually displaying a current charging status and a charging progress on a display screen of the terminal. Technical proposals are described as the following.
A method for displaying charging status, including:
displaying a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region; and
according to a ratio of a current electric quantity of the terminal battery to an electric quantity of the terminal battery being fully charged, displaying a filled region having the same ratio in the charging statue region.
Accordingly, according to another aspect of the present disclosure, a terminal is provided, the terminal includes:
a charging status displaying module, configured to display a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region; and
an electric quantity display module, configured to, according to a ratio of a current electric quantity of the terminal battery to the electric quantity of the terminal battery being fully charged, display a filled region having the same ratio in the charging statue region.
In summary, according to the technical solutions of the method for displaying terminal charging status and the terminal above described, the charging stats region is displayed on the terminal screen of the terminal, and a percentage of filled region in the charging status region is displayed on the terminal screen according to the current electric quantity of the terminal battery being charged. Thus, the charging status and the charging progress of the terminal are visually displayed on the terminal screen, and the time required to complete charging the terminal battery is easily obtained, so that the user can learn the charging progress of the terminal in advance, and arrange the life and work plan.
In order to make embodiments of present disclosure more clearly, the drawings which are needed in the embodiments of present disclosure are described simply as follows. It is obviously, the drawings described as the follows are only exemplary embodiments of present disclosure. To a person of ordinary skill in the art, under premise of no creative work, other drawings may be obtained according to the drawings.
Embodiments of the present invention provide a data processing method, which can reduce play time delay of audio file or video file. Correspondingly, the present invention further provides a data processing device. Introductions and descriptions in the following content will be respectively illustrated in detail.
Referring to
The charging status displaying module 110 is configured to display a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region. The charging status region and the halo at the edge of the charging status region are taken here as an example as shown in
In another embodiment of the present disclosure, the halo is not just limited to be circular, and also can be any shape of oval, triangle, rectangle and trapezoid. Accordingly, the charging status region surrounded by the halo is not just limited to be circular, which also can be any shape of oval, triangle, rectangle and trapezoid.
The electric quantity display module 120 is configured to, according to a ratio of a current electric quantity of the terminal battery to the electric quantity of the terminal battery being fully charged (i.e., the ratio of the current electric quantity of the terminal battery having been charged to the capacity of the terminal battery), display a filled region having the same ratio in the charging statue region. In one embodiment of the present disclosure, for example, the electric quantity of the terminal battery being fully charged is about 1000 mAh, that is, the capacity of the terminal battery is 1000 mAh, when it is detected that the current electric quantity of the terminal battery is about 230 mAh, then the ratio of the current electric quantity of the terminal battery to the electric quantity of the terminal battery being fully charged is about 23%. Thus, a filled region having the same ratio is displayed in the charging statue region, namely, the ratio of the filled region to the charging status region is about 23%. As shown in
Optionally, in one embodiment of the present disclosure, the terminal 100 can also include: a charging time calculation module 130 and a charging time display module 140 electrically connected to the charging time calculation module 130.
The charging time calculation module 130 is configured to calculate the rest of charging time till the terminal battery is fully charged according to a current charging electric current, the capacity of the terminal battery and the power consumption of the terminal 100. In the embodiment of the present disclosure, in detail, the charging time calculation module 130 can be configured to figure out current power consumption of the terminal 100 according to the service condition of each function modules (such as a terminal, a Wi-Fi module, and a GSM module, etc.) of the terminal 100. For example, assuming that the current power consumption of the terminal 100 is about 2.035 W (watt), and the rated voltage of the terminal 100 is about 3.7V (volt), then the current of the terminal 100 is about 550 mA (milliampere) (i.e., 2.035/3.7=0.55 A=550 mA). It is detected that a current charging electric current is about 650 mA, therefore, the rest of charging time can be figured out: (1000 mAh-230 mAh)/(650 mA-550 mA)=7.7 hours.
The charging time display module 140 is configured to display the rest of charging time calculated by the charging time calculation module 130. As shown in
Further optional, in another embodiment of the present disclosure, the terminal 100 can also include a motion control module 150, which is electrically connected to the electric quantity display module 120.
The motion control module 150 is configured to control movements of the filled region in the charging status region according to different angles in inclination of the terminal 100. In the embodiment of the present disclosure, in detail, the motion control module 150 is configured to move the filled region according to different angles in inclination of the terminal 100, to keep the filled region in the gravity direction of the charging status region. It should be understood that, the charging status region can be considered as a sealed container, and the filled region can be seen as “fluid” in the sealed container, so that the “fluid” moves when the terminal 100 incline to different angles. As shown in
In another embodiment of the present disclosure, the motion control module 150 can also be configured to control the filled region to simulate the movement of “liquid” in the charging status region, that is, the motion control module 150 can control the movement of the filled region in the charging status region in the way of simulating the movement of “liquid” in the charging status region. For example, in detail, a mobile phone as shown in
v=v0+(1−μ)·Δa×t. (1)
Wherein, v is the movement speed, v0 is an initial velocity, and Δa is the acceleration, and μ is a preset resistance coefficient whose scope is (0, 1), and t is a preset refresh time, such as 0.04 seconds, 0.05 seconds. In the embodiment of the present disclosure, the acceleration Δa meets a formula (2) as follows:
According to the formulas (1) and (2), when the motion control module 150 controls the filled region to move in the charging status region, then the filled region as a whole can move along the edge of the charging status region and simulate the movement of a simple pendulum. Thus, an angular velocity can be correspondingly calculated according to the movement speed obtained from the formula (1) and the radius of the circular charging status region. The angular velocity in combination with the refresh time t, the position of the filled region in the charging status region can be determined corresponding every refresh time. Since the resistance coefficient is not zero, so after a period of simple pendulum of the filled region, the filled region will stop in a steady state as shown in
The terminal is described in detail according to the embodiments of the present disclosure.
A method for displaying terminal charging status is provided according to another embodiment of the present disclosure.
Referring to
In step S201, detecting whether or not a terminal battery is being charged.
In step S202, displaying a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region.
The charging status region and the halo at the edge of the charging status region are taken here as an example as shown in
In another embodiment of the present disclosure, the halo is not just limited to be circular, and also can be any shape of oval, triangle, rectangle and trapezoid. Accordingly, the charging status region surrounded by the halo is not just limited to be circular, which also can be any shape of oval, triangle, rectangle and trapezoid.
In step S203, according to a ratio of a current electric quantity of the terminal battery to an electric quantity of the terminal battery being fully charged (i.e., the ratio of the current electric quantity of the terminal battery having been charged to the capacity of the terminal battery), displaying a filled region having the same ratio in the charging statue region.
In one embodiment of the present disclosure, for example, the electric quantity of the terminal battery being fully charged is about 1000 mAh, that is, the capacity of the terminal battery is 1000 mAh, when it is detected that the current electric quantity of the terminal battery is about 230 mAh, then the ratio of the current electric quantity of the terminal battery to the electric quantity of the terminal battery being fully charged is about 23%. Thus, a filled region having the same ratio is displayed in the charging statue region, namely, the ratio of the filled region to the charging status region is about 23%. As shown in
Optionally, in one embodiment of the present disclosure, the method for displaying terminal charging status also includes the following step:
calculating the rest of charging time till the terminal battery is fully charged according to a current charging electric current, the capacity of the terminal battery and the power consumption of the terminal; and
displaying the rest of charging time.
In the embodiment of the present disclosure, in detail, the charging time calculation module 130 can be configured to figure out current power consumption of the terminal according to the service condition of each function modules (such as a terminal, a Wi-Fi module, and a GSM module, etc.) of the terminal. For example, assuming that the current power consumption of the terminal is about 2.035 W (watt), and the rated voltage of the terminal is about 3.7V (volt), then the current of the terminal is about 550 mA (milliampere) (i.e., 2.035/3.7=0.55 A=550 mA). It is detected that a current charging electric current is about 650 mA, therefore, the rest of charging time can be figured out: (1000 mAh-230 mAh)/(650 mA-550 mA)=7.7 hours. As shown in
Furthermore, the method for displaying terminal charging status according to an embodiment of the present disclosure further includes steps for controlling the movement of a filled region in a charging status region according to an angle of inclination of the terminal as shown in
In step S401, detecting whether the terminal tilts or not.
In an embodiment of the present disclosure, in detail, a mobile phone as shown in
In step S402, obtaining an angle of inclination of the terminal.
In an embodiment of the present disclosure, in detail, when the mobile phone tilts, the gravity components along the X frame and the Y frame are x and y, respectively; by using a function of arctan 2(y, x), an angle θ of inclination can be obtained by projecting the screen to a vertical plane, namely, an included angle θ between the screen and a vertical direction (i.e., the direction of gravitational acceleration), and one of the scopes of the included angle θ is (−180, 180], that is, the included angle is greater than −180°, and less than or equal to 180°.
In step S403, controlling movements of the filled region in the charging status region according to different angles in inclination of the terminal.
In an embodiment of the present disclosure, in detail, by moving the filled region according to different angles in inclination of the terminal, the filled region is kept in the gravity direction of the charging status region. It should be understood that, the charging status region can be considered as a sealed container, and the filled region can be seen as “fluid” in the sealed container, so that the “fluid” moves when the terminal incline to different angles. As shown in
In another embodiment of the present disclosure, the filled region can be controlled to simulate the movement of “liquid” in the charging status region, that is, the movement of the filled region in the charging status region can be controlled in the way of simulating the movement of “liquid” in the charging status region. For example, in detail, a mobile phone as shown in
v=v0+(1=μ)·Δa×t. (1)
Wherein, v is the movement speed, v0 is an initial velocity, and Δa is the acceleration, and μ is a preset resistance coefficient whose scope is (0, 1), and t is a preset refresh time, such as 0.04 seconds, 0.05 seconds. In the embodiment of the present disclosure, the acceleration Δa meets a formula (2) as follows:
According to the formulas (1) and (2), an angular velocity can be calculated according to the movement speed obtained from the formula (1) and the radius of the circular charging status region. The angular velocity in combination with the refresh time t, the position of the filled region in the charging status region can be determined corresponding every refresh time. Since the resistance coefficient is not zero, so after a period of simple pendulum of the filled region, the filled region will stop in a steady state as shown in
In one embodiment of the present disclosure, each step of the method for displaying terminal charging status according to the embodiment as shown in
According to another embodiment, each functional unit of the terminal in
In addition, in one embodiment, the terminal may further include a storage, and one or more programs, the one or more programs stored in the storage for execution by one or more processors, the one or more programs including instructions for performing the following steps:
detecting whether or not a terminal battery is being charged;
displaying a charging status region on a terminal screen when it is detected that a terminal battery is being charged, with a halo enlarging or shrinking with a preset frequency existing at the edge of the charging status region; and
according to a ratio of a current electric quantity of the terminal battery to an electric quantity of the terminal battery being fully charged (i.e., the ratio of the current electric quantity of the terminal battery having been charged to the capacity of the terminal battery), displaying a filled region having the same ratio in the charging statue region.
Optionally, in one embodiment of the present disclosure, the one or more programs including instructions for performing the following step:
calculating the rest of charging time till the terminal battery is fully charged according to a current charging electric current, the capacity of the terminal battery and the power consumption of the terminal; and
displaying the rest of charging time.
Optionally, in one embodiment of the present disclosure, the one or more programs including instructions for performing the following step:
controlling movements of the filled region in the charging status region according to different angles in inclination of the terminal.
Optionally, in one embodiment of the present disclosure, the one or more programs including instructions for performing the following step:
controlling the movement of the filled region in the charging status region in the way of simulating the movement of “liquid” in the charging status region.
In summary, according to the embodiments of the method for displaying terminal charging status and the terminal above described, the charging stats region is displayed on the terminal screen of the terminal, and a percentage of filled region in the charging status region is displayed on the terminal screen according to the current electric quantity of the terminal battery being charged. Thus, the charging status and the charging progress of the terminal are visually displayed on the terminal screen, and the time required to complete charging the terminal battery is easily obtained, so that the user can learn the charging progress of the terminal in advance, and arrange the life and work plan.
A person having ordinary skills in the art can realize that part or whole of the processes in the method for displaying terminal charging status as shown in
Although certain embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Li, Li, Li, Ming, Zhang, Zhijun, Zhang, Xi, Xu, Haibo, Liu, Yuxi, Yan, Jiayi, Pan, Zhipeng
Patent | Priority | Assignee | Title |
10833887, | Oct 17 2016 | GREE ELECTRIC APPLIANCES, INC OF ZHUHAI | Terminal-based control method for smart household appliance and terminal |
Patent | Priority | Assignee | Title |
7626598, | Apr 11 2003 | Microsoft Technology Licensing, LLC | Self-orienting display |
9474953, | Aug 25 2011 | AIRBORNE ATHLETICS, INC | System, method and processor-readable medium for wirelessly tracking basketball shots |
20050156882, | |||
20130069955, | |||
20130069956, | |||
20130316763, | |||
20140073262, | |||
20150077438, | |||
20160141730, | |||
20170003879, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 07 2015 | Li, Li | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | LI, MING | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | YAN, JIAYI | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | LIU, YUXI | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | ZHANG, ZHIJUN | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | XU, HAIBO | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | PAN, ZHIPENG | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Feb 07 2015 | ZHANG, XI | TENCENT TECHNOLOGY SHENZHEN COMPANY LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 035072 | /0485 | |
Mar 03 2015 | TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
May 12 2021 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Date | Maintenance Schedule |
Nov 28 2020 | 4 years fee payment window open |
May 28 2021 | 6 months grace period start (w surcharge) |
Nov 28 2021 | patent expiry (for year 4) |
Nov 28 2023 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 28 2024 | 8 years fee payment window open |
May 28 2025 | 6 months grace period start (w surcharge) |
Nov 28 2025 | patent expiry (for year 8) |
Nov 28 2027 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 28 2028 | 12 years fee payment window open |
May 28 2029 | 6 months grace period start (w surcharge) |
Nov 28 2029 | patent expiry (for year 12) |
Nov 28 2031 | 2 years to revive unintentionally abandoned end. (for year 12) |