Commit graph

164 commits

Author SHA1 Message Date
Richard Hughes
e5de05c69a bigfix: fix a problem with egg_obj_list_clear where the last item was not being removed from the list 2008-11-08 15:50:30 +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
031189f151 fixed compile 2008-11-04 12:03:00 +00:00
Richard Hughes
63397c1e83 expand the client helper library to cover all the base API for gnome-power-manager 2008-11-04 12:02:23 +00:00
Richard Hughes
355b268ad7 trivial: convert the data getting to enumerated types 2008-11-04 12:01:46 +00:00
Richard Hughes
39e7c41db1 bugfix: fix the introspection for the CanSuspend and CanHibernate methods 2008-11-04 12:00:59 +00:00
Richard Hughes
b89232867c trivial: fix make distcheck 2008-10-24 12:12:11 +01:00
Richard Hughes
a1a4304b4e trivial: egg updates 2008-10-23 14:39:44 +01:00
Richard Hughes
c87521af72 trivial: 'unexport' dkp_acpi_to_device_technology - 2 2008-10-23 13:55:10 +01:00
Richard Hughes
760dc570f2 trivial: 'unexport' dkp_acpi_to_device_technology 2008-10-23 13:54:33 +01:00
Richard Hughes
b43fa536fb feature: add two new properties, has-history and has-statistics 2008-10-23 13:38:22 +01:00
Richard Hughes
ffbc3a026b feature: add in CanSuspend and CanHibernate into API 2008-10-23 12:48:44 +01:00
Richard Hughes
670c3bfc7b trivial: update defines needed for egg debugging code 2008-10-23 12:48:01 +01:00
Richard Hughes
8d2bf6ad14 trivial: egg updates 2008-10-23 12:03:35 +01:00
Richard Hughes
44efaef725 add a first approximation of a time resolution limiter 2008-09-06 11:13:24 +01:00
Richard Hughes
8bcc56ce4c trivial: egg updates 2008-09-06 11:12:47 +01:00
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