View Single Post
Old 04-17-2015, 09:13 PM   #187
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by tshering View Post
The magnetic/sleep cover might have some effect. However, I would like to emphasise that you cannot trust the suspend of Koreader. Koreader uses basically the same suspend script as previous versions of KSM did. Because of the discussion in the Koreader thread, I reactivated the KSM sleep function on my device and added logging start and end of suspend, and the battery charge (I did the same for the koreader suspend script). Several days, everything went fine (the night of 16th to 17 my device slept while running Koreader), but today it spontaneously came back from suspend by itself. I add the log and mark the spontaneous wake up in red.

(I do not use a sleep cover.)

Spoiler:
capacity: 100
suspended at: 20150413_203203
back from suspend at: 20150413_203218
capacity: 100
########
capacity: 100
suspended at: 20150413_203317
back from suspend at: 20150414_151135
capacity: 100
########
capacity: 100
suspended at: 20150414_151257
back from suspend at: 20150414_184807
capacity: 100
########
capacity: 100
suspended at: 20150414_220534
back from suspend at: 20150415_191358
capacity: 100
########
capacity: 100
suspended at: 20150415_213456
back from suspend at: 20150416_192326
capacity: 100
########
capacity: 96
suspended at: 20150416_193214
back from suspend at: 20150416_193225
capacity: 96
########
capacity: 100
suspended at: 20150417_181355
back from suspend at: 20150417_182458
capacity: 100
########
capacity: 100
suspended at: 20150417_182853
back from suspend at: 20150417_183621
capacity: 100
########
capacity: 97
suspended at: 20150417_192303
back from suspend at: 20150417_194946
capacity: 97
########
I also notice that no loss is shown during the suspended periods. Perhaps, if the suspended periods were longer, the self discharge of Li-ion batteries might be reflected. It is of course of great interest what could be the cause/source of this wakeup from suspend.

The magnetic switch and the power switch are two sources, of a wake up signal, known to users. There should be no touchscreen events, while in suspend. What could have provided for the wake up? There wouldn't be a timing loop in the suspend code.

Luck;
Ken

Last edited by Ken Maltby; 04-17-2015 at 09:15 PM.
Ken Maltby is offline   Reply With Quote