Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
付燕斌
android-image-pack-tool
Commits
02bc77e0
Commit
02bc77e0
authored
Jul 25, 2024
by
fuyanbin
Browse files
临时加上一个 wake_lock.sh 脚本:
解决智能台灯设备刷机完不断电立即启动后,只设置一次wake_lock会不生效
parent
02750941
Pipeline
#49995
passed with stages
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
services/wake_lock.sh
0 → 100755
View file @
02bc77e0
#!/system/bin/sh
while
:
;
do
if
[
"
$(
cat
/sys/power/wake_lock
)
"
!=
"1"
]
then
echo
-n
1
>
/sys/power/wake_lock
fi
sleep
10
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment