class Status
Defined at line 370 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
Dynamic status of the battery pack telemetry.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_hardware_power_battery::wire::Status> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_hardware_power_battery::wire::Status> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_hardware_power_battery::wire::Status>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Status ()
Defined at line 372 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
void Status (const Status & other)
Defined at line 373 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
void Status (Status && other)
Defined at line 375 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
::fuchsia_hardware_power_source::wire::Status & source_status ()
Base status from the underlying power source.
bool has_source_status ()
::fuchsia_hardware_power_battery::wire::ChargeStatus & charge_status ()
High-level charging status.
bool has_charge_status ()
float & level_percent ()
Battery level percentage (0.0 to 100.0).
bool has_level_percent ()
Status & operator= (const Status & other)
Defined at line 374 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
Status & operator= (Status && other)
Defined at line 376 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
uint32_t & remaining_capacity_uah ()
Remaining capacity in microamp-hours.
bool has_remaining_capacity_uah ()
uint32_t & full_charge_capacity_uah ()
Full charge capacity in microamp-hours.
bool has_full_charge_capacity_uah ()
::fuchsia_hardware_power_battery::wire::HealthStatus & health ()
Battery health status.
bool has_health ()
int32_t & temperature_mc ()
Temperature in milli-Celsius.
bool has_temperature_mc ()
uint32_t & cycle_count ()
Number of charge cycles.
bool has_cycle_count ()
int64_t & time_remaining ()
Estimated time remaining until empty or full.
bool has_time_remaining ()
void ~Status ()
Defined at line 378 of file fidling/gen/sdk/fidl/fuchsia.hardware.power.battery/fuchsia.hardware.power.battery/cpp/fidl/fuchsia.hardware.power.battery/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder