summaryrefslogtreecommitdiff
diff options
authorUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2022-04-28 09:25:45 +0000
committerUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2022-04-28 09:25:45 +0000
commit590b9b54a5f027f8664c4c9f3f02150d06121714 (patch)
tree024266c07bc8260ef8188db9be1e9f040ab04857
parent18270c4853767507e11064d305fa7ac9cf896fe2 (diff)
parent82e277eb3aa15778e14b87b09196561f267e80bd (diff)
Merge #419532 from ~pieq/plainbox-provider-checkbox:1969167-powersaving-waylandsnap-2022-05-03T1157
-rw-r--r--units/monitor/jobs.pxu10
1 files changed, 6 insertions, 4 deletions
diff --git a/units/monitor/jobs.pxu b/units/monitor/jobs.pxu
index 46ecb20..ec57b59 100644
--- a/units/monitor/jobs.pxu
+++ b/units/monitor/jobs.pxu
@@ -136,14 +136,16 @@ flags: also-after-suspend
id: monitor/{index}_powersaving_{product_slug}
plugin: user-interact-verify
category_id: com.canonical.plainbox::monitor
-command: xset dpms force off
+command:
+ busctl --user call org.gnome.Shell /org/gnome/ScreenSaver org.gnome.ScreenSaver SetActive b true
+ sleep 5
+ busctl --user call org.gnome.Shell /org/gnome/ScreenSaver org.gnome.ScreenSaver SetActive b false
_purpose:
This test will check your monitor power saving capabilities
_steps:
- 1. Click "Test" to try the power saving capabilities of your monitor
- 2. Press any key or move the mouse to recover
+ 1. Start the test to try the power saving capabilities of your monitor
_verification:
- Did the monitor go blank and turn on again?
+ Did the monitor go blank and turn on again after a few seconds?
unit: template
template-resource: graphics_card