aboutsummaryrefslogtreecommitdiffstats
path: root/prevent_suspend.sh
diff options
context:
space:
mode:
Diffstat (limited to 'prevent_suspend.sh')
-rw-r--r--prevent_suspend.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/prevent_suspend.sh b/prevent_suspend.sh
new file mode 100644
index 0000000..dbea742
--- /dev/null
+++ b/prevent_suspend.sh
@@ -0,0 +1,4 @@
+#!/system/bin/sh
+mkdir -p /storage/sys/power/
+touch /storage/sys/power/state
+mount -o bind /storage/sys/power/state /sys/power/state