Skip to content

wxylssy/pywake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

pywake

定时唤醒,使用的rtcwake命令,需要root权限。

查看系统支持的模式

cat /sys/power/state

也可以使用文件的方式

休眠

echo mem > /sys/power/state

10秒后自动唤醒

echo +10 > /sys/class/rtc/rtc0/wakealarm

About

定时唤醒

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages