IGPAPI
Preparing search index...
@igpapi/core
mobile
batteryLevelOf
Function batteryLevelOf
batteryLevelOf
(
device
:
Pick
<
MobileDeviceState
,
"id"
|
"batteryLevel"
>
)
:
number
The battery percentage a device reports; a device that declares none gets the simulated value.
Parameters
device
:
Pick
<
MobileDeviceState
,
"id"
|
"batteryLevel"
>
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
IGPAPI
Loading...
The battery percentage a device reports; a device that declares none gets the simulated value.