diff --git a/base b/base index f0436c6fe..30c52fedd 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit f0436c6fed2cc373f8931436578fc1f271e53ce1 +Subproject commit 30c52feddbbb18fff7e1400751e442cbd643ab77 diff --git a/frontend/device/remarkable/device.lua b/frontend/device/remarkable/device.lua index b2ae96d3b..1e8068e69 100644 --- a/frontend/device/remarkable/device.lua +++ b/frontend/device/remarkable/device.lua @@ -184,16 +184,6 @@ end function Remarkable:suspend() os.execute("./disable-wifi.sh") os.execute("systemctl suspend") - if isRm2 then - -- While device is suspended, when the user presses the power button and wakes up the device, - -- a "Power" event is NOT sent. - -- So we schedule a manual `UIManager:resume` call just far enough in the future that it won't - -- trigger before the `systemctl suspend` command finishes suspending the device - local UIManager = require("ui/uimanager") - UIManager:scheduleIn(0.5, function() - UIManager:resume() - end) - end end function Remarkable:powerOff()