Commit graph

188 commits

Author SHA1 Message Date
Richard Hughes
b74b265191 trivial: more release engineering 2008-11-12 16:30:21 +00:00
Richard Hughes
694421fe24 trivial: update protocol after getting the command set from the Watts Up hardware designers 2008-11-12 16:10:55 +00:00
Richard Hughes
00b99ec327 add a trivial README file 2008-11-12 10:03:36 +00:00
Richard Hughes
35bd038ac7 trivial cleanups of davidz patch -- no functional changes 2008-11-12 09:58:36 +00:00
David Zeuthen
0f560f820e Merge branch 'master' of ssh://david@git.freedesktop.org/git/DeviceKit/DeviceKit-power 2008-11-11 14:05:13 -05: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
Richard Hughes
71843411a4 Merge branch 'master' of ssh://hughsient@git.freedesktop.org/git/DeviceKit/DeviceKit-power 2008-11-11 17:04:08 +00:00
Richard Hughes
c45b892f6d trivial: add starts of NEWS file for release today or tomorrow 2008-11-11 16:55:32 +00:00
David Zeuthen
d34ad43464 document how to access the D-Bus service with examples 2008-11-11 11:36:25 -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
ace8a0a242 update bug report URL to point to our mailing list 2008-11-11 10:17:26 -05:00
David Zeuthen
feb8623231 update mailing list reference in man pages 2008-11-11 10:15:40 -05:00
David Zeuthen
12eb76b8be update my email address 2008-11-11 10:13:24 -05:00
David Zeuthen
e0245af37e we're a fd.o project 2008-11-11 10:04:18 -05:00
David Zeuthen
91c5085c6e fix up deps and build system 2008-11-11 09:31:16 -05:00
Richard Hughes
46ce9a587f Merge branch 'master' of ssh://hughsient@git.freedesktop.org/git/DeviceKit/DeviceKit-power 2008-11-11 13:39:32 +00:00
Richard Hughes
b5c05a5fb3 bugfix: fix the include headers for DeviceKit 002 2008-11-11 13:39:26 +00:00
Richard Hughes
7a29b5118c bugfix: match the WUP device on the tty device, not the USB device 2008-11-11 13:38:49 +00:00
David Zeuthen
b7a56fc0dd also rename configure.in to configure.ac in autogen.sh 2008-11-11 08:24:54 -05:00
Richard Hughes
61fad487ba trivial: try harder to not print invalid ASCII codes 2008-11-08 17:09:37 +00:00
Richard Hughes
7382bcc168 trivial: add a resolution parameter to GetHistory rather than just guessing a number on the server 2008-11-08 16:13:00 +00:00
Richard Hughes
ba8eecf2b4 bugfix: use a better resolution limiting function for getting the history to reduce CPU load 2008-11-08 15:54:13 +00:00
Richard Hughes
6ba756ebb2 trivial: don't print the 'unclean' string to disk 2008-11-08 15:51:34 +00:00
Richard Hughes
e5de05c69a bigfix: fix a problem with egg_obj_list_clear where the last item was not being removed from the list 2008-11-08 15:50:30 +00:00
Richard Hughes
67c7fb3cda trivial: more checking of the input from the WUP device 2008-11-07 13:51:00 +00:00
Richard Hughes
7d87461bb3 more trivial WUP fixes 2008-11-07 13:15:40 +00:00
Richard Hughes
885c3e4748 bugfix: use 0 for unknown, not -1 as some values like rate and voltage are valid when negative 2008-11-07 12:34:52 +00:00
Richard Hughes
eded5b20fc feature: all logging for all the other device types too 2008-11-07 12:26:47 +00:00
Richard Hughes
f5ea862a06 feature: add voltage property of a power device 2008-11-07 10:40:11 +00:00
Richard Hughes
75e202c097 bugfix: actually make the Watts Up Pro device work 2008-11-07 10:26:44 +00:00
Richard Hughes
30a6f961cb trivial: don't use <literal>, instead use <doc:tt> as it chokes some parsers 2008-11-06 09:23:49 +00:00
Richard Hughes
64ba0f878d trivial: egg update 2008-11-06 09:22:29 +00:00
Richard Hughes
031189f151 fixed compile 2008-11-04 12:03:00 +00:00
Richard Hughes
63397c1e83 expand the client helper library to cover all the base API for gnome-power-manager 2008-11-04 12:02:23 +00:00
Richard Hughes
355b268ad7 trivial: convert the data getting to enumerated types 2008-11-04 12:01:46 +00:00
Richard Hughes
39e7c41db1 bugfix: fix the introspection for the CanSuspend and CanHibernate methods 2008-11-04 12:00:59 +00:00
Richard Hughes
b89232867c trivial: fix make distcheck 2008-10-24 12:12:11 +01:00
Richard Hughes
a1a4304b4e trivial: egg updates 2008-10-23 14:39:44 +01:00
Richard Hughes
c87521af72 trivial: 'unexport' dkp_acpi_to_device_technology - 2 2008-10-23 13:55:10 +01:00
Richard Hughes
760dc570f2 trivial: 'unexport' dkp_acpi_to_device_technology 2008-10-23 13:54:33 +01:00
Richard Hughes
b43fa536fb feature: add two new properties, has-history and has-statistics 2008-10-23 13:38:22 +01:00
Richard Hughes
ffbc3a026b feature: add in CanSuspend and CanHibernate into API 2008-10-23 12:48:44 +01:00
Richard Hughes
670c3bfc7b trivial: update defines needed for egg debugging code 2008-10-23 12:48:01 +01:00
Richard Hughes
8d2bf6ad14 trivial: egg updates 2008-10-23 12:03:35 +01:00
Richard Hughes
44efaef725 add a first approximation of a time resolution limiter 2008-09-06 11:13:24 +01:00
Richard Hughes
8bcc56ce4c trivial: egg updates 2008-09-06 11:12:47 +01:00
Richard Hughes
b7ac1cda00 trivial: add my copyright 2008-09-06 11:12:24 +01:00
Richard Hughes
23ed73c4d0 bugfix: don't unconditionally set the energy_full to energy_full_design if larger, a few batteries like overcharging 2008-09-04 14:30:57 +01:00
Richard Hughes
73d5bcb4c0 Add two remove functions to the generic object list 2008-09-04 14:29:31 +01:00