Add freeze suspend state to list of available power states

in TDE hardware library
pull/16/head
Slávek Banko 11 years ago
parent bb36045b59
commit ea75e7f617

@ -2982,6 +2982,9 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist
if (line.contains("standby")) { if (line.contains("standby")) {
powerstates.append(TDESystemPowerState::Standby); powerstates.append(TDESystemPowerState::Standby);
} }
if (line.contains("freeze")) {
powerstates.append(TDESystemPowerState::Freeze);
}
if (line.contains("mem")) { if (line.contains("mem")) {
powerstates.append(TDESystemPowerState::Suspend); powerstates.append(TDESystemPowerState::Suspend);
} }

Loading…
Cancel
Save