[feat] Kindle suspend using lipc (#4825)

Fixes problems with making Kindle go to sleep using menu or gesture manager action.
This commit is contained in:
Galunid authored and Frans de Jonge committed 2019-03-21 11:52:58 +01:00
1 parent d58774b875
commit 5f44ef5dad
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -1109,7 +1109,7 @@ function UIManager:suspend()
if Device:isCervantes() or Device:isKobo() or Device:isSDL() or Device:isSonyPRSTUX() then
self.event_handlers["Suspend"]()
elseif Device:isKindle() then
self.event_handlers["IntoSS"]()
Device.powerd:toggleSuspend()
end
end