Quote:
Originally Posted by Ken Maltby
The "Standby" message is timed by a parameter in the /.kobo/koreader/frontend/ui/uimanager.lua script (around line 300). The Suspend function call is also timed a few lines after that. The daily builds have these set at 1 second for the Standby message and 0.5 seconds for the function call. I have suspend working in Koreader on my AuraHD 3.2.0 with the Standby set to 0 (zero) seconds and the function call set to 2 seconds. I get a suspend without the "Standby" message but with the touch screen turned off. A quick pull of the power switch brings me out of suspend.
|
Lines 331 and 335...for the inquisitive minds willing to try.
With your settings (and I have an Aura) I get something that LOOKS like suspend if I push the power button (as in "I can't flip pages anymore") and it resumes on a second power toggle (short).
The screen does not change though - is it the same behavior as on yours?
/EDIT I changed the values to 4 and 2 and it appears to be working just fine with the cover. I tested using frontlight: it goes off and the stby message comes on.
While doing this test I seem to have found a problem with frontlight, as if you enable it once, it will always turn itself on when resuming, even if it was off when it suspended. I had to turn it off, exit and re-enter KOreader to stop this behavior.
Could be that a shorter standby timer would work too, but for the moment I'm happy.
THANK YOU!