mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
10132d1c59
Noticeable latency between toggling the power switch and the device showing the screensaver has been tracked down to the two network manager calls. This change allows the screen to be updated first. Note that unloading the open source brcmfmac driver used on okreader is slower than unloading the proprietary driver shipped by Kobo, making this delay even more noticeable. self.suspend() is scheduled after the network manager calls to avoid race conditions. |
||
---|---|---|
.. | ||
device.lua | ||
powerd.lua |