summaryrefslogtreecommitdiffstats
path: root/plugins/power/test-backlight-helper
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/power/test-backlight-helper')
-rwxr-xr-xplugins/power/test-backlight-helper5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/power/test-backlight-helper b/plugins/power/test-backlight-helper
new file mode 100755
index 0000000..2dceacd
--- /dev/null
+++ b/plugins/power/test-backlight-helper
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Simulate a slow call and just write the given brightness value to the device
+sleep 0.2
+echo "$2" >"$1/brightness"