enum Matter::Cluster::PowerSourceCluster::BatChargeState

Overview

Battery charge state values

Defined in:

matter/cluster/power_source_cluster.cr

Enum Members

Unknown = 0
IsCharging = 1
IsAtFullCharge = 2
IsNotCharging = 3

Instance Method Summary

Instance Method Detail

def is_at_full_charge? #

Returns true if this enum value equals IsAtFullCharge


[View source]
def is_charging? #

Returns true if this enum value equals IsCharging


[View source]
def is_not_charging? #

Returns true if this enum value equals IsNotCharging


[View source]
def unknown? #

Returns true if this enum value equals Unknown


[View source]