New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce power usage #2

Open
miguelfreitas opened this Issue Jan 14, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@miguelfreitas
Owner

miguelfreitas commented Jan 14, 2014

There is a simple yet effective measurement that could be done. One needs to know Android development though:

  • Detect when phone screen goes black. Then the Java part would send a SIGSTOP to twisterd and set either a timeout of 30 min or detect network going up event (in case Juice Defender or similar is used).
  • After timeout, send SIGCONT. Let it run for 5 minutes to download new messages. SIGSTOP again.
  • Phone is turned on event: send SIGCONT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment