Namespaces

Enumerations

enum BatteryStatus
Name Value
kUnknown 0u
kOk 1u
kNotAvailable 2u
kNotPresent 3u

The overall status of the battery, informing its general availability.

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

enum ChargeStatus
Name Value
kUnknown 0u
kNotCharging 1u
kCharging 2u
kDischarging 3u
kFull 4u

The status of the battery with respect to charging.

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

enum ChargeSource
Name Value
kUnknown 0u
kNone 1u
kAcAdapter 2u
kUsb 3u
kWireless 4u

The power source for an actively charging battery.

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

enum LevelStatus
Name Value
kUnknown 0u
kOk 1u
kWarning 2u
kLow 3u
kCritical 4u

The general status of the battery level.

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

enum HealthStatus
Name Value
kUnknown 0u
kGood 1u
kCold 2u
kHot 3u
kDead 4u
kOverVoltage 5u
kUnspecifiedFailure 6u
kCool 7u
kWarm 8u
kOverheat 9u

The general status related to the overall health of the battery.

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

Records