class ExecutionStateLevel

Defined at line 97 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

Execution state power levels

Elements should take an opportunistic dependency on `ExecutionStateLevel::ACTIVE`

to ensure that the element will be suspended when the rest of the system

suspends.

Drivers can take an opportunistic dependency on either

`ExecutionStateLevel::SUSPENDING` or `ExecutionStateLevel::ACTIVE` and

request a persistent lease on this state to ensure that their element's

power level is always activated when the system comes out of a suspend

state.

Public Members

static ExecutionStateLevel kInactive
static ExecutionStateLevel kSuspending
static ExecutionStateLevel kActive

Public Methods

void ExecutionStateLevel ()

Defined at line 113 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

void ExecutionStateLevel (uint8_t value)

Defined at line 114 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

EnumForSwitching_ operator fuchsia_power_system::ExecutionStateLevel::EnumForSwitching_ ()

Defined at line 115 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

uint8_t operator unsigned char ()

Defined at line 116 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

bool IsUnknown ()

Defined at line 118 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

ExecutionStateLevel Unknown ()

Returns an enum corresponding to the member designated as

in the

FIDL schema if exists, or a compiler-reserved unknown value otherwise.

Defined at line 133 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h