lp://staging/~asac/powerd/snappy-on-off-with-delayed-suspend-cancellation
- Get this branch:
- bzr branch lp://staging/~asac/powerd/snappy-on-off-with-delayed-suspend-cancellation
Branch merges
Branch information
Recent revisions
- 29. By Alexander Sack
-
allow fast overright of delayed STATE_TRANSITIO
N_NOTIFY events in favour
of more recent state events in check_queued_state_changes; this will ensure
that real suspend gets properly cancelled in case a user event arrives
within NOTIFICATION_TIMEOUT_ MSECS after initiating suspend through activity
timeout or power button press - 28. By Alexander Sack
-
send state change notification for delayed actions at execution time,
not at scheduling time - 27. By Alexander Sack
-
add infrastructure code to cancel delayed state changes and cancel
pending change requests before enqueueing ones - 26. By Alexander Sack
-
* refactor how we bridge threads from android input stack thread into
GMainLoop land; we re-dispatch the android input event wholesale at
the very first moment to GMainLoop through g_idle_add
- since this was the only source of multithreading we remove all
explicit use of mutex in powerd.cpp and power-request.c - 23. By Alexander Sack
-
only update remembered screen brightniss for SCREEN_ON state
if the value from system is !=0 - 22. By Matt Fischer
-
Add a timeout setting for the activity timer.
Approved by PS Jenkins bot, Seth Forshee.
- 21. By Seth Forshee
-
powerd: Protect activity timer with a mutex
The activity timer may be reset from multiple threads. We have
a race whereby we end up with a "lost" timer event that doesn't
get cleared on input activity, thus causing the screen to turn
off while the device is in use. To fix this, serialize access to
the activity timer within reset_activity_timer() with a mutex
and make sure all code uses this function for any any activity
timer updates.Approved by PS Jenkins bot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/powerd