Richard Hughes
39df99ae20
trivial: add a fixme
2009-01-23 17:14:02 +00:00
Richard Hughes
35bd038ac7
trivial cleanups of davidz patch -- no functional changes
2008-11-12 09:58:36 +00:00
David Zeuthen
c9dbc80f36
turn some methods into properties
...
GetOnBattery() -> :on-battery (bool)
GetLowBattery() -> :on-low-battery (bool)
CanSuspend() -> :can-suspend (bool)
CanHibernate() -> :can-hibernate (bool)
also add a new property for the daemon version
:daemon-version (string)
introduce a new Changed() signal that replaces
::LowBatteryChanged()
::OnBatteryChanged()
Also fix a few bugs
- we need to compute ::on-battery and ::on-low-battery *after*
the actual device is updated
- need to fire Device::Changed() before Power::DeviceChanged()
otherwise devkit-power --monitor-detail lies
also fix up libdevkit-power and devkit-power(1) to use these changes.
2008-11-11 13:58:26 -05:00
David Zeuthen
fca5018996
nuke devkit-power-on-battery for now
2008-11-11 10:44:08 -05:00
David Zeuthen
9f4bdecd33
move object paths so things are rooted under /org/freedesktop/DeviceKit/Power
2008-11-11 10:42:53 -05:00
David Zeuthen
12eb76b8be
update my email address
2008-11-11 10:13:24 -05:00
Richard Hughes
031189f151
fixed compile
2008-11-04 12:03:00 +00:00
Richard Hughes
670c3bfc7b
trivial: update defines needed for egg debugging code
2008-10-23 12:48:01 +01:00
Richard Hughes
7fdcc278dc
convert to using egg_ functionality like other projects
2008-08-28 15:49:19 +01:00
Richard Hughes
3a468e7521
only match on USB HID devices so we don't try to connect to every USB device on the system at startup
2008-08-13 08:08:29 +01:00
Richard Hughes
32aaf9ed93
move DkpClient and DkpClientDevice to libdevkit-power
2008-08-11 10:40:22 +01:00
Richard Hughes
80c020e709
fix the signals in DkpClient
2008-08-11 10:14:55 +01:00
Richard Hughes
c85710d905
add the signals class information to DkpClient
2008-08-11 10:11:31 +01:00
Richard Hughes
72a13ae91d
the enums of of DkpDevice origin, not DkpSource
2008-08-10 18:02:48 +01:00
Richard Hughes
918c35586b
refactor out DkpDevice and DkpSupply so we can add another type of device without a metric ton of copy and paste
2008-08-09 14:27:32 +01:00
Richard Hughes
4756da4b81
make some stuff non-global in devkit-power
2008-08-06 06:58:45 +01:00
Richard Hughes
b242cbd9a6
trivial: remove some un-needed defines
2008-08-05 17:29:06 +01:00
Richard Hughes
5b6bae572f
abstract out the client and client device parts of the devkit-power tool
2008-08-05 17:26:35 +01:00
Richard Hughes
da8ec3f3b1
move the enumeration into it's own function ready for tidyup
2008-08-05 15:39:05 +01:00
Richard Hughes
9dca67f115
add a new ninary to get the battery power state
2008-08-04 17:31:52 +01:00
Richard Hughes
9f171a14ef
make devkit-power --dump work
2008-08-04 16:41:58 +01:00
Richard Hughes
8c4efc79f3
use DkpHistoryObj in devkit-power
2008-08-04 16:25:25 +01:00
Richard Hughes
3e8ab9514a
get the device stats in the helper tool
2008-08-04 16:12:49 +01:00
Richard Hughes
0cd1a18a20
add the skeleton --dump option for debugging -- more to come
2008-08-04 11:54:15 +01:00
Richard Hughes
b626fcd195
add some trivial gitignore files
2008-08-01 17:33:31 +01:00
Richard Hughes
74683e3fa7
of course, the right thing to do is make a static lib to avoid playing with ../src/ type paths
2008-08-01 17:27:12 +01:00
Richard Hughes
dee758ac78
use DkpObject in devkit-power command line tool
2008-08-01 16:48:33 +01:00
Richard Hughes
1113df1f43
abstract out the meta-device into a seporate struct so we can copy it, check for changes and print it
2008-08-01 16:37:11 +01:00
Richard Hughes
8d4f138537
remove energy-empty-design from devkit-power tool
2008-08-01 16:36:12 +01:00
Richard Hughes
27cde0b6e0
rework devkit-power tool, more work to come
2008-08-01 13:15:40 +01:00
Richard Hughes
75ecbba194
fixup a few places where we mention a disk daemon to a power daemon
2008-07-24 17:39:00 +01:00
David Zeuthen
37f9df9b05
initial commit
2008-05-08 22:29:38 -04:00