This non-provisional application claims priority under 35 U.S.C. § 119(a) on Patent Application No(s). 201910457930.2 filed in China on 29th, May, 2019, the entire contents of which are hereby incorporated by reference.
The disclosure relates to a method for displaying battery state, more particularly to the method for displaying the battery state of an electronic device even when the central processing unit of the electronic device is not in operation.
Nowadays, the laptop has become a popular electronic product. Generally, the battery of the laptop is configured to a rechargeable battery, and the information such as the remained power, the charging time, etc., which are shown on the screen when the laptop is operating in the operation system (OS).
However, when the laptop has not entered the OS, the user can not directly get the information about the battery, and it is not convenient once the user needs to take the laptop out suddenly. Similarly, when the laptop is not in the OS and is charged currently, the user can not directly get the state of charge. Hence, the probability of the overcharge of the battery is much higher, and the battery may be damaged due to the overcharge. Additionally, it needs to enter particular command in the specific interface to get the health state of the battery for most of the laptops, and aforementioned way is not institutive for the common users.
According to one or more embodiment of this disclosure, a method for displaying battery state adapted to an electronic device having a CPU, which comprises the following steps. A battery assembly transmits a battery data to a controller to determine a health state of the battery assembly when the CPU is not in operation. When the health state is in an abnormal state, the light-emitting assembly is controlled to generate light having the first optical characteristic. When the healthy state is in a normal state, the controller determines whether is in a triggering period after receiving a trigger signal, and generates a power value according to the battery data. When the controller is in the triggering period, controls the light-emitting assembly to perform the current power display program according to the power value. Conversely, the controller determines whether the battery assembly receives an external power. When the battery assembly receives the external power, the light-emitting assembly is controlled to perform a charging state display program according to the power value.
According to one or more embodiment of this disclosure, a device for displaying battery state adapted to an electronic device having a central processing unit, which comprises a battery assembly, a light-emitting assembly and a controller. The battery assembly generating battery data when the central processing unit is not in operation. The light-emitting assembly is adapted to generate a light having a first optical characteristic in a trigger period, and performs a current power display program when the battery assembly receives an external power. The controller is electrically connected between the battery assembly and the light-emitting assembly, with the controller receives the battery data and determines a health state of the battery assembly according to the battery data, wherein the controller controls the light-emitting assembly to generate light having the first optical characteristic when the controller determines that the health state is in an abnormal state. Furthermore, the controller determines whether the controller is in a trigger period following a trigger signal received by the controller when the controller determines that the health state is in a normal state, and the controller generates the battery power value according to the battery data, wherein the controller controls the light-emitting assembly to perform the current power display program according to the battery power value in the trigger period. Additionally, the controller determines whether the battery assembly receives the external power when the controller is outside the trigger period, wherein the controller controls the light-emitting assembly to perform a charging state display program according to the battery power value when the controller the battery assembly receives the external power.
The present disclosure will become more fully understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only and thus are not limitative of the present disclosure and wherein:
In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed embodiments. It will be apparent, however, that one or more embodiments may be practiced without these specific details. In other instances, well-known structures and devices are schematically shown in order to simplify the drawings.
Please refer to
The battery assembly 11 is electrically connected to the controller 13, and the battery assembly 11 generates battery data when the CPU of the electronic device E is not in operation. Specifically, the battery assembly 11 comprises a battery and an integrated circuit (IC) which are electrically connected to each other, wherein the integrated circuit obtains the battery data from the battery, and the integrated circuit sends the battery data to the controller 13. For example, the integrated circuit may be a power management integrated circuit (PMIC), and the battery may be the rechargeable (or the secondary battery) battery such as the lead acid battery, the nickel hydrogen battery or the lithium ion battery, this disclosure is not limited thereto.
On the other hand, aforementioned “the CPU not operating” means the operating system (OS) of the electronic device E is not active, which indicates that the system power states (S-States) is in one of S1 (sleep state) through S5 (soft off state).
The light-emitting assembly 12 is electrically connected to the controller 13, and the light-emitting assembly 12 performs a current power display program or a charging state display program according to an instruction sent from the controller 13. Particularly, the current power display program is performed for displaying current battery power of the battery assembly 11, and the charging state display program is performed for displaying current state of charge when the battery assembly 11 is charging. The light-emitting assembly 12 is able to show the current battery power of the battery assembly 11 or state of charge of the battery assembly 11 by generating light with different optical characteristics. For example, the light-emitting assembly 12 is able to show the current battery power or the state of charge of the battery assembly 11 through the light with different flashing frequencies or different colors. In practice, the light-emitting assembly 12 may comprise a microcontroller unit (MCU) and a lamp, wherein the lamp may be a light-emitting diode (LED), an organic light-emitting diode (OLED) etc., and this disclosure is not limited thereto.
In an embodiment, the light-emitting assembly 12 is disposed on a surface of the electronic device E, and the surface is exposed when a screen of the electronic device E is concealed. For example, when the electronic device E is a laptop, the light-emitting assembly 12 may be disposed on a side surface of the laptop, and the side surface will not be covered as the screen of the laptop is concealed by the bottom part thereof (as shown in
The controller 13 is electrically connected between the battery assembly 11 and the light-emitting assembly 12, and the controller 13 receives the battery data from the battery assembly 11. Moreover, the controller 13 determines a health state of the battery assembly 11 according to the battery data, and the controller 13 generates a battery power value according to the battery data; wherein when the health state of the battery assembly 11 is in the abnormal state, the light-emitting assembly 12 generates light having a first optical characteristic (such as red light with higher flashing frequency). Furthermore, the controller 13 determines whether the controller 13 controls the light-emitting assembly 12 to perform the current power display program based on whether the controller 13 is in a trigger period following a trigger signal received by the controller 13, and the controller 13 determines whether the controller 13 controls the light-emitting assembly 12 to perform the charging state display program based on whether the battery assembly 11 receives an external power. When the light-emitting assembly 12 performs the current power display program and the charging state display program, the light-emitting assembly 12 is able to classify different ranges of the battery power value through light with a second optical characteristic (such as breath light with red color) and light with a third optical characteristic (such as breath light with yellow color). Specifically, the battery data may comprise the information of the battery assembly 11, such as original battery capacity, times of charging, current battery power, current voltage and charging electric current. Additionally, the battery information may comprise the current information of the battery assembly 11, such as the state of charges/discharges or the remaining battery power, etc. In practice, the controller 13 may be implemented by an embedded the controller 13 (EC), and the controller 13 is able to receive the battery data as the battery of the battery assembly 11 is keeping to be electrically connected to the controller 13.
Please continue to refer to
For example, the battery power value may be classified into the first range, the second range and a third range. The first range may indicate low battery power (for example, from 0% to 20%), and the light-emitting assembly 12 generates red light (the second optical characteristic). On the other hand, the first range may indicate normal battery power (for example, from 20% to 80%), and the light-emitting assembly 12 may generate yellow light (the third optical characteristic). Also, the third range may indicate high battery power (for example, from 80% to 100%), and the light-emitting assembly 12 may generate green light (the optical characteristic different from the second optical characteristic and the third optical characteristic). It needs to notice that, this disclosure can be implemented by only two different ranges of the battery power, and aforementioned example is just for describing the features more clearly rather than limiting this disclosure.
Please refer to
Please refer to
For these reasons, when the battery power value is in the first range but has not reached the first range, at least one of the first lamps L1 and L2 is able to generate the light having the second optical characteristic in the trigger period. Also, when the battery power value is in the first range but has not reached the third range, each of the first lamps L1 and L2 is able to generate the light having the second optical characteristic in the trigger period, and at least one of the second lamps L3, L4, L5, L6, L7 and L8 generates the light having the third optical characteristic. In an embodiment, the second optical characteristic and the third optical characteristic have different colors (such as red light and yellow light, or the red light with different brightness or darkness levels), but other embodiment is not limited thereto.
Please refer to
When the controller determines that the health state is in the abnormal state AS, please refer to step S3: controlling the light-emitting assembly to generate the light having the first optical characteristic by the controller. In an embodiment, the first optical characteristic and the second optical characteristic have different flashing frequencies in order to classify whether the state of the battery assembly is the low battery power state or the abnormal state AS. On the other hand, when the controller determines that the health state is in the normal state NS, please refer to step S4: by the controller, determining whether the controller is in the trigger period following the trigger signal received by the controller, and generating the battery power value according to the battery data; wherein the battery power value is associated with the current battery power of the battery assembly. Specifically, the battery assembly may have a current maximum battery power value and a default battery power value, and the controller determines whether a ratio between the current maximum battery power value and the default battery power value is in an abnormal range. When the ratio is outside the abnormal range, and the controller determines that the health state is in the normal state NS. Conversely, when the ratio is inside the abnormal range, the controller determines that the health state is in the abnormal state AS.
Particularly, the controller is able to determine whether the ratio is in the abnormal range by a threshold. For example, the threshold is 50%, when the ratio is larger than 50%, the state of the battery assembly is in the normal state NS. On the other hand, when the ratio is not larger than 50% (comprising equaling to 50%), the state of the battery assembly is in the abnormal state AS. In addition, the boundary condition for classifying the abnormal range and the normal range is able to be defined differently from the example hereinbefore. For example, the ratio less than 50% (threshold) is able to indicate the abnormal state AS, and the ratio larger than/equal to 50% (threshold) is able to indicate the normal state NS. It needs to notice that, the expired date of the battery assembly is different from the brands or the kinds of the battery assembly in practice, so aforementioned 50% is just an example for descripting the details more clearly rather than limiting this embodiment. On the other hand, the controller is also able to determine whether the health state is in the abnormal state based on other conditions such as charge rate, discharge rate and abnormal powered off, etc., and this disclosure is not limited thereto.
When the controller is in the trigger period, please refer to step S5: controlling the light-emitting assembly to perform the current power display program according to the battery power value by the controller; wherein the current power display program indicates the light-emitting assembly generating light for displaying the battery power value during the trigger period. When the controller is outside the trigger period, please refer to step S6: determining whether the battery assembly receives the external power by the controller. In other words, the controller determines whether the electronic device E is charging. When the controller determines that the battery assembly receives the external power, please refer to step S7: controlling the light-emitting assembly to perform the charging state display program according to the battery power value by the controller; wherein the charging state display program indicates that the light-emitting assembly displays the current state of charge via the light with corresponding optical characteristic.
Please refer to
Please refer to
As a result, this disclosure is to provide the device and method for displaying battery state, wherein the device and method is adapted to an electronic device. Even when the operating system (OS) of the electronic device is not active, the device and method are still able to generate the light with different optical characteristics through the light-emitting assembly of the electronic device in order to display the information of the battery assembly such as the current battery power, the state of charge and the health state. Hence, the user is able to check the information of the battery assembly of electronic device quickly and preciously even when the electronic device does not enter the OS.
The embodiments depicted above and the appended drawings are exemplary and are not intended to be exhaustive or to limit the scope of the present disclosure to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings.
Number | Date | Country | Kind |
---|---|---|---|
201910457930.2 | May 2019 | CN | national |