Creates a plan from its three work intervals in microseconds, entering saver mode below 50% charge and critical below 20%.
The charge below which the plan enters critical mode.
The charge below which the plan enters saver mode.
Returns the work interval at a state of charge, in microseconds.
Returns the mode, eased one step toward full duty while charging.
Returns a copy of this plan with the state-of-charge thresholds moved.
The work intervals a node uses in each mode, and where the modes change.