class TakeWakeLease

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

Creates a lease that blocks suspension of the hardware platform.

The hardware platform will not suspend as long as a valid

[`LeaseToken`] exists.

If an error occurs while creating a token for the wake lease, then the

channel to `ActivityGovernor` will be closed by the server and no

response will be returned.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal