lp:~sforshee/+junk/powerd-set-state-from-requests

Created by Seth Forshee and last modified
Get this branch:
bzr branch lp:~sforshee/+junk/powerd-set-state-from-requests
Only Seth Forshee can upload to this branch. If you are Seth Forshee please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Seth Forshee
Status:
Development

Recent revisions

24. By Seth Forshee

Add basic support for setting system state based on active requests

The code isn't in use yet and will need to be refactored when
state change notifications are added. It serves as a starting
point however.

23. By Seth Forshee

Merge from lp:~mfisch/powerd/dbus-stuff

22. By Seth Forshee

Fix potential use-after-free in clear_sys_state_internal()

The tmpsr varibble could be used in a subsequent loop iteration
after being freed. We aren't hitting this but right now since
we have only one state and thus only one loop iteration. Move
the free outside the loop, where it belongs.

21. By Seth Forshee

Fix request list output when no requests present

We should be printing "no requests active", but the if condition
is incorrect. Fix it.

20. By Seth Forshee

Split powerd.cpp into multiple files

Split out the power request code and the GObject code into their
own source files. Also rename powerd.h to powerd-internal.h, as
we probably want to save powerd.h for the header used by external
clients.

19. By Matt Fischer

added some internal handlers and some new test code, also did code cleanup

18. By Matt Fischer

adding a conf file for the service, cleanup control file, switch to system bus

17. By Seth Forshee

Merge in changes to add libsuspend

16. By Seth Forshee

Fix all complier warnings

15. By Seth Forshee

Generalize power state handling

Make power state handling more general to make it easier to
add additional power states if necessary.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers