View Single Post
Old 10-01-2013, 06:45 AM   #601
freekobo
Addict
freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.freekobo ought to be getting tired of karma fortunes by now.
 
freekobo's Avatar
 
Posts: 250
Karma: 2731310
Join Date: Jan 2013
Device: Kobo Aura
Quote:
Originally Posted by Fabry View Post
For me it not works.
Stand-by statement appears for less than 1 sec and then it vanishes.
After this touchscreen is still active and AuraHD is not in stand-by mode but only with frontlight off.
I had this same problem. I fixed it by opening \.kobo\\koreader\frontend\ui\uimanager.lua in notepad++ and changing the following at (changed lines 300 and 303) the end of the file from;
Code:
			input_event == "Suspend" then
				UIManager:show(InfoMessage:new{
					text = _("Standby"),
					timeout = 1,
				})
				Device:prepareSuspend()
				UIManager:scheduleIn(0.5, function() 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
to;

Code:
			input_event == "Suspend" then
				UIManager:show(InfoMessage:new{
					text = _("Standby"),
					timeout = 4,
				})
				Device:prepareSuspend()
				UIManager:scheduleIn(2, function() 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
basically the timeout & scheduleIn value are increased.
Hope this helps.
freekobo is offline   Reply With Quote