mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
The methods used here will likely work on most embedded devices, which is why I put them in their own WakeupMgr interface/scheduler module, separate from Kobo. See https://www.mobileread.com/forums/showthread.php?p=3886403#post3886403 for more context. Fixes #3806.
8 lines
205 B
Lua
8 lines
205 B
Lua
local _ = require("gettext")
|
|
return {
|
|
name = "autosuspend",
|
|
fullname = _("Auto suspend"),
|
|
description = _([[Suspends the device after a period of inactivity.]]),
|
|
sorting_hint = "device",
|
|
}
|