lp:~sforshee/powerd/remove-g-type-init

Created by Seth Forshee and last modified
Get this branch:
bzr branch lp:~sforshee/powerd/remove-g-type-init
Only Seth Forshee can upload to this branch. If you are Seth Forshee please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Seth Forshee
Project:
powerd
Status:
Merged

Recent revisions

27. By Seth Forshee

Merge with trunk

26. By Seth Forshee

Merge with trunk

25. By Seth Forshee

Remove unnecessary calls to g_type_init()

24. By Seth Forshee

Release powerd-0.10
  * Move code which manages the display to its own file
  * Eliminate sleep before turning on display by using the
    /sys/power/wait_for_fb_* files to synchronize with the kernel when
    required
  * Eliminate potential for races when calling powerd_set_display_state()
  * Fix bug where backlight would be left at 0 brightness indefinitely.

Approved by PS Jenkins bot, Michael Frey.

23. By Seth Forshee

Improvements to powerd's handling of the display:
* Move code which manages the display to its own file
* Eliminate sleep before turning on display by using the /sys/power/wait_for_fb_* files to synchronize with the kernel when required
* Eliminate potential for races when calling powerd_set_display_state().

Approved by PS Jenkins bot, Matthew Fischer.

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.

20. By Seth Forshee

Changes to emit signals for power change events
* Move system state processing to all be done on mainloop via a state machine
* Emit dbus signals for state changes
* Wait for a timeout period before completing state changes
* Protect access to system state requests lists using a mutex
* Add wake lock interfaces to libsuspend
* Use wake locks to block suspend while processing incoming state change requests
* Bug fixes and clean-up.

Approved by Matthew Fischer, PS Jenkins bot.

19. By Matt Fischer

[ Matthew Fischer ]
  * API Change: Add state to the return value for the listRequests
  * New CLI tool, powerd-cli, which can be used for testing, debugging,
    or to keep the system from suspending.
  * Exit from suspend and turn screen on when receiving an incoming SMS
    or phone call

  [ Seth Forshee ]
  * Force the initial state to screen on, not suspended, in order to
    alleviate problems if powerd is started when the screen is off.
  * Fix Nexus10 suspend issue
  * Remove unnecessary newlines from glib log messages.

Approved by PS Jenkins bot.

18. By Matt Fischer

Listen for ofono signals and request active state (and turn the screen on) when an incoming SMS or phone call arrives.

Approved by Seth Forshee, 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:powerd
This branch contains Public information 
Everyone can see this information.

Subscribers