Skip to main content

Module sleep_wakelock

Module sleep_wakelock 

๐Ÿ‘ŽDeprecated:

ql-oe-sys is deprecated, use the pure Rust crates of ql-oe such as ql-dms, ql-nas and ql-wds

Expand description

See: <ql_sleep_wakelock.h>

This is backed by a kernel driver: <ql-ol-kernel/drivers/base/power/quec_wakelock.c>

Functionsยง

autosleep_enableโš DeprecatedNon-ag35
Enable/Disable autosleep function
createโš DeprecatedNon-ag35
create wakelock, return the file descriptor of the wakelock
destroyโš DeprecatedNon-ag35
destroy the wakelock by the file descriptor of the wakelock
lockโš DeprecatedNon-ag35
lock the wakelock by the file descriptor of the wakelock
unlockโš DeprecatedNon-ag35
unlock the wakelock by the file descriptor of the wakelock