Tweak SleepCover handling a bit on Kobo

Specifically, how we ignore it.
No longer do anything specific and potentially racy, and let the
unexpected wakeup handler take care of putting us back to sleep.

Also add an option to only ignore wakeup events from the SleepCover.

Re #5098
Re #5087
This commit is contained in:
NiLuJe
2019-06-28 22:19:25 +02:00
parent 282062c1d9
commit a13f9835be
4 changed files with 37 additions and 14 deletions

View File

@@ -60,7 +60,8 @@ local order = {
"time",
"battery",
"autosuspend",
"sleepcover",
"ignore_sleepcover",
"ignore_open_sleepcover",
"mass_storage_settings",
},
navigation = {