Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
BATTERY USABLE TIME COMPUTATION
Document Type and Number:
WIPO Patent Application WO/2021/242216
Kind Code:
A1
Abstract:
Examples of computing devices for computing a usable time duration of an available power capacity of a battery of such computing devices are described herein. In an example, a computing device may include a battery, a processor, and a display device. The processor may determine a change in an available power capacity between a start and an end of a time interval· The processor may further compute a battery power consumption for the time interval based on the change. Further, the processor may compute a usable time duration of the available power capacity based on the battery power consumption and an available power capacity at the end of the time interval. The computed usable time duration is displayed by the display device.

Inventors:
CHANG HENG-FU (TW)
HUNG MING-CHANG (TW)
CHEN NUNG-KAI (TW)
Application Number:
PCT/US2020/034502
Publication Date:
December 02, 2021
Filing Date:
May 26, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HEWLETT PACKARD DEVELOPMENT CO (US)
International Classes:
G06F1/3212; H02J15/00
Foreign References:
US20170005515A12017-01-05
US20150340907A12015-11-26
RU2621975C22017-06-08
Attorney, Agent or Firm:
SU, Benjamin (US)
Download PDF:
Claims:
We claim;

1. A computing device comprising: a rechargeable battery; a processor coupled to the rechargeable battery to: determine a change in an available power capacity between a start and an end of a time interval; compute a battery power consumption for the time interval based on the change; and compute a usable time duration of the available power capacity based on the battery power consumption and an available power capacity at the end of the time interval; and a display device to display the usable time duration.

2. The computing device as claimed in claim 1, wherein the processor is to: determine an hourly battery power consumption for the computing device based on the battery power consumption for the time interval; and compute the usable time duration of the available power capacity of the rechargeable battery b dividing the available power capacity at the end of the time interval by the hourly battery power consumption

3. The computing device as claimed in claim 1 wherein the rechargeable battery is a smart battery.

4. The computing device as claimed in claim 1 , wherein the time interval is in a range of 1 minute to 5 minutes.

6. The computing device as claimed in claim 1 , wherein the time interval is in a range of 5 minutes to 10 minutes.

6. A computing device comprising: a battery; a processor coupled to the battery to: receive a signal indicative of an actual power capacity of the battery over a time interval; compute a battery power consumption over the time interval based on a difference of a first actual power capacity at a start of the time interval and a second actual power capacity at an end of the time interval; compute a usable time duration of the actual power capacity based on the battery power consumption and the second actual power capacity; and switch the computing device from a high-power consumption mode to a low-power consumption mode upon determining that the usable time duration is less than a threshold; and a display device to display the usable time duration.

7. The computing device as claimed in claim 6, wherein the processor is to; determine a total battery power consumption for the computing device per hour based on the battery power consumption for the time interval; and compute the usable time duration of the actual power capacity of the battery by dividing the second actual power capacity at the end of the time interval by the total battery power consumption.

8. The computing device as claimed In claim 6, wherein the battery is a rechargeab!e battery.

9. The computing device as claimed in claim 6, wherein the time interval is in a range of 1 minutes to 5 minutes.

10. The computing device as claimed in claim 6, wherein the threshold is 30 minutes.

11. A non-transitory computer-readable medium comprising computer- readable instructions, which, when executed by a processor of a computing device, cause the processor to: receive information associated with an available power capacity of a battery of the computin device over a time interval; determine a difference between a first available power capacity at a start of the time interval and a second available power capacity at an end of the time interval; compute a battery power consumption for the computing device for the time interval based on the difference; compute a usable time duration of the available power capacity of the bater based on the batery power consumption and the second available power capacity; update, on a display device of the computing device, the usable time duration; compare the batery power consumption for the computing device during the time interval with a threshold; and generate a notification upon determining, based on the comparison, that the battery power consumption is exceeding the threshold.

12. The non-transitory computer-readable medium as claimed in claim 11, wherein the computer-readable instructions cause the processor to: determine a total battery power consumption for the computing device per hour based on the batery power consumption for the computing device for the time interval; and compute the usable time duration of the available power capacity of the battery by dividing the second available power capacity at the end of the time interval with the total battery power consumption.

