1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 17:07:44 +00:00

power_supply: add derives to PowerSupply

This commit is contained in:
RGBCube 2025-05-19 18:07:35 +03:00
parent 0ed0f18bb3
commit 2704379b42
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -53,6 +53,7 @@ const POWER_SUPPLY_THRESHOLD_CONFIGS: &[PowerSupplyThresholdConfig] = &[
];
/// Represents a power supply that supports charge threshold control.
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct PowerSupply {
pub name: String,
pub path: PathBuf,