blob: 9575dffb5b13ee3fedc8bc9a19fc9c55fb9be763 [file] [log] [blame]
#!/vendor/bin/sh
# take the wake lock
allowsuspend=`getprop ro.boot.qemu.allowsuspend`
case "$allowsuspend" in
"") echo "emulator_wake_lock" > /sys/power/wake_lock
;;
1) echo "emulator_wake_lock" > /sys/power/wake_unlock
;;
*) echo "emulator_wake_lock" > /sys/power/wake_lock
;;
esac