pub fn set_charge_behaviour(psu: &str, behavior: ChargeBehaviour) -> Result<()>
Expand description
Represents the charging behaviour.
Access: Read, Write
Valid values:
Value | Meaning |
---|---|
auto | Charge normally, respect thresholds |
inhibit-charge | Do not charge while AC is attached |
force-discharge | Force discharge while AC is attached |