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 |
|
Richard Hughes
|
4fb995f784
|
trivial egg updates
|
2008-09-04 10:05:57 +01:00 |
|
Richard Hughes
|
30240b2e97
|
work out the statistics by binning them into percentage sized holes
|
2008-09-03 15:18:27 +01:00 |
|
Richard Hughes
|
0f03775f7d
|
trivial: there are 101 entries, not 100
|
2008-09-03 15:17:57 +01:00 |
|
Richard Hughes
|
1b1d9976b6
|
poll every 10 seconds to get better stats results
|
2008-09-03 15:17:25 +01:00 |
|
Richard Hughes
|
f897e3d24c
|
support getting stats from DkpSupply devices
|
2008-09-03 10:23:03 +01:00 |
|
Richard Hughes
|
d400e1ae7c
|
bugfix: don't clear the list when we print it
|
2008-09-03 10:22:34 +01:00 |
|
Richard Hughes
|
6557463ba2
|
trivial: add to_sting and from_string methods to DkpStatsObj
|
2008-09-03 10:22:10 +01:00 |
|
Richard Hughes
|
28f542de99
|
rename the printed string from Stats to History
|
2008-09-03 10:21:34 +01:00 |
|
Richard Hughes
|
53e42d86b7
|
trivial updates to shared egg- files
|
2008-09-02 17:53:31 +01:00 |
|
Richard Hughes
|
5e97daacc0
|
move the savelist code form DkpHistory to EggObjList as it's a common action
|
2008-08-29 13:20:52 +01:00 |
|
Richard Hughes
|
0b38c52b4f
|
trivial: don't use GIO functionality just yet
|
2008-08-29 12:59:04 +01:00 |
|
Richard Hughes
|
9ef076ef69
|
trivial: add some functionality to the EggObjList
|
2008-08-29 12:56:52 +01:00 |
|
Richard Hughes
|
38a050b01f
|
switch from using GPtrArray to EggObjList as this provides us with auto array cleanup for different objects
|
2008-08-28 17:28:26 +01:00 |
|
Richard Hughes
|
7fdcc278dc
|
convert to using egg_ functionality like other projects
|
2008-08-28 15:49:19 +01:00 |
|
Richard Hughes
|
0e2c7ef0ec
|
save the time to full and time to empty too
|
2008-08-28 10:43:08 +01:00 |
|
Richard Hughes
|
57ae3ac178
|
trivial fixup
|
2008-08-26 16:53:16 +01:00 |
|
Richard Hughes
|
b53b7dadcf
|
don't return stats when we actually mean history -- the stats parts need to be written
|
2008-08-26 16:43:30 +01:00 |
|
Richard Hughes
|
cb9d4e6975
|
add DkpStatsObj convenience helpers
|
2008-08-26 16:40:47 +01:00 |
|
Richard Hughes
|
83b4c54818
|
Merge branch 'master' into temp
|
2008-08-26 16:04:36 +01:00 |
|
Richard Hughes
|
a8bca8a3c6
|
trivial: forgot to change one file
|
2008-08-26 16:04:31 +01:00 |
|
Richard Hughes
|
b5022f451a
|
remove the battery- and line-power- prefix from the device properties
|
2008-08-26 15:51:35 +01:00 |
|
Richard Hughes
|
2061b6c436
|
rename GetStats to GetHistory
|
2008-08-26 15:43:35 +01:00 |
|
Richard Hughes
|
44745b5505
|
don't report negative rate when charging
|
2008-08-26 15:42:36 +01:00 |
|
Richard Hughes
|
15a2a35625
|
add a MONITOR type, and make the printing code a little mor sane
|
2008-08-22 10:23:43 +01:00 |
|
Richard Hughes
|
a2ead86ec4
|
add functionality to monitor a Watts Up Pro device
|
2008-08-22 10:08:14 +01:00 |
|
Richard Hughes
|
c5415a35a6
|
trivial: add some unit comments
|
2008-08-22 10:05:53 +01:00 |
|
Richard Hughes
|
ea2847339f
|
rename configure.in to configure.ac for non-oldness
|
2008-08-20 16:41:05 +01:00 |
|
Richard Hughes
|
c5b8eb66b1
|
don't use deprecate udev rule matching, and prefix our new variables
|
2008-08-20 16:39:20 +01:00 |
|
Richard Hughes
|
bb5203f221
|
don't export a shared library
|
2008-08-20 16:38:48 +01:00 |
|
Richard Hughes
|
9c19c1437f
|
document the output of the Device.GetStatistics() method
|
2008-08-15 11:40:57 +01:00 |
|
Richard Hughes
|
35e91c0d96
|
headers should be in /usr/include/DeviceKit/devkit-power not /usr/include/DeviceKit-power/dkp-gobject
|
2008-08-15 11:29:36 +01:00 |
|
Richard Hughes
|
6d9ebae815
|
.pc file should be called devkit-power not devicekit-power
|
2008-08-15 11:26:28 +01:00 |
|
Richard Hughes
|
5dbc9c29cc
|
use DKP_ID_BATTERY_TYPE rather than ID_BATTERY_TYPE to not pollute the main name space
|
2008-08-15 11:21:36 +01:00 |
|
Richard Hughes
|
7a52f8701d
|
trivial: dist the corect udev rules
|
2008-08-13 08:24:15 +01:00 |
|
Richard Hughes
|
81493a944d
|
Merge branch 'master' of ssh://hughsient@git.freedesktop.org/git/DeviceKit/DeviceKit-power
|
2008-08-13 08:10:46 +01:00 |
|
Richard Hughes
|
3a468e7521
|
only match on USB HID devices so we don't try to connect to every USB device on the system at startup
|
2008-08-13 08:08:29 +01:00 |
|
Richard Hughes
|
a104eb5519
|
failure to register on the bus or refresh is a fatal coldplug
|
2008-08-13 08:04:33 +01:00 |
|
Richard Hughes
|
57aea5a7e5
|
always coldplug power_supply devices too
|
2008-08-13 08:04:01 +01:00 |
|
Richard Hughes
|
0cdf136fbc
|
use the device file when it's available for usbhid devices
|
2008-08-12 21:20:16 +01:00 |
|
David Zeuthen
|
2cc32c1dc7
|
update location of git repos
Someone also needs to do s/devicekit/DeviceKit/ on the fd.o git servers...
|
2008-08-12 12:35:14 -04:00 |
|
Richard Hughes
|
5b950ddeb3
|
add support for old style HID UPS devices
|
2008-08-12 14:49:47 +01:00 |
|
Richard Hughes
|
5f0bb1e249
|
refactor the device coldplugging so it's easier to add new device types in the future
|
2008-08-12 11:14:26 +01:00 |
|
Richard Hughes
|
bcec1fc47a
|
don't setup the DkpCsr poll before we know that the coldplugging has succeeded
|
2008-08-12 11:10:52 +01:00 |
|
Richard Hughes
|
0c38eb62fa
|
don't force a refresh in DkpDevice if the coldplugging failed
|
2008-08-12 11:10:14 +01:00 |
|
Richard Hughes
|
b2b3a94f63
|
the : char is not a allowed in a object_path
|
2008-08-12 11:09:46 +01:00 |
|
Richard Hughes
|
c9d3c59ad3
|
actually print the stats when we call dkp_client_device_print()
|
2008-08-11 13:26:45 +01:00 |
|
Richard Hughes
|
f776b73d8d
|
create the history profile directory when we install
|
2008-08-11 13:26:10 +01:00 |
|