fuchsia.hardware.power.sensor

Added: 11

PROTOCOLS

Device

Defined in fuchsia.hardware.power.sensor/sensor.fidl

GetPowerWatts

Request

<EMPTY>

Response

NameType
payload Device_GetPowerWatts_Result

GetSensorName

Added: 14

Request

<EMPTY>

Response

NameType
name SensorName

GetVoltageVolts

Request

<EMPTY>

Response

NameType
payload Device_GetVoltageVolts_Result

STRUCTS

Device_GetPowerWatts_Response

Defined in fuchsia.hardware.power.sensor/sensor.fidl

FieldTypeDescriptionDefault
power float32 No default

Device_GetVoltageVolts_Response

Defined in fuchsia.hardware.power.sensor/sensor.fidl

FieldTypeDescriptionDefault
voltage float32 No default

UNIONS

Device_GetPowerWatts_Result strict

Defined in fuchsia.hardware.power.sensor/sensor.fidl

OrdinalVariantTypeDescription
response Device_GetPowerWatts_Response
err zx/Status

Device_GetVoltageVolts_Result strict

Defined in fuchsia.hardware.power.sensor/sensor.fidl

OrdinalVariantTypeDescription
response Device_GetVoltageVolts_Response
err zx/Status

CONSTANTS

NameValueTypeDescription
MAX_SENSOR_NAME_LEN 256 uint32
Added: 14

ALIASES

NameValueDescription
SensorName string[MAX_SENSOR_NAME_LEN]

An arbritrary, human-readable string that uniquely identifies a power sensor.

Added: 14

SERVICES

Service

Defined in fuchsia.hardware.power.sensor/sensor.fidl

NameTypeTransport
device fuchsia.hardware.power.sensor/Device Channel