13. The non-transitory computer-readable medium as claimed in claim 11, wherein the computer-readable instructions cause the processor to display an alert, based on the notification, on the display device.

14. The non-transitory computer-readable medium as claimed in claim 11. wherein the battery is a rechargeable smart batery.

15. The non-transitory computer-readable medium as claimed in claim 11, wherein the time interval is in a range of 1 minute to 5 minutes.

Description:
BATTERY USABLE TIME COMPUTATION

BACKGROUND

[00013 Computing devices, such as laptops, smart phones, or tablets may include batteries for supplying power to components of the computing devices.

BRIEF DESCRIPTION OF FIGURES

[0002] The detailed description is provided with reference to the accompanying figures, wherein:

[00033 FIG. 1 illustrates a computing device for computing a usable time duration of an available power capacity of a rechargeable battery of the computing device, according to an example;

[00043 FIG. 2 illustrates a computing device for computing a usable time duration of an available power capacity of a battery of the computing device, according to an example;:

[000$] FIG. 3 iilustrates a computing device for computing a usable time duration of an available power capacity of a battery of the computing device, according to an example;

[00063 FIG. 4 iilustrates a flow diagram for computing a usable time duration of an available power capacity of a battery of a computing device, according to an example; and

[00073 FIG. 5 illustrates a system environment using a non-transitory computer-readable medium for computing a usable time duration of an available power capacity of a battery of a computing device, according to an example. DETAILED DESCRIPTION

£00083 A battery of a computing device may supply power to components of the computing device. The components, powered by the battery, may be interna) components of the computing device or external components coupled to the computing device. The battery of the computing device may keep the components of the computin device powered ON for a time duration depending on a remaining power capacity of the battery. The time duration of the battery may be obtained based on historical usage patterns of the computing device. The historical usage patterns may depend on the activities performed b the computing device over a period of time and may be prestored in the computing device for obtaining the time duration of the battery. The usage patterns may vary per user and per environment. The time duration of the battery obtained based on the historical usage paterns is inaccurate and non-reliable.

£0009] The present subject matter describes example computing devices with batteries. In the example computing devices described herein, a usabie time duration of an available power capacity of the battery is computed in real-time and is accurate and reliable in comparison to being obtained using historical usage patterns of the computing device.

£00103 In an example, the computing device includes a battery and a processor coupled to the batery. In an example, the batery is a rechargeable battery. The computing device may be a smart phone, a tablet, a phablet, a persona! digital assistant (PDA), or a laptop computer. When the battery is powering components associated with the computing device, the processor may determine a change in an available power capacity of the battery between a start and an end of a time interval. Such a change ma be determined by calculating a difference between a first available power capacity at the start of the time interval and a second available power capacity at the end of the time interval. In an example, the time interval may be in a range of 1 minute to 5 minutes in an example, the time interval may be in a range of 5 minutes to 10 minutes.

[0011] Further, a batter power consumption for the time interval, as mentioned above, is computed by the processor based on the determined change in the available power capacity between the start and the end of the time interval The battery power consumption for the time interval Is indicative of power discharged from the battery for the time interval. The processor of the computing device may further compute a usable time duration of the available power capacity of the battery. The computation of the usable time duration is based on the computed battery power consumption and an available power capacity at the end of the time interval. In an example, the second available power capacity at the end of the time interval and the computed battery power consumption are utilized for the computation of the usable time duration of the available power capacity of the battery. Further, the computing device includes a display device, suc as a display panel, coupled to the battery and the processor. The display device may display the computed usable time duration of the available power capacity of the battery. |0012] Accordingly, the computing devices of the present subject matter compute the usabie time duration of the available power capacity of the battery based on the battery power consumption for the computing device in real-time, i e. for the time interval. Therefore, the usabie time duration of the available power capacity of the battery is comparatively accurate and reliable.

[0013] The present subject matter is further described with reference to the accompanying figures. Wherever possible, the same reference numerals are used in the figures and the following description to refer to the same or similar parts it should be noted that the description and figures merely illustrate principles of the present subject matter. It is thus understood that various arrangements may be devised that, although not explicitly described or shown herein, encompass the principies of the present subject matter. Moreover, all statements herei reciting principles, aspects, and examples of the present subject matter, as wet! as specific examples thereof, are intended to encompass equivalents thereof

[0014] The manner in which the computing devices are implemented are explained in detail with respect to FIGS. 1-5. While aspects of described computing devices can be implemented in any number of different electronic devices, environments, and/or implementations, the examples are described in the context of the following system(s). It is to be noted that drawings of the present subject matter shown here are for illustrative purposes and are not drawn to scale.

[0015] FIG. 1 illustrates a computing device 100 for computing a usable time duration of an available power capacity of a rechargeable battery 102 of the computing device 100, according to an example. Examples of the computing device 100 may include, but are not limited to, a laptop, a notebook computer, a smart watch, smart phone, a phablet, and a tablet. The rechargeable battery 102 can supply power (e.g., electrical energy) to components of the computing device 100 and can be recharged to restore the power. In an example, the components, powered by the rechargeable battery 102, may be internal components of the computing device 100 or external components coupled to the computing device 100. The rechargeable battery 102 may include a battery management system (not shown) having a battery data report. The battery data report may include informatio associated with a full power capacity, an available power capacity, a rate of power discharge, etc. In an example, the rechargeable battery 102 is a smart battery. [0016] The computing device 100 includes a processor 104 The processor 104 may include microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuitries, and/or any other devices that manipulate signals and data based on computer-readable instructions. Further, functions of the various elements shown in the figures, including any functional blocks labeled as “processor(s)T may be provided through the use of dedicated hardware as weil as hardware capable of executing computer-readable instructions.

[0017] The processor 104 is coupled to the rechargeable battery 102. In an example, the processor 104 is coupled to the rechargeable battery 102 by a System Management Bus (SMBus) (not shown) or a Power Management Bus (PMBus) (not shown) for the communication of the rechargeable battery 102 and the processor 104. The processor 104 may handle various tasks of the computing device 100. The processor 104 may receive the information from: the battery date report via the SMBus or the PMBus. in an example, the processor 104 may receive the information of the battery date report over a time interval via the SMBus or the PMBus The time interval may be in a range of 1 minute to 5 minutes in an example, time interval may be in a range of 5 minutes to 10 minutes. The processor 104 may receive the information associated with the available power capacity of the rechargeable battery 102 over the time interval. In an example, a first available power capacity is received at a start of the time interval and a second available power capacity is received at an end of the time interval. [0618] Upon receiving the information associated with the available power capacity, the processor 104 of the computing device 100 determines a change in the available power capacity of the rechargeable battery 102 between the start and the end of the time interval The change may be determined by calculating a difference between the first available power capacity and the second available power capacity. Further, the processor 104 computes a batery power consumption for the time interval based on the determined change in the available power capacity of the rechargeable batery 102 between the start and the end of the time interval. The battery power consumption for the time interval is indicative of power discharged from the rechargeable battery 102 for the time interval. The battery power consumption for the computing device 100 is computed in real-time. In one example, an hourly battery power consumption may be determined by the processor 104 based on the battery power consumption for the time interval in an example, if the time interval is 5 minutes, the hourly battery power consumption is determined by multiplying the computed batery power consumption for 5 minutes with 12.

£0019] Further, the processor 104 of the computing device 100 computes a usable time duration of the available power capacity of the rechargeable battery 102. The usable time duration is computed based on the battery power consumption and an available power capacity at the end of the time interval, in an example, the second available power capacity. The usable time duration is a time duration, at the end of which power of the rechargeable battery 102 is completely discharged or supplied. In an example, the usable time duration of the available power capacity is computed by dividing the available power capacity at the end of the time interval by the determined hourly battery power consumption.

[0020] The computing device 100 further includes a display device 106. The display device 106 may be coupled to the rechargeable battery 102 and the processor 104. The display device 106 is a panel on to which data is displayed or presented. The display device 106 may be a liquid crystal display (LCD) or a light emitting diode (LED)-based display panel. The computed usable time duration of the available power capacity of the rechargeable battery 102 is displayed by the display device 106, In an example, the usable time duration of the available power capacity is updated after every time interval and the updated usable time duration may be displayed by the display device 106.

[0021] A user (not shown) of the computing device 100 may view the computed usable time duration on the display device 106. Accordingly, the user may manually disable some applications executing on the processor 104 to reduce the battery power consumption of the computing device 100. The user of the computing device 100 may decide for recharging the rechargeable battery 102 of the computing device 100 based on the computed usable time duration.

[0022] Although, the computation of the usable time duration of the available power capacity of the rechargeable battery 102 is explained with respect to the processor 104, the usable time duration of the available power capacity of the rechargeable battery 102 may be computed by any other controller or microprocessor of the computing device 100, which is separate from the processor 104 of the computing device 100.

[0023] FIG. 2 illustrates a computing device 200 for computing a usable time duration of an available power capacity of a battery 202 of the computing device 200, according to an example. In an example, the computing device 200 may be similar to the computing device 100 and may include, but are not limited to, a laptop, a notebook computer, a smart watch, a smart phone, a phablet, and a tablet. The battery 202 may be similar to the rechargeable battery 102. The battery 202 may supply power to internal components of the computing device 200 and to external components coupled to the computing device 200, Similar to the rechargeable battery 102, the battery 202 may include a battery data report having information associated with a full power capacity, an available power capacity, and a rate of power discharge. In an example, the batery 202 is a rechargeable battery. [0024] The computing device 200 includes a processor 204 coupled to the batery 202. In an example, the processor 204 may be similar to the processor 104 of FIG. 1. The processor 204 of the computing device 200 receives a signal indicative of the actual power capacity of the battery 202 over a time interval. In an example, the processor 204 receives a first signal indicative of a first actual power capacity of the battery 202 at a start of the time interval and further the processor 204 receives a second actual power capacity of the battery 202 at an end of the time interval

[0025] The processor 204 determines a difference of the first actual power capacity of the battery 202 and the second actual power capacity of the batery 202. Based on the determined difference between the first actual power capacity and the second actual power capacity, the processor 204 computes a battery power consumption over the time interval. The battery power consumption over the time interval is indicative of power consumed by the components of the computing device 200 for the time interval. For subsequent time interval, the processor 204 computes the battery power consumption afresh.

[0026] After computing the battery power consumption over the time interval, the processor 204 of the computing device 200 computes a usable time duration of the actual power capacity of the battery 202. The usable time duration of the battery 202 is indicative of a time duration, at the end of which the battery 202 is completely discharged and the computing device 200 may not receive power supply from the battery 202. In an example, the processor 204 computes a usable time duration of the second actual power capacity. The usable time duration of the actual power capacity of the battery 202 is computed by utilizing the the battery power consumption over the time interval and the actual power capacity at the end of the time interval, re. the second actual power capacity. The usable time duration is compute based on real-time data, such as the battery power consumption for the time interval and the available power capacity at the end of the time interval to ensure accuracy and reliability of the computed usable time duration.

[0027] Further, on computing the usable time duration of the available power capacity of the battery 202, the processor 204 of the computing device 200 compares the computed usable time duration with a threshold. In an example, the threshold may be a user-specified time duration threshold. In an example, the threshold may be a threshold preset by a manufacturer of the computing device 200. In an example, but Is not limited to, the threshold is 30 minutes. The processor 204 may check whether the computed usable time duration is less than the threshold in addition, the processor 204 of the computing device 200 ma check whether the computing device 200 is operating in a high-power consumption mode or a low-power consumption mode. In an example, in the high-power consumption mode of the computing device 200, multiple applications are executing on the computing device 200, such as video streaming, audio streaming, etc. and power consuming properties, such as brightness are high. On the contrary, the low-power consumption mode of the computing device 200 is a power saving mode. [0028] Further, in response to the computed usable time duration less than the threshold and the computing device 200 operating in the high-power consumption mode, the processor 204 switches the computing device 200 from the high-power consumption mode to the low-power consumption mode. Such a switching from the high-power consumption mode to the iow-power consumption mode may include disabling high-power consuming applications, or controlling display properties, such as brightness of the computing device 200. The computing device 200 thus facilitates a prolonged usage of the available power capacity of the batter 202 due to the switching from the high-power consumption mode to the low-power consumption mode. [0029] In case, the computed usable time duration is equal to or more than the threshold and the computing device 200 is operating in the high- power consumption mode, the processor 204 may keep the computing device 200 to operate in the high-power consumption mode to retain fuii functional features of the computing device 200 for a user to use.

[0030] The computing device 200 further includes a display device 206 similar to the display device 106 of FIG. 1. The display device 206 may be coupled to the battery 202 and the processor 204 in a similar manner as the rechargeable battery 102 and the processor 104 are coupled to the display device 106. The display device 206 is a panel on to which the computed usable time duration of the actual power consumption of the battery 202 is displayed. Based on a specific setting, the processor 204 may convert the computed usable time duration to a percentage value indicating State of charge (SoC) of the battery 202. The SoC Is a level of charge of a battery 202 relative to the full power capacity of the battery 202. in such a case, the display device 206 may display the converted percentage value. The display of the computed usable time duration may enable the user of the computing device 200 to manually control operations of the computing device 200 for optimized performance.

[0031] FIG 3 illustrates a computing device 300 for computing a usable time duration of an available power capacity of a battery 302 of the computing device 300, according to an example. Examples of the computing device 300 having the batery 302 may include, but are not limited to, a laptop, a notebook computer, a smart watch, a smart phone, a phablet, and a tablet. The computing device 300 may be similar to the computing device 100 and the computing device 200 of FIG. 1 and FIG. 2, respectively. The battery 302 of the computing device 300 may be similar to the battery 202. in an example, the battery 302 is a rechargeable batery in an example, the battery 302 is a smart battery.

[0032] in an exam pie, the battery 302 may communicate with a storage device 304 of the computing device 300 for storing information associated with a full power capacity, an avaiiabie power capacity, and a rate of power discharge in the storage device 304. in an example, the storage device 304 may be a non-volatile memory, a volatile memory, or a combination of both. Examples of the non-voiatile memory may include, but are not iimited to rea only memory {ROM), erasable programmable ROM, flash memories, hard disks, optical disks, and magnetic tapes. The volatile memory may include any non-transitory computer-readable medium known in the art including such as static random-access memory (SRAM) and dynamic random-access memory (DRAM). In an example, the storage device 304 may be a shared memory, such that the storage device 304 may be simultaneously accessible by multiple applications and devices.

[0033] The storage device 304 may store an activity data 306 In an example, the activity data 306 includes the information from the battery 302 including the full power capacity, the avaiiabie power capacity, and the rate of power discharge in an example, the information associated with the available power capacity and the rate of power discharge changes dynamically. In an example, the activity data 306 includes a threshold that may change when a user of the computing device 300 resets the threshold to a new value.

[0034] Further, the computing device 300 includes a processor 308. The processor 308 may be similar to the processor 104 of FIG. 1 and the processor 204 of FIG. 2. In an example, the processor 308 computes a batery power consumption over a time interval by accessing the information associated with the available power capacit of the battery 302 for the time interval from the storage device 304

[0035] The processor 308 may access the storage device 304 to receive a first actual power capacity at a start of the time interval and a second actual power capacity an end of the time interval so that the processor 308 may calculate a difference in the first actual power capacity and the second actual power capacity. The processor 308, on calculating the difference, computes the battery power consumption over the time interval based on the difference in the first actual power capacity and the secon actual power capacity. In an example when the time interval is 5 minutes, if the first actual power capacity at the start of the 5 minutes interval is 50000 milliwatt (mW) and the second actual power capacity at the end of the fifth minute of 5 minutes interval is 49500 mW, the difference is calculated by subtracting the first actual power capacity, i.e. 50000 mW with the secon actual power capacity, i.e 49500 mW Such a difference, i.e. 500 mW can be considered as the battery power consumption for the 5 minutes interval.

[0036] Further, the processor 308 computes a total battery power consumption for the computing device 300 per hour. The total battery power consumption for the computing device 300 per hour is an amount of power consumed by internal components of the computing device 300 or external components coupled to the computing device 300 or a combination thereof. In an example when the time interval is 5 minutes, the battery power consumption computed for 5 minutes may be multiplied by 12 to obtain the total battery power consumption for the computing device 300 per hour tn an example, if the batter power consumption for the computing device 300 for 5 minutes is 500 mW, the total battery power consumption for the computing device 300 per hour is 500 mW multiplied by 12, i.e. 6000 mW per hour (mW/h). [003?] The processor 308 of the computing device 300 computes a usable time duration of the actuai power capacity of the battery 302 based on the toiai battery power consumption and the actual power capacity at the end of the time interval, Le. the second actuai power capacity. For computing the usable time duration, the second actuai power capacity is divided by the total battery power consumption per hour in an example when the time interval is 5 minutes, the battery power consumption for 5 minutes is 500 mW, the total battery power consumption per hour is 8000 mW/h, and the second actual power capacity at the end of 5 s minute Is 49500 mW, the processor 308 is operated to divide the second actual power capacity, i.e. 49500 W (numerator) with the total battery power consumption per hour, i.e. 6000 mW/h (denominator) to compute the usable time duration, i.e 8 hours and 15 minutes.

[0038] The processor 308 compares the computed usabl time duration with the threshold stored In the storage device 304 and determines whether the computing device 300 is operating in a high-power consumption mode or a Sow-power consumption mode. Further, the processor 308 may operate based on the results obtained by the comparison in case, in an example, the processor 308 in response to determining, on comparing the computed usable time duration of the actual power capacity with the threshold, that the computed usable time duration is less than the threshold, fo example, 30 minutes, the processor 308 of the computing device 300 switches the computing device 300 from a high-power consumption mode to a low-power consumption mode in a similar manner and in a similar condition as the processor 204 does for the computing device 200 of FIG. 2.

[0039] In case, in an example, when the processor 308 determines on comparing the computed usable time duration with the threshold, that the computed usable time duration is more than or equal to the threshold, the processor 308 of the computing device 300 keeps the computing device 300 to operate in the high-power consumption mode in a similar manner an in a similar condition as the processor 204 does for the computing device 200 of FIG. 2.

[0040] In an example, based on a specific setting, the processor 308 may keep operating the computing device 300 in the high-power consumption mode in case the processor 308 determines that the usable time duration is less than the threshold.

[0041] The computed usable time duration of the actual power capacity of the battery 302 is displayed by a display device 310 of the computing device 300, which is coupled to the batery 302 and the processor 308. The display device 310 may be similar to the display device 106 and the display device 206. The display device 310 may update the usable time duration of the actual power capacity of the battery 302 after every time interval. In an example, the time interval is in a range of 1 minutes to 5 minutes.

[0042] After switching the computing device 300 from the high-power consumption mode to the low-power consumption mode, the processor 204 may monitor the computed usable time duration for subsequent time intervals. In case the computed usable time duration for any subsequent time interval, based on the monitoring, is determined to be equal or more then the threshold, the processor 308 may switch the computing device 300 from the low-power consumption mode to the high-power consumption mode.

[0043] In an example, the battery 302, the storage device 304, the processor 308, and the display device 310 are coupled to each other by means of an interface 312. The interface 312 facilitates the communication of the battery 302, the storage device 304, the processor 308, and the display device 310 with each other. |0044] in an example, the user of the computing device 300 overrides the processor 308 action that controls switching of the computing device 300 from the high-power consumption mode to the !ow-power consumption mode, while using applications such as video play, Photoshop editing, etc. to be performed with full functional features. The computing device 300 also provides flexibility to the user of the computing device 300 to pre-set the threshold. Thus, the threshold is a user-defined time duration threshold.

[0045] FIG. 4 illustrates a flow diagram 400 for computing a usable time duration of an available power capacity of the battery 302 of a computing device 300, according to an example of the present subject matter. The various arrow indicators used in the flow diagram 400 depicts the transfer of data between the components (interna! components of the computing device 300 or external components coupled to the computing device 300) of the computing device 300 and between the applications running in the computing device 300. The order in which the flow diagram 400 is described is not intended to be construed as a limitation, and any number of the described steps may be combined in any order to implement the flow diagram 400, or an alternative method. Further, certain steps have been omitted in the flow diagram for the sake of brevity and clarity.

[0046] Referring to FIG. 4, at step 402, the battery 302 using a battery management system (not shown) generates a signal indicative of an actual power capacity. The actual power capacity is an indicative of power remaining within the batter which may be supplied to the computing device 300.

[0047] At step 404, the storage device 304 stores the signal indicative of the actual power capacity of the battery 302. The storage device 304 stores the signal indicative of the actual power capacity of the battery 302 over a time interval. The time interval may be in a range of 1 minute to 10 minutes. In an example, a first signal indicative of a first actual power capacity is stored at a star of the time interval and a second signal indicative of a second actual power capacity is stored at an end of the time interval. The signals associated with the actual power capacity may be stored as the activity data. Further, the storage device 304 stores a threshold, for example, a user-specified time duration threshold as a part of the activity data 306. The activity data is shown as part of step 406. The default value of the threshol may be preset by the user of the computing device 300. In an example, the threshold may be pre-set by the manufacturer of the computing device 300 based on experimental data.

[0048] At step 408, the processor 308 retrieves the activity data stored in the storage device 304. The retrieved activity data includes the signals associated with the first actual power capacity, the second actual power capacity, and the threshold. In an example, the threshold is in a range of 15 minutes to 45 minutes in an example, the threshold is 30 minutes.

[0049] At step 410, a battery power consumption over the time interval is computed by the processor 308 in a similar manner and similar condition as computed by the processor 104 and the processor 204 of FIG. 1 and FIG. 2, respectively.

[0050] At step 412, the processor 308 determines an hourly battery power consumption based on the computed battery power consumption for the time interval in a similar manner as the processor 104 of FIG. 1 does [0051] At step 414, the processor 308 computes the usable time duration of the actual power capacity of the batery 302 in a similar manner and similar condition as computed by the processor 104 and the processor 204 of FIG 1 and FIG. 2, respectively.

[0052] At step 416, the processor 308 compares the computed usable time duration, computed at step 410, with the threshold stored in the storage device 304. On determining, based on the comparing, that the computed usable time duration is less than the threshold, the processor 308 switches the computing device 300 from a high-power consumption mode to a low- power consumption mode in a similar manner as the processor 204 of FiG. 2 does

[0053] FIG. 5 ii!ustrates a system environment 500 using a non- transitory computer-readable medium 502 for computing a usable time duration of an available power capacity of a battery of a computing device, according to an example of the present subject matter. The system environment 500 includes a processor 504 communicatively coupled to the non-transitory computer-readable medium 502 through a communication link 506 for fetching and executing computer-readable instructions from the non- transitory computer-readable medium 502.

