pamoja for TypeScript - v0.1.17
    Preparing search index...

    Variable PowerModeConst

    PowerMode: { Active: PowerMode; Critical: PowerMode; Saver: PowerMode }

    What a node should be doing at the current state of charge.

    Provided as a runtime object plus a matching string-union type so it works as both a value (PowerMode.Saver) and a type annotation.

    Type Declaration

    • ReadonlyActive: PowerMode

      Full duty, because the charge is healthy.

    • ReadonlyCritical: PowerMode

      Minimum duty, to stay alive as long as possible.

    • ReadonlySaver: PowerMode

      Reduced duty, to conserve charge.