summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Expand)AuthorFilesLines
2010-01-18trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or A...Richard Hughes49-190/+191
2010-01-17trivial: use g_set_error() in more placesRichard Hughes2-4/+4
2010-01-11Use a fallback for the capability bit when checking the lid status. Fixes #25041Richard Hughes1-1/+6
2010-01-03trivial: be a whitespace and format naziRichard Hughes8-261/+250
2010-01-03import the FreeBSD backendJoe Marcus Clarke15-1/+2080
2009-12-16Check if swap exists before determining how much is freeDebbie Beliveau1-0/+10
2009-12-14Fix segfault in the history code. Fixes fd#25632Richard Hughes1-0/+6
2009-12-01Make some small cleanups in prep for the releaseRichard Hughes3-24/+58
2009-11-25Use a gdouble for percentage.Byron Clark1-2/+2
2009-11-23Update some common egg code for better debugging supportRichard Hughes4-102/+268
2009-11-23Some batteries give out massive rate values when nearly emptyRichard Hughes1-3/+7
2009-11-22When the internal battery is in the unknown state, we can't make a decision w...Richard Hughes1-0/+2
2009-11-17Some vendors fill the NVRAM full of junk. Don't crash the daemon if the batte...Richard Hughes1-0/+34
2009-11-17Avoid going from discharging to pending-discharge when the expansion battery ...Richard Hughes1-8/+20
2009-10-21Fix a trivial copy-paste error that broke hibernate for a lot of peopleRichard Hughes1-1/+1
2009-10-16When we do a delayed refresh, actually do 5 x 1 second apart rather than 1 x ...Richard Hughes1-17/+44
2009-10-16Connect to the device changed signal rather than the backend changed signal s...Richard Hughes2-40/+55
2009-10-16Don't emit changed events from the DkpBackend layer, instead push then throug...Richard Hughes2-20/+9
2009-10-16add trivial comment markup entryRichard Hughes1-0/+4
2009-10-16Detect encrypted swap and prevent hibernate in this case. Fixes fd#23196Richard Hughes1-8/+133
2009-10-14Ensure we only reset the update-time property when we have done the refresh, ...Richard Hughes3-9/+14
2009-10-01Use voltage_now as a fallback to the design voltage, and return 10.0V if no v...Richard Hughes1-8/+44
2009-09-30Use the sysfs file 'type' to work out the battery type as the presence of 'on...Richard Hughes1-5/+26
2009-09-18Convert the property names to be FirstLetterCaps rather than dash-dash so KDE...Richard Hughes3-55/+55
2009-09-11Use g_ptr_array_new_with_free_func() in more places to make client applicatio...Richard Hughes5-18/+12
2009-09-11Fix up a few problems spotted by clangRichard Hughes5-27/+22
2009-09-11bugfix: freeze and thaw the device during initial coldplugRichard Hughes2-0/+17
2009-09-11Be more militant with refcount checking to prevent crashesRichard Hughes5-8/+34
2009-09-11Add some self tests and fix up some obvious bugsRichard Hughes25-35/+819
2009-09-11Fix up some more memory leaksRichard Hughes4-30/+52
2009-09-11bugfix: make the remove logic much cleaner to try to fix bugs where removing ...Richard Hughes15-293/+266
2009-09-11Fix a crash with the Linux backendRichard Hughes2-9/+6
2009-09-11trivial: fix make distcheckRichard Hughes1-7/+16
2009-09-11Fix compile for Linux backendRichard Hughes5-17/+59
2009-09-11Fix conflicts in the mergeRichard Hughes12-81/+66
2009-08-20Uncomment enough warnings so master actually compiles...Richard Hughes1-2/+2
2009-08-20Add some more warnings, and fix up a few errors. Still more to fixRichard Hughes12-65/+47
2009-08-19Remove depricated g_strcasecmp and convert to g_ascii_strcasecmpRichard Hughes3-18/+21
2009-08-06Merge branch 'master' into not-just-gudev2Richard Hughes1-2/+8
2009-08-03Only disable the polling if the kernel tells us we're fully charged, not if w...Richard Hughes1-2/+8
2009-07-27Actually make compile with the linux backendRichard Hughes7-104/+72
2009-07-27Initial split to make DeviceKit-power compile without GUdev for non-linux pla...Richard Hughes30-675/+1424
2009-07-22Return meaningfull errors if the user tries to suspend or hibernate without k...Richard Hughes1-14/+46
2009-07-22trivial: correct a few function prefixesRichard Hughes1-15/+13
2009-07-22Fix a trivial compile warningRichard Hughes1-0/+2
2009-07-22Only refresh all battery devices when the ac-adaptor changesRichard Hughes1-7/+13
2009-07-21Refresh all battery devices after a power event, and again after a short dela...Richard Hughes3-3/+50
2009-07-21If we don't have enough swap available, don't advertise hibernate. Fixes rh#5...Richard Hughes1-0/+65
2009-07-21Query the kernel to decide if we have hibernate and suspend supportRichard Hughes1-5/+37
2009-07-20Use the global battery state as a metric when single battery machines are not...Richard Hughes1-20/+22