Skip to main content

pamoja_power_plan_with_thresholds

Function pamoja_power_plan_with_thresholds 

Source
#[unsafe(no_mangle)]
pub extern "C" fn pamoja_power_plan_with_thresholds( plan: PamojaPowerPlan, saver_below: f32, critical_below: f32, ) -> PamojaPowerPlan
Expand description

Returns a plan with the state-of-charge thresholds moved.

§Arguments

§Returns

The adjusted plan.