mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
13 lines
241 B
Bash
13 lines
241 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -x
|
||
|
|
||
|
# wake all devices up
|
||
|
echo on >/sys/power/state
|
||
|
|
||
|
# go back to conservative governor
|
||
|
echo conservative >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||
|
|
||
|
# wait for resume to complete
|
||
|
cat /sys/power/wait_for_fb_wake
|