Quote:
Originally Posted by khahoon
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}
})
Device

repareSuspend()
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