Richard Hughes
|
cdf48e69d2
|
initial refresh after coldplug is not fatal if it fails
|
2009-07-02 10:55:11 +01:00 |
|
Richard Hughes
|
7aa24f0bc2
|
Enable pretty compiler output with new automake versions
|
2009-07-01 20:57:59 +01:00 |
|
Martin Pitt
|
db98ba1cb6
|
suppress lid change event on startup
Suppress lid change event on startup. Otherwise, gnome-power-manager picks up a
"lid is closed" change event when dk-p gets D-BUS activated, and thus
immediately suspends the machine on startup.
http://bugs.freedesktop.org/show_bug.cgi?id=22574
https://launchpad.net/bugs/385135
|
2009-07-01 12:20:40 +01:00 |
|
Richard Hughes
|
269fc33a3b
|
hardcode pm-powersave like we do pm-suspend and pm-hibernate
|
2009-06-28 12:44:40 +01:00 |
|
Roland Dreier
|
e808a5063b
|
Fix two issues with the pm-powersave code
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
2009-06-28 08:15:52 +01:00 |
|
Richard Hughes
|
e66bc06cfd
|
Fix a small memory leak on supply coldplugging
|
2009-06-26 15:02:56 +01:00 |
|
Richard Hughes
|
3894b36273
|
Don't show empty vendor, model or serials in the debug outputs
|
2009-06-26 15:02:15 +01:00 |
|
Richard Hughes
|
b68b08a6cf
|
Correct a few function names
|
2009-06-26 14:43:29 +01:00 |
|
Richard Hughes
|
cad7031777
|
Interface with pm-powersave as external vendors are using this
|
2009-06-26 14:42:19 +01:00 |
|
Richard Hughes
|
454e81349d
|
One more variation of lithium-poly
|
2009-06-15 10:31:18 +01:00 |
|
Richard Hughes
|
6344343b67
|
Prefix the DkpDevice subclassed devices with device to make it clearer
|
2009-06-14 19:59:46 +01:00 |
|
Richard Hughes
|
40b4a9afd7
|
Don't assume all batteries have positive energy_full values
|
2009-06-14 19:40:45 +01:00 |
|
Richard Hughes
|
494a3dba79
|
Only print interesting device properties
|
2009-06-14 19:35:21 +01:00 |
|
Richard Hughes
|
933c09aa66
|
For power_supply, unknown is a valid state from the kernel
|
2009-06-14 14:17:15 +01:00 |
|
Richard Hughes
|
57615b3639
|
Mark batteries as empty if they have unknown state and a very low energy
|
2009-06-14 14:16:32 +01:00 |
|
Richard Hughes
|
408fad75f9
|
trivial: post release version bump
|
2009-06-01 11:36:50 +01:00 |
|
Richard Hughes
|
706bf8fc28
|
Released DeviceKit-power 008
|
2009-06-01 11:35:53 +01:00 |
|
Richard Hughes
|
0789043911
|
Trivial formatting nit
|
2009-05-29 12:38:03 +01:00 |
|
Richard Hughes
|
0d0f330faa
|
Trivial whitespace fixes
|
2009-05-29 12:15:29 +01:00 |
|
Richard Hughes
|
5ec8c1e763
|
Allow properties in DkpDevice (client) to be set
|
2009-05-29 12:15:07 +01:00 |
|
Richard Hughes
|
e0d1f05462
|
Only attempt to print history if the device is capable
|
2009-05-29 12:12:24 +01:00 |
|
Richard Hughes
|
70a5fce8a4
|
Fix up the return statuses from coldplug and refresh, as different modules are doing different things
|
2009-05-27 15:47:06 +01:00 |
|
Richard Hughes
|
0ff31760f9
|
Don't poll on unknown forever. Based on a patch from Matthew Garrett, many thanks
|
2009-05-26 14:26:39 +01:00 |
|
Richard Hughes
|
1c78b10041
|
Setup different polls based on the battery state. Based on a patch from Matthew Garrett, many thanks
|
2009-05-26 14:11:44 +01:00 |
|
Richard Hughes
|
cf9692f1e9
|
Don't return history data relative to the earliest point, only within the time period given
|
2009-05-26 13:52:37 +01:00 |
|
Matthew Garrett
|
a65e5761d9
|
Allow the daemon to get the global online state for all devices
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
2009-05-26 11:51:49 +01:00 |
|
Ronald
|
7cba688292
|
Remove the 0x prefix from some rule matches
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
2009-05-26 09:53:13 +01:00 |
|
Richard Hughes
|
821b930371
|
Never overwrite ID_PRODUCT or ID_VENDOR
|
2009-05-26 09:51:58 +01:00 |
|
Richard Hughes
|
af2e76cacd
|
Trivially fix a compile error
|
2009-05-26 09:51:29 +01:00 |
|
Richard Hughes
|
04747b2b5a
|
Trivially remove some unused code
|
2009-05-26 09:40:05 +01:00 |
|
Richard Hughes
|
d7d6367eff
|
Correct a debugging statement
|
2009-05-14 11:07:43 +01:00 |
|
Richard Hughes
|
296a09988b
|
A better fix for rh#495493
|
2009-05-13 19:45:52 +01:00 |
|
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 |
|
Ali Abdallah
|
b762899c60
|
Fix up some issues in DkpClient, and expose GObject properties
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
2009-05-06 17:12:28 +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
|
dccd5fc898
|
Ignore method timeouts when we suspend and hibernate
|
2009-04-25 11:07:30 +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
|
c97698adf9
|
Ensure we get properties on devices correctly that have not yet been changed
|
2009-04-22 16:44:31 +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
|
36dc57fa64
|
trivial: add make snapshot
|
2009-04-01 09:19:24 +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
|
90bc938bc4
|
trivial: print the error message from dkp-tool
|
2009-04-01 09:15:04 +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 |
|