View Single Post
Old 12-05-2015, 09:50 PM   #2536
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Yes, magnetic cover could be culprit here, or at least one of the culprits.

But, I also noticed that using magnetic cover doesn't always lead to higher battery drain. And, also, if device exits suspend, it doesn't do it in regular way as light stays off. In normal exit light should be on after waking device.

Magnetic senzor should be always on, even in suspend, but maybe code that monitors it, or the way koreader communicates with it is culprit?

Just guessing...

EDIT: And I asked about having option to use or not magnetic cover in github: https://github.com/koreader/koreader/issues/1733

EDIT2:

I'm looking at this code for operating magnetic cover:

Quote:
if keycode == "Power_SleepCover" then
if ev.value == EVENT_VALUE_KEY_PRESS then
return "Suspend"
else
return "Resume"
end
end
Does this can mean that if device is suspended with power button (so, it is already in suspend) and after that comes signal from magnetic cover, device can think that it was resumed? In a way, code could be interpreted this way.

Last edited by Alan_S; 12-05-2015 at 10:04 PM.
Alan_S is offline   Reply With Quote