Commit 02bc77e0 authored by fuyanbin's avatar fuyanbin
Browse files

临时加上一个 wake_lock.sh 脚本:

解决智能台灯设备刷机完不断电立即启动后,只设置一次wake_lock会不生效
parent 02750941
Pipeline #49995 passed with stages
in 45 seconds
#!/system/bin/sh
while :;
do
if [ "$(cat /sys/power/wake_lock)" != "1" ]
then
echo -n 1 >/sys/power/wake_lock
fi
sleep 10
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment