Quote:
Originally Posted by xor_
I noticed both KSM and koreader use suspend to RAM in their suspend scripts. What is the reason for not using suspend to disk?
|
KSM just used the same calls as nickel did at that time. Suspending to disk would heve been more time consuming. And in the case of KSM, where there is no point in saving its state for an extended period of time, simply powering off would be preferable to suspending to disk.
Quote:
Originally Posted by xor_
And when I send my device to sleep through the magnet cover mechanism, who handles that? Is that the suspend script in koreader / KSM, or something else?
|
In KSM, the suspend script is still existent, but it is never called. You would have to make some effort to call it manually.
As I see it, the power consumption during suspend (when you the script from KSM, and I guess it would be the same with koreader) is as it should be, namely close to none. The problem however is that something finishes the suspend state untimely. See
this post and especially the log in the spoiler.