path: root/src/dkp-supply.c
AgeCommit message (Expand)AuthorFilesLines
2009-06-14Prefix the DkpDevice subclassed devices with device to make it clearerRichard Hughes1-703/+0
2009-06-14Don't assume all batteries have positive energy_full valuesRichard Hughes1-6/+8
2009-06-14For power_supply, unknown is a valid state from the kernelRichard Hughes1-0/+2
2009-06-14Mark batteries as empty if they have unknown state and a very low energyRichard Hughes1-0/+6
2009-05-27Fix up the return statuses from coldplug and refresh, as different modules ar...Richard Hughes1-3/+10
2009-05-26Don't poll on unknown forever. Based on a patch from Matthew Garrett, many th...Richard Hughes1-2/+15
2009-05-26Setup different polls based on the battery state. Based on a patch from Matth...Richard Hughes1-9/+39
2009-05-26Allow the daemon to get the global online state for all devicesMatthew Garrett1-0/+27
2009-05-26Trivially fix a compile errorRichard Hughes1-1/+1
2009-05-14Correct a debugging statementRichard Hughes1-1/+1
2009-05-13A better fix for rh#495493Richard Hughes1-5/+2
2009-05-13Continue to poll when power supply device is marked unknown. Might fix rh#495493Richard Hughes1-1/+2
2009-05-12Decrease the poll timeout to 2 secondsRichard Hughes1-1/+1
2009-05-12Only get the device state for the poll after the refreshRichard Hughes1-4/+3
2009-05-11Don't overwrite energy-full-design with zero after coldplugRichard Hughes1-0/+1
2009-03-09trivial: correct the percentage change calculation with the new codeRichard Hughes1-1/+8
2009-02-27trivial: remove egg-stringRichard Hughes1-1/+0
2009-02-27feature: get rid of DkpObject and instead use the GObject property system cor...Richard Hughes1-119/+183
2009-01-23bugfix: check all the power supply fields for valid dataRichard Hughes1-8/+18
2009-01-15bugfix: special case machines where the kernel gives up converting charge to ...Richard Hughes1-20/+36
2008-12-19bugfix: fix the battery capacity calculation. Fixes fd#19165Richard Hughes1-1/+1
2008-11-11update my email addressDavid Zeuthen1-1/+1
2008-11-11bugfix: fix the include headers for DeviceKit 002Richard Hughes1-1/+1
2008-11-07bugfix: use 0 for unknown, not -1 as some values like rate and voltage are va...Richard Hughes1-8/+8
2008-11-07feature: all logging for all the other device types tooRichard Hughes1-71/+0
2008-11-07feature: add voltage property of a power deviceRichard Hughes1-0/+2
2008-11-04trivial: convert the data getting to enumerated typesRichard Hughes1-10/+15
2008-10-23trivial: 'unexport' dkp_acpi_to_device_technologyRichard Hughes1-1/+26
2008-10-23feature: add two new properties, has-history and has-statisticsRichard Hughes1-0/+2
2008-09-04bugfix: don't unconditionally set the energy_full to energy_full_design if la...Richard Hughes1-6/+16
2008-09-03poll every 10 seconds to get better stats resultsRichard Hughes1-1/+1
2008-09-03support getting stats from DkpSupply devicesRichard Hughes1-0/+22
2008-08-28switch from using GPtrArray to EggObjList as this provides us with auto array...Richard Hughes1-2/+2
2008-08-28convert to using egg_ functionality like other projectsRichard Hughes1-9/+11
2008-08-28save the time to full and time to empty tooRichard Hughes1-0/+6
2008-08-26don't return stats when we actually mean history -- the stats parts need to b...Richard Hughes1-3/+3
2008-08-26remove the battery- and line-power- prefix from the device propertiesRichard Hughes1-73/+73
2008-08-26don't report negative rate when chargingRichard Hughes1-4/+0
2008-08-11reresh the object before we calculate the id, else we fail and do not get his...Richard Hughes1-2/+3
2008-08-10the enums of of DkpDevice origin, not DkpSourceRichard Hughes1-20/+20
2008-08-10trivial cosmetic changes to DkpSupplyRichard Hughes1-2/+4
2008-08-09refactor out DkpDevice and DkpSupply so we can add another type of device wit...Richard Hughes1-0/+520