class TimeRemaining

Defined at line 893 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

The time remaining while actively charging or discharging.

Public Methods

void TimeRemaining ()
void TimeRemaining (const TimeRemaining & )

Defined at line 897 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

TimeRemaining & operator= (const TimeRemaining & )

Defined at line 898 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

void TimeRemaining (TimeRemaining && )

Defined at line 899 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

TimeRemaining & operator= (TimeRemaining && )

Defined at line 900 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

bool IsUnknown ()

Defined at line 908 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

bool has_invalid_tag ()
bool is_indeterminate ()
TimeRemaining WithIndeterminate (::fidl::ObjectView<int64_t> val)

Representation of indeterminate state with zero duration.

template <typename... Args>
TimeRemaining WithIndeterminate (::fidl::AnyArena & allocator, Args &&... args)

Representation of indeterminate state with zero duration.

Defined at line 921 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

int64_t & indeterminate ()

Representation of indeterminate state with zero duration.

const int64_t & indeterminate ()

Representation of indeterminate state with zero duration.

bool is_battery_life ()
TimeRemaining WithBatteryLife (::fidl::ObjectView<int64_t> val)

Remaining battery life while discharging.

template <typename... Args>
TimeRemaining WithBatteryLife (::fidl::AnyArena & allocator, Args &&... args)

Remaining battery life while discharging.

Defined at line 939 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

int64_t & battery_life ()

Remaining battery life while discharging.

const int64_t & battery_life ()

Remaining battery life while discharging.

bool is_full_charge ()
TimeRemaining WithFullCharge (::fidl::ObjectView<int64_t> val)

Remaining time until full while charging.

template <typename... Args>
TimeRemaining WithFullCharge (::fidl::AnyArena & allocator, Args &&... args)

Remaining time until full while charging.

Defined at line 957 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h

int64_t & full_charge ()

Remaining time until full while charging.

const int64_t & full_charge ()

Remaining time until full while charging.

::fuchsia_power_battery::wire::TimeRemaining::Tag Which ()

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kIndeterminate 1

0x1

kBatteryLife 2

0x2

kFullCharge 3

0x3

_do_not_handle_this__write_a_default_case_instead ::std::numeric_limits<::fidl_union_tag_t>::max() --

Defined at line 902 of file fidling/gen/sdk/fidl/fuchsia.power.battery/fuchsia.power.battery/cpp/fidl/fuchsia.power.battery/cpp/wire_types.h