enum Matter::Cluster::Definitions::PowerSource::BatteryChargeFault

Defined in:

matter/cluster/definitions/power_source.cr

Enum Members

Unspecified = 0_u8

The Node detects an unspecified fault on this battery source.

AmbientTooHot = 1_u8

The Node detects the ambient temperature is above the nominal range for this battery source.

AmbientTooCold = 2_u8

The Node detects the ambient temperature is below the nominal range for this battery source.

BatteryTooHot = 3_u8

The Node detects the temperature of this battery source is above the nominal range.

BatteryTooCold = 4_u8

The Node detects the temperature of this battery source is below the nominal range.

BatteryAbsent = 5_u8

The Node detects this battery source is not present.

BatteryOverVoltage = 6_u8

The Node detects this battery source is over voltage.

BatteryUnderVoltage = 7_u8

The Node detects this battery source is under voltage.

ChargerOverVoltage = 8_u8

The Node detects the charger for this battery source is over voltage.

ChargerUnderVoltage = 9_u8

The Node detects the charger for this battery source is under voltage.

SafetyTimeout = 10_u8

The Node detects a charging safety timeout for this battery source.

Instance Method Summary

Instance Method Detail

def ambient_too_cold? #

Returns true if this enum value equals AmbientTooCold


[View source]
def ambient_too_hot? #

Returns true if this enum value equals AmbientTooHot


[View source]
def battery_absent? #

Returns true if this enum value equals BatteryAbsent


[View source]
def battery_over_voltage? #

Returns true if this enum value equals BatteryOverVoltage


[View source]
def battery_too_cold? #

Returns true if this enum value equals BatteryTooCold


[View source]
def battery_too_hot? #

Returns true if this enum value equals BatteryTooHot


[View source]
def battery_under_voltage? #

Returns true if this enum value equals BatteryUnderVoltage


[View source]
def charger_over_voltage? #

Returns true if this enum value equals ChargerOverVoltage


[View source]
def charger_under_voltage? #

Returns true if this enum value equals ChargerUnderVoltage


[View source]
def safety_timeout? #

Returns true if this enum value equals SafetyTimeout


[View source]
def unspecified? #

Returns true if this enum value equals Unspecified


[View source]