class ApplicationActivityLevel

Defined at line 243 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 257 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 258 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 259 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 260 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 262 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 275 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h