class ApplicationActivityLevel
Defined at line 231 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 245 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 246 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 247 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 248 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 250 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 263 of file fidling/gen/sdk/fidl/fuchsia.power.system/fuchsia.power.system/cpp/fidl/fuchsia.power.system/cpp/common_types.h