Struct windows_sys::Win32::System::Power::SYSTEM_POWER_CAPABILITIES
[−]#[repr(C)]pub struct SYSTEM_POWER_CAPABILITIES {Show 33 fields
pub PowerButtonPresent: BOOLEAN,
pub SleepButtonPresent: BOOLEAN,
pub LidPresent: BOOLEAN,
pub SystemS1: BOOLEAN,
pub SystemS2: BOOLEAN,
pub SystemS3: BOOLEAN,
pub SystemS4: BOOLEAN,
pub SystemS5: BOOLEAN,
pub HiberFilePresent: BOOLEAN,
pub FullWake: BOOLEAN,
pub VideoDimPresent: BOOLEAN,
pub ApmPresent: BOOLEAN,
pub UpsPresent: BOOLEAN,
pub ThermalControl: BOOLEAN,
pub ProcessorThrottle: BOOLEAN,
pub ProcessorMinThrottle: u8,
pub ProcessorMaxThrottle: u8,
pub FastSystemS4: BOOLEAN,
pub Hiberboot: BOOLEAN,
pub WakeAlarmPresent: BOOLEAN,
pub AoAc: BOOLEAN,
pub DiskSpinDown: BOOLEAN,
pub HiberFileType: u8,
pub AoAcConnectivitySupported: BOOLEAN,
pub spare3: [u8; 6],
pub SystemBatteriesPresent: BOOLEAN,
pub BatteriesAreShortTerm: BOOLEAN,
pub BatteryScale: [BATTERY_REPORTING_SCALE; 3],
pub AcOnLineWake: SYSTEM_POWER_STATE,
pub SoftLidWake: SYSTEM_POWER_STATE,
pub RtcWake: SYSTEM_POWER_STATE,
pub MinDeviceWakeState: SYSTEM_POWER_STATE,
pub DefaultLowLatencyWake: SYSTEM_POWER_STATE,
}Expand description
Required features: ‘Win32_System_Power’, ‘Win32_Foundation’
Fields
PowerButtonPresent: BOOLEANSleepButtonPresent: BOOLEANLidPresent: BOOLEANSystemS1: BOOLEANSystemS2: BOOLEANSystemS3: BOOLEANSystemS4: BOOLEANSystemS5: BOOLEANHiberFilePresent: BOOLEANFullWake: BOOLEANVideoDimPresent: BOOLEANApmPresent: BOOLEANUpsPresent: BOOLEANThermalControl: BOOLEANProcessorThrottle: BOOLEANProcessorMinThrottle: u8ProcessorMaxThrottle: u8FastSystemS4: BOOLEANHiberboot: BOOLEANWakeAlarmPresent: BOOLEANAoAc: BOOLEANDiskSpinDown: BOOLEANHiberFileType: u8AoAcConnectivitySupported: BOOLEANspare3: [u8; 6]SystemBatteriesPresent: BOOLEANBatteriesAreShortTerm: BOOLEANBatteryScale: [BATTERY_REPORTING_SCALE; 3]AcOnLineWake: SYSTEM_POWER_STATESoftLidWake: SYSTEM_POWER_STATERtcWake: SYSTEM_POWER_STATEMinDeviceWakeState: SYSTEM_POWER_STATEDefaultLowLatencyWake: SYSTEM_POWER_STATE