Skip to main content

DevicePowerGet

Properties

NameTypeRequiredDescription
type_stringType of the supported resources
idstringUnique identifier representing a specific resource instance
idV1stringClip v1 resource identifier
ownerResourceIdentifier
powerStatePowerState

PowerState

Properties

NameTypeRequiredDescription
batteryStateBatteryStateStatus of the power source of a device, only for battery powered devices. - normal – battery level is sufficient - low – battery level low, some features (e.g. software update) might stop working, please change battery soon - critical – battery level critical, device can fail any moment
batteryLevelnumberThe current battery state in percent, only for battery powered devices.

BatteryState

Status of the power source of a device, only for battery powered devices. - normal – battery level is sufficient - low – battery level low, some features (e.g. software update) might stop working, please change battery soon - critical – battery level critical, device can fail any moment

Properties

NameTypeRequiredDescription
normalstring"normal"
lowstring"low"
criticalstring"critical"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →