Commit graph

189 commits

Author SHA1 Message Date
Richard Hughes
648ca71034 Continue to poll when power supply device is marked unknown. Might fix rh#495493 2009-05-13 17:46:58 +01:00
Richard Hughes
d0977d1112 Decrease the poll timeout to 2 seconds 2009-05-12 15:18:47 +01:00
Richard Hughes
2f020ff005 Only get the device state for the poll after the refresh 2009-05-12 15:17:44 +01:00
Richard Hughes
4cd78cfaf0 Don't overwrite energy-full-design with zero after coldplug 2009-05-11 20:13:23 +01:00
Richard Hughes
0b269ba6e8 Add two missing files to the last commit 2009-05-05 12:51:48 +01:00
Richard Hughes
7bd2dfefcb Add a property lid-is-closed so that we can finally drop the HAL dep in g-p-m and x-p-m 2009-05-05 12:51:26 +01:00
Richard Hughes
6b197ebd5e Make the suspend and hibernate scripts execute synchronously. Fixes rh#497563 2009-04-25 11:06:52 +01:00
Richard Hughes
67c36ceff0 Add a has-capability to the org.freedesktop.DeviceKit.Power.Wakeups interface so clients can tell if the wakeups functionality can be supported 2009-04-22 16:55:24 +01:00
Richard Hughes
bb615c2269 bugfix: optimise the udev rules to skip non-usb devices 2009-04-20 12:44:08 +01:00
Richard Hughes
5ad255c790 bugfix: only reset the update-time if the read was successful 2009-04-20 12:43:32 +01:00
Richard Hughes
11d8be8c12 bugfix: allow all DBus properties to be read with the new DBus 2009-04-01 09:16:14 +01:00
Richard Hughes
1faf14cdcc trivial: fix up the last patch to strip the newline before the compare 2009-04-01 09:14:45 +01:00
Richard Hughes
91b5de93c4 trivial: fix a build issue with a buggy compiler 2009-03-30 14:39:08 +01:00
Richard Hughes
478f2f693e trivial: fix a logic thinko with sysfs_get_bool() 2009-03-30 14:06:41 +01:00
Frederic Crozat
876f407c4b bugfix: Fix g-p-m and DeviceKit-power when running with a permissive dbus. Fixes fd#20882 2009-03-26 16:28:18 +00:00
Richard Hughes
ed13111668 bugfix: fix compile error in dkp-power. Fixes #20749 2009-03-19 11:51:50 +00:00
Richard Hughes
23d3397b5b trivial: correct the percentage change calculation with the new code 2009-03-09 09:32:45 +00:00
Richard Hughes
665523726a trivial: remove egg-string 2009-02-27 12:50:05 +00:00
Richard Hughes
d2c0ee6412 move the library directory from libdevkit-power to devkit-power-gobject 2009-02-27 12:22:06 +00:00
Richard Hughes
5259367a6b feature: get rid of DkpObject and instead use the GObject property system correctly 2009-02-27 11:59:27 +00:00
Richard Hughes
6f0dc6a530 trivial: fix make distcheck 2009-02-26 13:31:57 +00:00
Richard Hughes
9fc77bc0d0 trivial: compile failure 2009-02-26 12:17:17 +00:00
Richard Hughes
55db60ef82 bugfix: remove use of EggObjList, which was pretty hacky, and try to make the library more sane 2009-02-26 12:15:20 +00:00
Stanislav Brabec
39ba30a4b4 bugfix: fix up DBus interface for CVE-2008-4311 2009-02-19 14:26:24 +00:00
Richard Hughes
a7868a4564 bugfix: fix the QoS interface, and abstract out the object 2009-02-09 15:09:43 +00:00
Richard Hughes
7a5fb2301f bugfix: don't sync to disk every 5 seconds, do it every 10 minutes 2009-02-09 14:15:09 +00:00
Richard Hughes
5b7dbc3f41 bugfix: don't crash when we limit the resolution of a small dataset 2009-02-05 12:52:53 +00:00
Richard Hughes
e3e060e4d2 trivial: fix compile 2009-02-05 12:42:20 +00:00
Richard Hughes
d386ba2dec bugfix: correctly set the power-supply property as pointed out by David Zeuthen 2009-02-05 10:05:31 +00:00
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