Richard Hughes
|
da0ac8db45
|
Released DeviceKit-power 012
|
2009-10-19 11:09:02 +01:00 |
|
Richard Hughes
|
99fd6ba178
|
When we do a delayed refresh, actually do 5 x 1 second apart rather than 1 x 3 seconds
|
2009-10-16 15:43:38 +01:00 |
|
Richard Hughes
|
f4229cce74
|
Connect to the device changed signal rather than the backend changed signal so we get the event for all refreshed data
|
2009-10-16 15:30:38 +01:00 |
|
Richard Hughes
|
cd74873cbd
|
Don't emit changed events from the DkpBackend layer, instead push then through DkpDevice
|
2009-10-16 15:09:51 +01:00 |
|
Richard Hughes
|
4da34c1ef5
|
add trivial comment markup entry
|
2009-10-16 14:26:37 +01:00 |
|
Richard Hughes
|
ea6ebd1a52
|
Detect encrypted swap and prevent hibernate in this case. Fixes fd#23196
|
2009-10-16 11:31:29 +01:00 |
|
Richard Hughes
|
2579fda3fe
|
trivial: bump the version in AC_INIT too
|
2009-10-15 15:25:30 +01:00 |
|
Richard Hughes
|
b00791b9bf
|
Add g_object_notify() calls for properties on DkpClient
|
2009-10-14 10:53:35 +01:00 |
|
Richard Hughes
|
b69e31ef05
|
Ensure we only reset the update-time property when we have done the refresh, not before
This should fix the timed callback when the AC changes and and a delayed
refresh is triggered.
|
2009-10-14 10:34:10 +01:00 |
|
Richard Hughes
|
c275010326
|
trivial: post release version bump
|
2009-10-06 10:29:28 +01:00 |
|
Richard Hughes
|
d6eb6622df
|
Released DeviceKit-power 011
|
2009-10-06 10:28:05 +01:00 |
|
Richard Hughes
|
bf9758fabf
|
Use voltage_now as a fallback to the design voltage, and return 10.0V if no value could be found
|
2009-10-01 09:16:54 +01:00 |
|
Richard Hughes
|
b7151ff2c8
|
Fix a tiny memory leak when we collect the properties from the interface multiple times
|
2009-09-30 17:00:25 +01:00 |
|
Richard Hughes
|
8952ac901b
|
Use the sysfs file 'type' to work out the battery type as the presence of 'online' in unreliable
|
2009-09-30 16:59:55 +01:00 |
|
Richard Hughes
|
1587fc5758
|
Convert the property names to be FirstLetterCaps rather than dash-dash so KDE people can use the DBus interface
|
2009-09-18 18:28:53 +01:00 |
|
Richard Hughes
|
03b7fff70a
|
Merge branch 'master' of ssh://git.freedesktop.org/git/DeviceKit/DeviceKit-power
|
2009-09-13 09:57:37 +01:00 |
|
Richard Hughes
|
0015382c35
|
Raise the checked GLib version to 2.21.5
|
2009-09-11 19:38:23 +01:00 |
|
Richard Hughes
|
59357d79f3
|
Use g_ptr_array_new_with_free_func() in more places to make client applications easier
|
2009-09-11 16:14:24 +01:00 |
|
Richard Hughes
|
b8dd8ffe1e
|
trivial: fix up two issues from code review
|
2009-09-11 14:44:58 +01:00 |
|
Richard Hughes
|
97a7824844
|
Fix up a few problems spotted by clang
|
2009-09-11 14:39:48 +01:00 |
|
Richard Hughes
|
2f211aa7a7
|
bugfix: freeze and thaw the device during initial coldplug
|
2009-09-11 14:22:57 +01:00 |
|
Richard Hughes
|
a09005a0a3
|
Be more militant with refcount checking to prevent crashes
|
2009-09-11 14:08:08 +01:00 |
|
Richard Hughes
|
9785f18d7e
|
Add some self tests and fix up some obvious bugs
|
2009-09-11 13:51:28 +01:00 |
|
Richard Hughes
|
8cb468ce64
|
Fix up some more memory leaks
|
2009-09-11 12:34:25 +01:00 |
|
Richard Hughes
|
ca604fe92b
|
bugfix: make the remove logic much cleaner to try to fix bugs where removing the mouse kills the session
|
2009-09-11 12:05:16 +01:00 |
|
Richard Hughes
|
ce955ea09f
|
Fix a crash with the Linux backend
|
2009-09-11 09:58:46 +01:00 |
|
Richard Hughes
|
d42187ef5f
|
trivial: fix make distcheck
|
2009-09-11 09:58:32 +01:00 |
|
Richard Hughes
|
2afa769c5f
|
Fix compile for Linux backend
|
2009-09-11 09:52:32 +01:00 |
|
Richard Hughes
|
de7c4bcc37
|
Fix conflicts in the merge
|
2009-09-11 09:45:41 +01:00 |
|
Richard Hughes
|
309325949f
|
Uncomment enough warnings so master actually compiles...
|
2009-08-20 15:45:03 +01:00 |
|
Richard Hughes
|
063e0fa4c2
|
Add some more warnings, and fix up a few errors. Still more to fix
|
2009-08-20 14:59:46 +01:00 |
|
Richard Hughes
|
19e4347260
|
Remove depricated g_strcasecmp and convert to g_ascii_strcasecmp
|
2009-08-19 13:37:33 +01:00 |
|
Richard Hughes
|
40e554865d
|
Merge branch 'master' into not-just-gudev2
|
2009-08-06 11:18:10 +01:00 |
|
Richard Hughes
|
260cf76f1d
|
Only disable the polling if the kernel tells us we're fully charged, not if we guessed it
|
2009-08-03 15:32:59 +01:00 |
|
Richard Hughes
|
ca12319d1f
|
Merge branch 'master' into not-just-gudev2
|
2009-07-31 08:58:29 +01:00 |
|
Arnaud Quette
|
5ef00f7287
|
Add another UPS device ID
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
2009-07-31 08:57:54 +01:00 |
|
Richard Hughes
|
db729c1793
|
Update README to reflect reality
|
2009-07-28 13:46:29 +01:00 |
|
Arnaud Quette
|
8b16bc0cdf
|
Update list of HID UPS devices
|
2009-07-27 17:21:55 +01:00 |
|
Richard Hughes
|
90501fc1ea
|
Actually make compile with the linux backend
|
2009-07-27 17:15:27 +01:00 |
|
Richard Hughes
|
0c8d29a90f
|
Initial split to make DeviceKit-power compile without GUdev for non-linux platforms
|
2009-07-27 16:40:11 +01:00 |
|
Richard Hughes
|
8cf5c058c3
|
Return meaningfull errors if the user tries to suspend or hibernate without kernel support or swap setup
|
2009-07-22 17:05:12 +01:00 |
|
Richard Hughes
|
acd4dc82da
|
trivial: post release version bump
|
2009-07-22 13:06:00 +01:00 |
|
Richard Hughes
|
d264375f52
|
Released DeviceKit-power 010
|
2009-07-22 12:59:56 +01:00 |
|
Richard Hughes
|
14ed2df836
|
trivial: correct a few function prefixes
|
2009-07-22 11:35:36 +01:00 |
|
Richard Hughes
|
8e76382029
|
Fix a trivial compile warning
|
2009-07-22 11:32:56 +01:00 |
|
Richard Hughes
|
f7a00c582a
|
Only refresh all battery devices when the ac-adaptor changes
|
2009-07-22 08:16:27 +01:00 |
|
Richard Hughes
|
fbbc823a48
|
Refresh all battery devices after a power event, and again after a short delay. Fixes rh#512995
|
2009-07-21 20:35:58 +01:00 |
|
Richard Hughes
|
969c6a928a
|
If we don't have enough swap available, don't advertise hibernate. Fixes rh#513015
|
2009-07-21 19:44:48 +01:00 |
|
Richard Hughes
|
9805175e6e
|
Query the kernel to decide if we have hibernate and suspend support
|
2009-07-21 19:44:37 +01:00 |
|
Richard Hughes
|
e44e8b0b79
|
Use the global battery state as a metric when single battery machines are not charging or discharging
|
2009-07-20 15:56:35 +01:00 |
|