TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_power_status

TMSiSDK.device.devices.apex.apex_device.ApexDevice.get_device_power_status#

ApexDevice.get_device_power_status() TMSiDevPowerStatus#

Returns the power status of the device

Raises:
  • TMSiError – TMSiErrorCode.device_error if get device power status from the device fails.

  • TMSiError – TMSiErrorCode.device_not_connected if not connected.

Returns:

device power status.

Return type:

TMSiDevPowerStatus