EnergyPreferenceTrait.Feature

data class EnergyPreferenceTrait.Feature : ClusterBitmap


EnergyPreference trait FeatureMap.

Summary

Public constructors

Feature(energyBalance: Boolean, lowPowerModeSensitivity: Boolean)

Creates the Feature data class.

Public functions

open ULong

Public properties

Boolean

Allows a user to balance energy consumption versus another priority for a device.

Boolean

Allows the user to select a condition or set of conditions to cause a device to switch to a mode that uses less power than the current mode.

Public constructors

Feature

Feature(
    energyBalance: Boolean = false,
    lowPowerModeSensitivity: Boolean = false
)

Creates the Feature data class.

Public functions

toRaw

open fun toRaw(): ULong

Public properties

energyBalance

val energyBalanceBoolean

Allows a user to balance energy consumption versus another priority for a device.

lowPowerModeSensitivity

val lowPowerModeSensitivityBoolean

Allows the user to select a condition or set of conditions to cause a device to switch to a mode that uses less power than the current mode. For example, a device might provide a scale of durations that must elapse without user interaction before the device enters sleep mode.