My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 295: Tablet: add hook to be able to "sleep" the application, and woke up on input
2 people starred this issue and may be notified of changes. Back to list
 
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

Powered by Google Project Hosting