The present disclosure relates to the technical field of charging, and particularly to a method for indicating charging status, a system for indicating charging status, and a terminal device.
When a terminal device such as a mobile phone, a tablet computer, a handheld computer or the like is charged, the remaining battery capacity and a charging status indicator (such as a lightening-shaped indicator) can be generally displayed through a battery icon. The charging status indicator is used to indicate that the terminal device is currently in a charging status. In the whole charging process, the charging status indicator is displayed in a fixed display mode. Therefore, the current status of the rechargeable battery cannot be determined by a user according to the charging status indicator.
In view of the above, embodiments of the present disclosure provide a method for indicating charging status, a system for indicating charging status, and a terminal device, such that the current status of a rechargeable battery can be determined by a user according to a displayed charging status indicator.
A method for indicating charging status provided by the embodiments of the present disclosure is applied to a terminal device. The method includes the following. When the terminal device is in a charging status, a current status of a rechargeable battery of the terminal device is determined, a display mode of a charging status indicator is determined according to the current status of the rechargeable battery, and the charging status indicator is displayed in the display mode.
A system for indicating charging status provided by the embodiments of the present disclosure includes a status determining module configured to determine a current status of a rechargeable battery of the terminal device when the terminal device is in a charging status, a display mode determining module configured to determine a display mode of a charging status indicator according to the current status of the rechargeable battery, and a display controlling module configured to display the charging status indicator in the display mode.
A terminal device provided by the embodiments of the present disclosure includes a memory storing a set of program codes, and a processor configured to invoke the set of program codes to perform following acts. When the terminal device is in a charging status, a current status of a rechargeable battery of the terminal device is determined, a display mode of a charging status indicator is determined according to the current status of the rechargeable battery, and the charging status indicator is displayed in the display mode.
In the embodiments of the present disclosure, the display mode of the charging status indicator is determined according to the current status of the rechargeable battery, and the charging status indicator is displayed in the display mode, i.e., the display mode of the charging status indicator is related to the current status of the rechargeable battery. Therefore, the current status of the rechargeable battery can be determined by the user according to the displayed charging status indicator.
In order to illustrate technical solutions in embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description illustrate some but not exhaustive embodiments of the present disclosure. Those of ordinary skill in the art may also obtain other drawings based on these accompanying drawings without creative work.
Technical solutions of embodiments of the present disclosure will be described below clearly and completely in conjunction with the accompanying drawings of the embodiments of the present disclosure. Apparently, merely some but not all embodiments of the present disclosure are described. Based on the embodiments of the present disclosure, all the other embodiments, which a person ordinarily skilled in the art may obtain without paying creative work fall within the scope of protection of the present disclosure.
Step 101, when the terminal device is in a charging status, a current status of a rechargeable battery of the terminal device is determined.
Step 102, a display mode of a charging status indicator is determined according to the current status of the rechargeable battery. The charging status indicator may be a pattern (or patterns), a character (or characters), a combination of a pattern (or patterns) and a character (or characters), or the like.
Step 103, the charging status indicator is displayed in the display mode.
In a first implementation, displaying the charging status indicator in the display mode may include displaying the charging status indicator within a status bar in the display mode, where the status bar is displayed on the terminal device. The status bar may be displayed on a top edge, a bottom edge, or other position of the terminal device. The current time, a battery icon and so on may be displayed within the status bar. In an embodiment, the charging status indicator is displayed via the battery icon, for example, as illustrated in
In a second implementation, displaying the charging status indicator in the display mode may include displaying the charging status indicator in the display mode on an external electronic device in communication with the terminal device. For example, it is assumed that the terminal device is a tablet computer, and the external electronic device is a smart phone, in the process of charging the tablet computer, the tablet computer is in communication with the smart phone. The tablet computer controls the smart phone so as to display the charging status indicator in the display mode on the smart phone, for example, display the charging status indicator within the status bar displayed on the smart phone, by which in the process of charging the tablet computer, without viewing the tablet computer, the current status of the rechargeable battery of the tablet computer can be known in real time by the user when using the smart phone.
In the implementation, the display mode of the charging status indicator is determined according to the current status of the rechargeable battery, and the charging status indicator is displayed in the display mode, i.e., the display mode of the charging status indicator is related to the current status of the rechargeable battery, thus the current status of the rechargeable battery can be determined by the user according to the displayed charging status indicator.
In a first implementation, determining the current status of the rechargeable battery may include determining a charging phase that the rechargeable battery is currently in. Generally, the charging phase may include a trickle charging phase, a constant current charging phase, and a constant voltage charging phase. When the voltage of the rechargeable battery is quite low at the beginning of charging, a small current is needed to charge the rechargeable battery, i.e., the trickle charging is needed. When the voltage of the rechargeable battery is not low (e.g., higher than 2.9V) at the beginning of charging, the rechargeable battery does not need to be subjected to the trickle charging. When the voltage of the rechargeable battery is not low, a large current can be adopted to charge the rechargeable battery, i.e., the constant current charging can be adopted to charge the rechargeable battery. When the voltage of the rechargeable battery reaches or approaches the voltage of a full charging (for example, 4.2V or 4.3V, for different rechargeable batteries, voltages of a full charging are different), the constant voltage charging is adopted, the charging voltage is kept unchanged, and the charging current is gradually reduced. The charging phase that the rechargeable battery is currently in can be determined according to at least one of the charging current currently adopted and the remaining battery capacity. For example, when the charging current is lower than 100 mA and the remaining battery capacity is lower than 5%, it is determined that the rechargeable battery is currently in the trickle charging phase. When the charging current is higher than 100 mA and the remaining battery capacity falls within a range from 6% to 90%, it is determined that the rechargeable battery is currently in the constant current charging phase. When the remaining battery capacity is higher than 90%, it is determined that the rechargeable battery is currently in the constant voltage charging phase.
In the first implementation, determining the display mode of the charging status indicator according to the current status of the rechargeable battery may include determining a frame rate of the charging status indicator according to the charging phase that the rechargeable battery is currently in. Displaying the charging status indicator in the display mode may include refreshing the charging status indicator according to the frame rate. When the rechargeable battery is in the trickle charging phase, the frame rate of the charging status indicator is lower than that when the rechargeable battery is in the constant current charging phase, and is higher than that when the rechargeable battery is in the constant voltage charging phase. Different frame rates are set for different charging phases, thus the charging status indicator can be displayed in a slow motion mode or a fast motion mode. For example, when the charging status indicator is a pattern, the pattern can be displayed in the slow motion mode or the fast motion mode. Similarly, when the charging status indicator is a character or a combination of a pattern and a character, the character or the combination of the pattern and the character can also be displayed in the slow motion mode or the fast motion mode. Therefore, the charging phase that the rechargeable battery is currently in can be determined by the user according to the dynamic display of the charging status indicator.
Alternatively, frame rates of the charging status indicator corresponding to different charging phases can be set in advance. For example, the frame rate of the charging status indicator corresponding to the trickle charging phase is set to be 10 fps in advance, the frame rate of the charging status indicator corresponding to the constant current charging phase is set to be 30 fps in advance, and the frame rate of the charging status indicator corresponding to the constant voltage charging phase is set to be 5 fps in advance.
Alternatively, in the charging process, the frame rate of the charging status indicator can also be calculated according to the remaining battery capacity of the rechargeable battery and the charging current. For example, it is assumed that at the time point T1 of entering a certain charging phase (for example, the trickle charging phase), the remaining battery capacity of the rechargeable battery is Q1, the charging current is C1, and after entering the charging phase, at the time point T2, the remaining battery capacity of the rechargeable battery is changed to Q2, the charging current is changed to C2, thus an average charging current C-avg within the time interval from T1 to T2 is (C2−C1)/2, an average charging time T-avg is (Q2−Q1)/C-avg, an actual charging time T-actual within the time interval from T1 to T2 is T2−T1, thus the frame rate F of the charging status indicator is (T-avg/T-actual)*F0, where F0 is a fixed value set in advance, and F0 is generally the frame rate of the charging status indicator corresponding to the constant current charging phase, which frame rate may be 30 fps. When the trickle charging is adopted, the charging current is gradually increased, the actual charging time is longer than the average charging time, T-avg/T-actual is smaller than one, thus F is smaller than F0. The constant current charging refers to fast charging, T-avg can be deemed to be equal to T-actual, thus F can be deemed to be equal to F0. When the constant voltage charging is adopted, the charging current is gradually decreased, the actual charging time is longer than the average charging time, T-avg/T-actual is smaller than one, thus F is smaller than F0. Generally speaking, a ratio of T-avg to T-actual calculated when the trickle charging is adopted is higher than that calculated when the constant voltage charging is adopted, thus the frame rate calculated when the trickle charging is adopted is higher than that calculated when the constant voltage charging is adopted.
In the first implementation, the frame rate of the charging status indicator is related to the charging phase that the rechargeable battery is currently in, thus the charging phase that the rechargeable battery is currently in can be determined by the user according to the displayed charging status indicator.
In a second implementation, determining the current status of the rechargeable battery may include determining the charging phase that the rechargeable battery is currently in and determining current temperature of the rechargeable battery. The manner in which the charging phase that the rechargeable battery is currently in is determined is substantially the same as the above described manner, and will not be repeated herein. The current temperature of the rechargeable battery can be determined by arranging a temperature sensor adjacent to the rechargeable battery. Determining the display mode of the charging status indicator according to the current status of the rechargeable battery may include determining the frame rate of the charging status indictor according to the charging phase that the rechargeable battery is currently in, and determining the display color of the charging status indicator according to the current temperature of the rechargeable battery. The manner in which the frame rate of the charging status indicator is determined is substantially the same as the above described manner, and will not be repeated herein. The display color of the charging status indicator can be set to be gradually darker when the temperature of the rechargeable battery gradually increases. For example, the display color of the charging status indicator can be set to be light grey when the current temperature of the rechargeable battery falls within a range from 30 degrees centigrade to 40 degrees centigrade, the display color of the charging status indicator can be set to be dark grey when the current temperature of the rechargeable battery falls within a range from 41 degrees centigrade to 50 degrees centigrade, and the display color of the charging status indicator can be set to be black when the current temperature of the rechargeable battery falls within a range from 51 degrees centigrade to 65 degrees centigrade. Displaying the charging status indicator in the display mode may include displaying the charging status indicator according to the display color, and refreshing the charging status indicator according to the frame rate. For example, when the charging status indicator is a pattern, the pattern can be displayed in the slow motion mode or the fast motion mode, and the color of the pattern can be set according to the current temperature of the rechargeable battery. Similarly, when the charging status indicator is a character or a combination of a pattern and a character, the character or the combination of the pattern and the character can be displayed in the slow motion mode or the fast motion mode, and the color of the character or the color of the combination of the pattern and the character can be set according to the current temperature of the rechargeable battery.
In the second implementation, the frame rate of the charging status indicator is related to the charging phase that the rechargeable battery is currently in, and the display color of the charging status indicator is related to the current temperature of the rechargeable battery, thus according to the displayed charging status indicator, the charging phase that the rechargeable battery is currently in and whether the current temperature of the rechargeable battery is high can be both determined by the user.
In a third implementation, determining the current status of the rechargeable battery may include determining the current temperature of the rechargeable battery. The manner in which the current temperature of the rechargeable battery is determined is substantially the same as the above described manner, and will not be repeated herein. Determining the display mode of the charging status indicator according to the current status of the rechargeable battery may include determining the display color of the charging status indicator according to the current temperature of the rechargeable battery. The manner in which the display color of the charging status indicator is determined is the same as the above described manner, and will not be repeated herein. Displaying the charging status indicator in the display mode may include displaying the charging status indicator according to the display color. For example, when the charging status indicator is a pattern, the color of the pattern can be set according to the current temperature of the rechargeable battery. Similarly, when the charging status indicator is a character or a combination of a pattern and a character, the color of the pattern or the color of the combination of the pattern and the character can be set according to the current temperature of the rechargeable battery.
In the third implementation, the display color of the charging status indicator is related to the current temperature of the rechargeable battery, thus whether the current temperature of the rechargeable battery is high can be determined by the user according to the display color of the charging status indicator.
As illustrated in
The status determining module 301 is configured to determine a current status of a rechargeable battery of the terminal device when the terminal device is in a charging status.
The display mode determining module 302 is configured to determine a display mode of a charging status indicator according to the current status of the rechargeable battery.
The display controlling module 303 is configured to display the charging status indicator in the display mode. The charging status indicator may be a pattern (or patterns), a character (or characters), a combination of a pattern (or patterns) and a character (or characters), or the like.
In a first implementation, the display controlling module 303 displaying the charging status indicator in the display mode may include that the display controlling module 303 displays the charging status indicator within a status bar in the display mode, where the status bar is displayed on the terminal device. The status bar may be displayed on a top edge, a bottom edge, or other position of the terminal device. The current time, a battery icon and so on may be displayed within the status bar. In an embodiment, the charging status indicator is displayed via the battery icon, for example, as illustrated in
In a second implementation, the display controlling module 303 displaying the charging status indicator in the display mode may include that the display controlling module 303 displays the charging status indicator in the display mode on an external electronic device in communication with the terminal device. For example, it is assumed that the terminal device is a tablet computer, and the external electronic device is a smart phone, in the process of charging the tablet computer, the tablet computer is in communication with the smart phone. The tablet computer controls the smart phone so as to display the charging status indicator in the display mode on the smart phone, for example, display the charging status indicator within the status bar displayed on the smart phone, by which in the process of charging the tablet computer, without viewing the tablet computer, the current status of the rechargeable battery of the tablet computer can be known in real time by the user when using the smart phone.
In the implementation, the display mode of the charging status indicator is determined according to the current status of the rechargeable battery, and the charging status indicator is displayed in the display mode, i.e., the display mode of the charging status indicator is displayed is related to the current status of the rechargeable battery, thus the current status of the rechargeable battery can be determined by the user according to the displayed charging status indicator.
In a first implementation, the status determining module 301 determining the current status of the rechargeable battery may include that the status determining module 301 determines a charging phase that the rechargeable battery is currently in. Generally, the charging phase may include a trickle charging phase, a constant current charging phase, and a constant voltage charging phase. When the voltage of the rechargeable battery is quite low at the beginning of charging, a small current is needed to charge the rechargeable battery, i.e., the trickle charging is needed. When the voltage of the rechargeable battery is not low (e.g., higher than 2.9V) at the beginning of charging, the rechargeable battery does not need to be subjected to the trickle charging. When the voltage of the rechargeable battery is not low, a large current can be adopted to charge the rechargeable battery, i.e., the constant current charging can be adopted to charge the rechargeable battery. When the voltage of the rechargeable battery reaches or approaches the voltage of a full charging (for example, 4.2V or 4.3V, for different rechargeable batteries, voltages of a full charging are different), the constant voltage charging is adopted, the charging voltage is kept unchanged, and the charging current is gradually reduced. The charging phase that the rechargeable battery is currently in can be determined according to at least one of the charging current currently adopted and the remaining battery capacity. For example, when the charging current is lower than 100 mA and the remaining battery capacity is lower than 5%, it is determined that the rechargeable battery is currently in the trickle charging phase. When the charging current is higher than 100 mA and the remaining battery capacity falls within a range from 6% to 90%, it is determined that the rechargeable battery is currently in the constant current charging phase. When the remaining battery capacity is higher than 90%, it is determined that the rechargeable battery is currently in the constant voltage charging phase.
In the first implementation, the display mode determining module 302 determining the display mode of the charging status indicator according to the current status of the rechargeable battery may include that the display mode determining module 302 determines a frame rate of the charging status indicator according to the charging phase that the rechargeable battery is currently in. The display controlling module 303 displaying the charging status indicator in the display mode may include that the display controlling module 303 refreshes the charging status indicator according to the frame rate. When the rechargeable battery is in the trickle charging phase, the frame rate of the charging status indicator is lower than that when the rechargeable battery is in the constant current charging phase, and is higher than that when the rechargeable battery is in the constant voltage charging phase. Different frame rates are set for different charging phases, thus the charging status indicator can be displayed in a slow motion mode or a fast motion mode. For example, when the charging status indicator is a pattern, the pattern can be displayed in the slow motion mode or the fast motion mode. Similarly, when the charging status indicator is a character or a combination of a pattern and a character, the character or the combination of the pattern and the character can also be displayed in the slow motion mode or the fast motion mode. Therefore, the charging phase that the rechargeable battery is currently in can be determined by the user according to the dynamic display of the charging status indicator.
Alternatively, frame rates of the charging status indicator corresponding to different charging phases can be set in advance. For example, the frame rate of the charging status indicator corresponding to the trickle charging phase is set to be 10 fps in advance, the frame rate of the charging status indicator corresponding to the constant current charging phase is set to be 30 fps in advance, and the frame rate of the charging status indicator corresponding to the constant voltage charging phase is set to be 5 fps in advance.
Alternatively, in the charging process, the frame rate of the charging status indicator can also be calculated according to the remaining battery capacity of the rechargeable battery and the charging current. For example, it is assumed that at the time point T1 of entering a certain charging phase (for example, the trickle charging phase), the remaining battery capacity of the rechargeable battery is Q1, the charging current is C1, and after entering the charging phase, at the time point T2, the remaining battery capacity of the rechargeable battery is changed to Q2, the charging current is changed to C2, thus an average charging current C-avg within the time interval from T1 to T2 is (C2−C1)/2, an average charging time T-avg is (Q2−Q1)/C-avg, an actual charging time T-actual within the time interval from T1 to T2 is T2-T1, thus the frame rate F of the charging status indicator is (T-avg/T-actual)*F0, where F0 is a fixed value set in advance, and F0 is generally the frame rate of the charging status indicator corresponding to the constant current charging phase, which frame rate may be 30 fps. When the trickle charging is adopted, the charging current is gradually increased, the actual charging time is longer than the average charging time, T-avg/T-actual is smaller than one, thus F is smaller than F0. The constant current charging refers to fast charging, T-avg can be deemed to be equal to T-actual, thus F can be deemed to be equal to F0. When the constant voltage charging is adopted, the charging current is gradually decreased, the actual charging time is longer than the average charging time, T-avg/T-actual is smaller than one, thus F is smaller than F0. Generally speaking, a ratio of T-avg to T-actual calculated when the trickle charging is adopted is higher than that calculated when the constant voltage charging is adopted, thus the frame rate calculated when the trickle charging is adopted is higher than that calculated when the constant voltage charging is adopted.
In the first implementation, the frame rate of the charging status indicator is related to the charging phase that the rechargeable battery is currently in, thus the charging phase that the rechargeable battery is currently in can be determined by the user according to the charging status indicator.
In a second implementation, the status determining module 301 determining the current status of the rechargeable battery may include that the status determining module 301 determines the charging phase that the rechargeable battery is currently in and determines current temperature of the rechargeable battery. The manner in which the charging phase that the rechargeable battery is currently in is determined is substantially the same as the above described manner, and will not be repeated herein. The current temperature of the rechargeable battery can be determined by arranging a temperature sensor adjacent to the rechargeable battery. The display mode determining module 302 determining the display mode of the charging status indicator according to the current status of the rechargeable battery may include that the display mode determining module 302 determines the frame rate of the charging status indictor according to the charging phase that the rechargeable battery is currently in, and determines the display color of the charging status indicator according to the current temperature of the rechargeable battery. The manner in which the frame rate of the charging status indicator is determined is substantially the same as the above described manner, and will not be repeated herein. The display color of the charging status indicator can be set to be gradually darker when the temperature of the rechargeable battery gradually increases. For example, the display color of the charging status indicator can be set to be light grey when the current temperature of the rechargeable battery falls within a range from 30 degrees centigrade to 40 degrees centigrade, the display color of the charging status indicator can be set to be dark grey when the current temperature of the rechargeable battery falls within a range from 41 degrees centigrade to 50 degrees centigrade, and the display color of the charging status indicator can be set to be black when the current temperature of the rechargeable battery falls within a range from 51 degrees centigrade to 65 degrees centigrade. The display controlling module 303 displaying the charging status indicator in the display mode may include that the display controlling module 303 displays the charging status indicator according to the display color, and refreshes the charging status indicator according to the frame rate. For example, when the charging status indicator is a pattern, the pattern can be displayed in the slow motion mode or the fast motion mode, and the color of the pattern can be set according to the current temperature of the rechargeable battery. Similarly, when the charging status indicator is a character or a combination of a pattern and a character, the character or the combination of the pattern and the character can be displayed in the slow motion mode or the fast motion mode, and the color of the character or the color of the combination of the pattern and the character can be set according to the current temperature of the rechargeable battery.
In the second implementation, the frame rate of the charging status indicator is related to the charging phase that the rechargeable battery is currently in, and the display color of the charging status indicator is related to the current temperature of the rechargeable battery, thus according to the displayed charging status indicator, the charging phase that the rechargeable battery is currently in and whether the current temperature of the rechargeable battery is high can be both determined by the user.
In a third implementation, the status determining module 301 determining the current status of the rechargeable battery may include that the status determining module 301 determines the current temperature of the rechargeable battery. The manner in which the current temperature of the rechargeable battery is determined is substantially the same as the above described manner, and will not be repeated herein. The display mode determining module 302 determining the display mode of the charging status indicator according to the current status of the rechargeable battery may include that the display mode determining module 302 determines the display color of the charging status indicator according to the current temperature of the rechargeable battery. The manner in which the display color of the charging status indicator is determined is the same as the above described manner, and will not be repeated herein. The display controlling module 303 displaying the charging status indicator in the display mode may include that the display controlling module 303 displays the charging status indicator according to the display color. For example, when the charging status indicator is a pattern, the color of the pattern can be set according to the current temperature of the rechargeable battery. Similarly, when the charging status indicator is a character or a combination of a pattern and a character, the color of the character or the color of the combination of the pattern and the character can be set according to the current temperature of the rechargeable battery.
In the third implementation, the display color of the charging status indicator is related to the current temperature of the rechargeable battery, thus whether the current temperature of the rechargeable battery is high can be determined by the user according to the display color of the charging status indicator.
As illustrated in
In the embodiment of the present disclosure, the processor 401 is the control center of the terminal device 400, it connects various parts of the whole terminal device 400 through various interfaces and lines, runs or executes software programs and/or units stored in the memory 404 and invokes data stored in the memory 404 to perform various functions of the terminal device 400 and process data. The processor 401 may be formed by one or more integrated circuits (ICs). For example, the processor 401 may be formed by a single encapsulated IC, and also may be formed by connecting multiple encapsulated ICs having the same function or different functions. For example, the processor 401 may just include a central processing unit (CPU), and also may be a combination of the CPU, a digital signal processor (DSP), a graphic processing unit (GPU), and various control chips. In the embodiment of the present disclosure, the CPU may include a signal core, or multiple cores.
In the embodiment of the present disclosure, the input device 402 may include a standard touch screen, a keyboard, and so on, and also may include a wired interface, a wireless interface, and so on, to realize interaction between a user and the terminal device 400.
In the embodiment of the present disclosure, the output device 403 may be a display screen, a loudspeaker, and may include a wired interface, a wireless interface, and so on.
In the embodiment of the present disclosure, the memory 404 may include at least one of the follows: a random access memory, a nonvolatile memory, and an external memory. The memory 404 may store program codes. The processor 401 performs the above method for indicating charging status by invoking the program codes stored in the memory 404. The memory 404 mainly includes a program storage area and a data storage area. The program storage area may store an operating system, applications for at least one function, and so on. The data storage area may store data created according to usage of the display apparatus and so on. In the embodiment of the present disclosure, the operating system may be the Android system, the iOS system, the Windows operating system, or other.
In the embodiment of the present disclosure, the display unit 405 is operable to display information such as images, text and so on, and may be a light-emitting diode display unit, a liquid crystal display unit, and the like.
The above disclosures illustrate preferable embodiments of the present disclosure. It should be pointed out that a person of ordinary skill in the art can make several changes and polish without departing from the principle of the present disclosure, and these changes and polish shall be deemed as the scope of protection of the present disclosure.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2016/105087 | 11/8/2016 | WO | 00 |