You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|supported|boolean | Indicates whether the Battery Status API is supported in the user’s browser. |
106
-
|loading|boolean | Indicates if the battery information is still loading. |
107
-
|level| number | Represents the level of the system’s battery. 0.0 means that the system’s battery is completely discharged, and 1.0 means the battery is completely charged.|
108
-
|charging| boolean | Represents whether the system’s battery is charging. `true`means the battery is charging, `false` means it’s not. |
109
-
| chargingTime | number | Represents the time remaining in seconds until the system’s battery is fully charged. |
110
-
| dischargingTime | number | Represents the time remaining in seconds until the system’s battery is completely discharged and the system is about to be suspended. |
|`isSupported`|`boolean`| Indicates whether the Battery Status API is supported in the user’s browser. |
104
+
|`isLoading`|`boolean`| Indicates if the battery information is still loading. |
105
+
|`isCharging`|`boolean`| Represents whether the system’s battery is charging. `true`means the battery is charging, `false` means it’s not. |
106
+
|`level`|`number`| Represents the level of the system’s battery. 0.0 means that the system’s battery is completely discharged, and 1.0 means the battery is completely charged.|
107
+
|`chargingTime`|`number`| Represents the time remaining in seconds until the system’s battery is fully charged. |
108
+
|`dischargingTime`|`number`| Represents the time remaining in seconds until the system’s battery is completely discharged and the system is about to be suspended. |
0 commit comments