Struct PowerSchedule
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
ActiveSecsulongSeconds between samples at a healthy charge.
SaverSecsulongSeconds between samples while conserving.
CriticalSecsulongSeconds between samples when critically low.
SaverBelowfloatEnter the saver cadence below this state of charge.
CriticalBelowfloatEnter the critical cadence below this state of charge.
Properties
ActiveSecs
Seconds between samples at a healthy charge.
public ulong ActiveSecs { get; init; }
Property Value
CriticalBelow
Enter the critical cadence below this state of charge.
public float CriticalBelow { get; init; }
Property Value
CriticalSecs
Seconds between samples when critically low.
public ulong CriticalSecs { get; init; }
Property Value
SaverBelow
Enter the saver cadence below this state of charge.
public float SaverBelow { get; init; }
Property Value
SaverSecs
Seconds between samples while conserving.
public ulong SaverSecs { get; init; }