[QQS4] The non-transitory computer-readable medium 502 may be, for example, an Internal memory device or an external memory device. In one example, the communication Sink 506 may be a direct communication link such as one formed through a memory read/write interface !n another example, the communication Sink 506 may be an indirect communication link, such as one formed through a network interface. In such a case, the processor 504 may access the non-transitory computer-readable medium 502 through a network (not shown)

[0055] In an example, the non-transitory computer-readable medium 502 includes a set of computer-readable and executable instructions for computing a usable time duration of an available power capacity of a battery of a computing device. The set of computer-readable instructions may include instructions as explained in conjunction with FIGS. 1 to 3. The set of computer-readable instructions, referred to as instructions hereinafter, may be accessed by the processor 504 through the communication link 506 and subsequently executed to perform acts for computing the usable time duration of the available power capacity of the battery of the computing device.

[0056] Referring to FIG. 5, in an example, the non-transitory computer- readable medium may include instructions 508 that cause the processor 504 to receive information associated with an available power capacity of a battery of the computing device over a time interval. In an example, the time interval is in a range of 1 minute to 5 minutes. The information associated with the available power capacity of the battery of the computing device over the time interval is received from a battery data report of the battery, such as the battery 102, 202, and 302 of the computing device. The available power capacity of the battery may be considered as power available within the battery that may be supplied to components associated with the computing device. In an example, the battery is a rechargeable smart battery. The rechargeable smart battery may be recharged to restore the power, which may be further supplied to the components associated with the computing device. The rechargeable smart battery can also exchange data, such as the batery data report with the processor 504 of the computing device.

