diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-28 18:30:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-28 18:31:28 +0200 |
commit | ea75e7f6173f214c197abd580b53b5ef09e49856 (patch) | |
tree | 06597f3a5930be23d841e28167d6d5aacf657745 /tdecore | |
parent | bb36045b59e18db88a2a40f9346775193c9ede6b (diff) | |
download | tdelibs-ea75e7f6173f214c197abd580b53b5ef09e49856.tar.gz tdelibs-ea75e7f6173f214c197abd580b53b5ef09e49856.zip |
Add freeze suspend state to list of available power states
in TDE hardware library
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/tdehw/tdehardwaredevices.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 211213112..10fa1d736 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -2982,6 +2982,9 @@ void TDEHardwareDevices::updateExistingDeviceInformation(TDEGenericDevice* exist if (line.contains("standby")) { powerstates.append(TDESystemPowerState::Standby); } + if (line.contains("freeze")) { + powerstates.append(TDESystemPowerState::Freeze); + } if (line.contains("mem")) { powerstates.append(TDESystemPowerState::Suspend); } |