Issue 295: Tablet: add hook to be able to "sleep" the application, and woke up on input
Project Member Reported by txprog, Aug 4, 2010
I was thinking to add a module for that, but we miss some place to hook PyMT. And module is not enough if we want to make it more "global".

GOAL: be able to save battery on tablet (like joojoo) if you let a pymt application run :)


I imagine:
* configuration token to sleep after a inactivity period
* woke up when we receive input
* add hook/event when we enter/leave in sleep state
* add function to force sleep / leave sleep / reduce fps

Maybe 2 sleep would be nice:
1. reduce fps
2. don't calculate any opengl thing, prevent clock launch.

Must ensure that:
* any thread are locked or something (not just while True: do something)
* any input provider don't rely on our clock

Aug 15, 2010
Project Member #1 txprog
(No comment was entered for this change.)
Labels: Type-Enhancement