Quote:
Originally Posted by anyone
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.