class HealthStatus
Defined at line 122 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h
Battery health and safety status, including JEITA temperature regions and fault conditions.
Each value describes whether the pack may be charged and whether it can still supply power to
the system. Unless a value states otherwise, the battery can still supply power.
Public Members
static HealthStatus kGood
static HealthStatus kCold
static HealthStatus kCool
static HealthStatus kWarm
static HealthStatus kHot
static HealthStatus kDead
static HealthStatus kOverVoltage
static HealthStatus kUnspecifiedFailure
Public Methods
void HealthStatus ()
Defined at line 166 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h
void HealthStatus (uint32_t value)
Defined at line 167 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h
EnumForSwitching_ operator fuchsia_hardware_power_battery::HealthStatus::EnumForSwitching_ ()
Defined at line 168 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h
uint32_t operator unsigned int ()
Defined at line 169 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h
bool IsUnknown ()
Defined at line 171 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h
HealthStatus 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 196 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/common_types.h