View Single Post
Old 12-29-2013, 10:44 PM   #933
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 khahoon View Post
Hi

This works great on my Kobo Glo, except that when I put the device in sleep it does not go to sleep when KoReader is active. Is this a limitation? Is there a way to make it to respect the sleeps mode?

Great addition to Kobo arsenal. Thanks for the work.
I thought that suspend was working on all but the AuraHD? I have a version of suspend/sleep that works on my AuraHD but it is very unofficial. It works by making a couple of changes to one of the .lua script files. It is best to use "Notepad++" http://www.google.com/url?sa=t&rct=j...58187178,d.b2I to read and edit Linux script files. The file is: .\.kobo\koreader\frontend\ui\uimanager.lua

The parts that I change


input_event == "Suspend" then
local InfoMessage = require("ui/widget/infomessage")
self:show(InfoMessage:new{
text = _("Standby"),
timeout = 1, {This I change to 0}
})
DevicerepareSuspend()
self:scheduleIn(0.5, function() {This I change to 1.5 } Device:Suspend() end)
elseif (input_event == "Power" and Device.screen_saver_mode) or
input_event == "Resume" then
Device:Resume()
else
self:sendEvent(input_event)
end
end
end
end

return UIManager

If you are using Notepad++ both numbers will be red, so they should be easy to find. What is shown above is the end of the file.

Might work for your glo, as well, if not just change the numbers back or try your own.

Luck;
Ken

Last edited by Ken Maltby; 12-30-2013 at 07:57 PM.
Ken Maltby is offline   Reply With Quote