Richard Hughes
43af3e9dbc
bugfix: only enable the wakeups polling if a client requires the data
2009-02-04 15:06:57 +00:00
Richard Hughes
31bd686693
bugfix: fix compile failure with gcc-4.4.0 and old versions of glib2
2009-02-04 09:41:53 +00:00
Richard Hughes
e5833c5b71
trivial: do moving average on the wakeups total value
2009-01-31 10:01:26 +00:00
Richard Hughes
e99d50d7bb
trivial: translations belong in the GUI tool...
2009-01-30 17:28:22 +00:00
Richard Hughes
1c91b5f788
trivial: ensure we get a cmdline when zero length and check for wakeups < 0.1s
2009-01-30 16:34:35 +00:00
Richard Hughes
7ea9a1c6c5
trivial: change the interface to be a double with per seconds, not per minute
2009-01-30 13:53:56 +00:00
Richard Hughes
3ca11019c0
trivial: actually load the new module, and register on the bus
2009-01-30 13:04:09 +00:00
Richard Hughes
a239eff3bf
trivial: implement org.freedesktop.DeviceKit.Power.Wakeups
2009-01-30 13:03:31 +00:00
Richard Hughes
609133f43f
feature: add a wakeups interface so we can get powertop-type data from the system over DBus
2009-01-30 13:02:49 +00:00
Richard Hughes
646542ac70
bugfix: check all the power supply fields for valid data
2009-01-23 17:14:53 +00:00
Richard Hughes
59a8e37c45
trivial: egg update
2009-01-23 17:14:31 +00:00
Richard Hughes
44b2ad6bc2
bugfix: special case machines where the kernel gives up converting charge to power
2009-01-15 14:28:34 +00:00
Richard Hughes
fdde15c569
trivial: use the package version deline name directly
2008-12-19 09:02:05 +00:00
Richard Hughes
71e40db432
bugfix: fix the battery capacity calculation. Fixes fd#19165
2008-12-19 08:31:30 +00:00
Richard Hughes
09be8aeefb
trivial: mae the PolicyKit file validate
2008-12-09 11:13:07 +00:00
Richard Hughes
43f1ae2668
trivial: fix the introspection warning and the startup verbage
2008-12-09 11:05:59 +00:00
Richard Hughes
0c0c7fd5a4
bugfix: allow DeviceKit-power to run with the 'fixed' DBus
2008-12-08 13:58:25 +00:00
Richard Hughes
7c216f4ddd
trivial: don't divide by zero if there is no accuracy
2008-12-03 16:20:08 +00:00
Richard Hughes
ca9e8b20b1
trivial: fix rpmbuild by checking result of write
2008-12-03 16:15:04 +00:00
Richard Hughes
4487efd08d
trivial: only create the log file directory if we can write to the prefix
2008-12-03 16:14:42 +00:00
Richard Hughes
5fb4c74d2a
trivial: add some more implementation of the DkpQos class
2008-12-03 11:09:53 +00:00
Richard Hughes
2dfdb17cf9
trivial: whitespace changes
2008-12-03 09:51:17 +00:00
Richard Hughes
04fb2a6e13
bugfix: don't keep putting off the profile saving in DkpHistory
2008-12-03 08:44:58 +00:00
Richard Hughes
564dcb41c5
trivial: egg updates
2008-12-03 08:42:07 +00:00
Richard Hughes
269d3abc8b
bugfix: enable the low power saving code in DkpHistory
2008-12-03 08:41:59 +00:00
Richard Hughes
03ef073b4e
trivial: expose object on the bus
2008-11-13 17:00:46 +00:00
Richard Hughes
a48ce21f83
feature: implement the .QoS interface -- still incomplete
2008-11-13 16:58:08 +00:00
Richard Hughes
b71c61335a
split out the polkit code from the daemon so it can be used in other modules without passing the daemon ref around
2008-11-13 16:55:45 +00:00
Richard Hughes
d891912126
feature: add in the interface file for QoS control
2008-11-13 16:39:57 +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
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
d34ad43464
document how to access the D-Bus service with examples
2008-11-11 11:36:25 -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
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
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
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
355b268ad7
trivial: convert the data getting to enumerated types
2008-11-04 12:01:46 +00:00