View Single Post
Old 07-11-2015, 07:13 PM   #18
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by anyone View Post
Are there any news on this topic? A few days or at least 24h would be great.
There is already a library around that intercepts the suspend and resume functions. It is currently used in a screen saver hack. When entering suspend, one could start a script that powers off the device after a set time. If resume is called before that has happened, one would kill the power off script. You could try something along these lines. There might be issues with remembering the last opened page (or maybe even book) and similar things.

Last edited by tshering; 07-12-2015 at 04:51 AM.
tshering is offline   Reply With Quote