Table of Contents

Struct PowerSchedule

Namespace
Pamoja.Profile
Assembly
Pamoja.Profile.dll

How often a node samples as its battery drains, in whole seconds.

public readonly record struct PowerSchedule : IEquatable<PowerSchedule>
Implements
Inherited Members

Constructors

PowerSchedule(ulong, ulong, ulong, float, float)

How often a node samples as its battery drains, in whole seconds.

public PowerSchedule(ulong ActiveSecs, ulong SaverSecs, ulong CriticalSecs, float SaverBelow, float CriticalBelow)

Parameters

ActiveSecs ulong

Seconds between samples at a healthy charge.

SaverSecs ulong

Seconds between samples while conserving.

CriticalSecs ulong

Seconds between samples when critically low.

SaverBelow float

Enter the saver cadence below this state of charge.

CriticalBelow float

Enter the critical cadence below this state of charge.

Properties

ActiveSecs

Seconds between samples at a healthy charge.

public ulong ActiveSecs { get; init; }

Property Value

ulong

CriticalBelow

Enter the critical cadence below this state of charge.

public float CriticalBelow { get; init; }

Property Value

float

CriticalSecs

Seconds between samples when critically low.

public ulong CriticalSecs { get; init; }

Property Value

ulong

SaverBelow

Enter the saver cadence below this state of charge.

public float SaverBelow { get; init; }

Property Value

float

SaverSecs

Seconds between samples while conserving.

public ulong SaverSecs { get; init; }

Property Value

ulong