Function set_charge_behaviour

Source
pub fn set_charge_behaviour(psu: &str, behavior: ChargeBehaviour) -> Result<()>
Expand description

Represents the charging behaviour.

Access: Read, Write

Valid values:

ValueMeaning
autoCharge normally, respect thresholds
inhibit-chargeDo not charge while AC is attached
force-dischargeForce discharge while AC is attached