class ApplicationActivityLevel

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

Application activity power levels

Elements that need to keep the system from suspending should take an assertive

dependency on `ApplicationActivityLevel::ACTIVE`. When these components are

performing work, they should request a lease to ensure the system remains

active, and drop the lease when they are done.

Public Members

static ApplicationActivityLevel kInactive
static ApplicationActivityLevel kActive

Public Methods

void ApplicationActivityLevel ()

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

void ApplicationActivityLevel (uint8_t value)

Defined at line 236 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::ApplicationActivityLevel::EnumForSwitching_ ()

Defined at line 237 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 238 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 240 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h

ApplicationActivityLevel 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 253 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h