[0057] The non-transitory computer-readable medium 502 may include instructions 510 to further cause the processor 504 to determine a difference between a first available power capacity at a start of the time interval and a second available power capacity at an end of the time interval. The first available power capacity and the second available power capacity are included in the information received from the battery. To determine the difference between the first available power capacity and the second available power capacity, the non-transitory computer-readable medium 502 may cause the processor 504 to subtract the first available power capacity with the second available power capacity. A value obtained by the subtraction is indicative of the determined difference. The determined difference is an indicative of power utilized for the computing device during the time interval [0058] The non-transitory computer-readable medium 502 may include further instructions 512 to cause the processor 504, based on the determined difference, to compute a battery power consumption for the computing device for the time interval in an example, the battery power consumption for the computing device for the time interval may be understood as the power consumed by the components associated with the computing device from the batery over the time interval. The non-transitory computer-readable medium 502 may include further instructions to cause the processor 504 to determine a total battery power consumption for the computing device per hour based on the batery power consumption for the computing device for the time interval in an example when the time interval is 10 minutes, the battery powe consumption for 10 minutes may be multiplied by 6 to determine the battery power consumption for 1 hour.

£0059] The non-transitory computer-readable medium 502 may include further instructions 514 to cause the processor 504 to compute a usable time duration of the available power capacity of the battery based on the battery power consumption and the second available power capacity, i.e the available power capacity at the end of the time interval. The batery power consumption and the second available power capacity are real-time information, thus the computed usable time duration is accurate and reliable. Operations of the computing device may be planned based on the computed usable time duration of the battery of the computing device. The non- transitory computer-readable medium 502 may include further instructions to divide the second available power capacity with the determined total batery power consumption for computing the usable time duration of the available power capacity of the battery. [00603 The non-transitory computer-readable medium 502 may include further instructions 516 to cause the processor 504 to update the computed usable time duration on a display device such as the display device 106, 206, and 310 of the computing device. A usable time duration may be computed for a first time interval, subsequently for a second time interval, subsequently for a third time interval, and so on. The processor 504 at the end of each time interval computes an updated usable time duration of the battery and updates the display device to display the updated usable time duration. The usable time duration of the available power capacity of the battery when displayed on the display device makes a user of the computing device aware of exact usable time duration of the battery. The user may manually control the operation of the computing device in case the user wishes to use the available power capacity of the battery for a time duration longer than the displayed usable time duration.

[00613 The non-transitory computer-readable medium 502 may include further instructions 518 to cause the processor 504 to compare the computed battery power consumption for the computing device for the time interval with a threshold. In an example, the threshold may be a user-specified power consumption threshold in an example, the threshol may be preset by a manufacturer of the computing device. The processor 504 may check whether the computed battery power consumption is exceeding the threshold . In an example, the threshold is a specific power consumption value, for example, 1000 mW.

[00623 T e non-transitory computer-readable medium 502 may include further instructions 520 to cause the processor 504 to, in response to determining, based on the check, that the computed battery power consumption is exceeding the threshold, generate a notification. In an example, the computer-readable instructions may cause the processor 504 to display an alert, based on the notification, on the display device in an example, the notification may be a warning message, such as a visual display, an audible alert, or a combination of visual and audible alerts in an example, in a specific setting, if the battery power consumption computed for the time interval is more than twice the battery power consumption computed for the preceding time interval, the processor 504 generates the notification. The generated notification may alert the user of the computing device that the battery power consumption is more than the threshold and the battery may get discharged in a short time if the battery power consumption is not controlled.

10063] Although aspects for the present disclosure have been described in a language specific to structural features and/or methods, it is to be understood that the appended claims are not limited to the specific features or methods described herein. Rather, the specific features and methods are disclosed as examples of the present disclosure.