Commit graph

463 commits

Author SHA1 Message Date
Richard Hughes
a3dd31ee57 Rename the PolicyKit rules from org.freedesktop.devicekit.power to org.freedesktop.upower 2010-01-18 17:05:25 +00:00
Richard Hughes
d27c836e97 Rename the DBus service from org.freedesktop.DeviceKit.Power to org.freedesktop.UPower 2010-01-18 16:53:12 +00:00
Richard Hughes
962539a31d trivial: enable gtk-doc in make distcheck 2010-01-18 14:20:52 +00:00
Richard Hughes
8362088d12 trivial: rename some internal defines for the upower move 2010-01-18 14:04:24 +00:00
Richard Hughes
8b219b243e trivial: DkpStatsObj -> UpStatsObj (no ABI or API break) 2010-01-18 13:50:38 +00:00
Richard Hughes
3e8e98f598 trivial: DkpWakeups -> UpWakeups (no ABI or API break) 2010-01-18 13:48:15 +00:00
Richard Hughes
777cfe18a6 trivial: DkpQos -> UpQos (no ABI or API break) 2010-01-18 13:42:00 +00:00
Richard Hughes
1e8e236798 trivial: DkpHistory -> UpHistory (no ABI or API break) 2010-01-18 13:37:15 +00:00
Richard Hughes
bc928f7ae8 trivial: switch to using the new udev attribute names (no ABI or API break) 2010-01-18 13:20:36 +00:00
Richard Hughes
c8cec18f06 trivial: DkpInput -> UpInput (no ABI or API break) 2010-01-18 13:15:47 +00:00
Richard Hughes
e04b5a9e00 trivial: DkpNative -> UpNative (no ABI or API break) 2010-01-18 13:12:37 +00:00
Richard Hughes
ad282a532c trivial: switch to using the new internal library name (no ABI or API break) 2010-01-18 13:10:00 +00:00
Richard Hughes
13f7addd62 trivial: switch to using the new marshal names internally (no ABI or API break) 2010-01-18 13:08:31 +00:00
Richard Hughes
2a9dff08f6 trivial: convert freebsd private object to using upower prefix (no ABI or API changes) 2010-01-18 13:06:07 +00:00
Richard Hughes
8d4ec58206 trivial: switch to using the new enum names internally (no ABI or API break) 2010-01-18 12:57:50 +00:00
Richard Hughes
6845dc144d trivial: DkpPolkit -> UpPolkit (no ABI or API break) 2010-01-18 12:51:41 +00:00
Richard Hughes
25e51c9613 trivial: DkpDevice -> UpDevice (no ABI or API break) 2010-01-18 12:49:30 +00:00
Richard Hughes
d2550b4c78 trivial: DkpDaemon -> UpDaemon (no ABI or API break) 2010-01-18 12:35:47 +00:00
Richard Hughes
2562bc6aa6 trivial: DkpBackend -> UpBackend (no ABI or API break) 2010-01-18 12:32:06 +00:00
Richard Hughes
15ac5102c8 trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ABI changes 2010-01-18 12:26:55 +00:00
Richard Hughes
7be60e43e2 trivial: add the m4 directory so fresh checkouts work correctly 2010-01-18 11:45:51 +00:00
Richard Hughes
53ae9050a9 Merge branch 'master' into gobject-introspection 2010-01-18 11:44:47 +00:00
Richard Hughes
2c76e5dd62 trivial: remove an autogenerated file 2010-01-18 11:42:47 +00:00
Richard Hughes
cbabe54705 trivial: use g_set_error() in more places 2010-01-17 23:10:14 +00:00
Richard Hughes
0d7bf34ed6 Add initial GObject introspection support 2010-01-15 15:18:26 +00:00
Richard Hughes
e93895a257 Use a fallback for the capability bit when checking the lid status. Fixes #25041 2010-01-11 15:56:53 +00:00
Richard Hughes
7222042da3 trivial: post release version bump 2010-01-08 10:51:51 +00:00
Richard Hughes
8cbaa7f70b Released DeviceKit-power 014 2010-01-08 10:49:06 +00:00
Richard Hughes
b4bbcc88d3 trivial: be a whitespace and format nazi 2010-01-03 09:11:04 +00:00
Joe Marcus Clarke
9c5ffff44c comment out some problematic compiler warnings
FreeBSD's compiler doesn't yet support -Wtype-limits, and
-Wmissing-include-dirs can cause and internal compiler crash.
2010-01-03 08:54:48 +00:00
Joe Marcus Clarke
131bc12a81 import the FreeBSD backend
Add a backend for FreeBSD supporting AC power lines, batteries, and
lid state.
2010-01-03 08:54:30 +00:00
Martin Koegler
725acd4d35 Prevent segementation fault, if connection to system dbus fails
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
2009-12-22 10:50:38 +00:00
Debbie Beliveau
bbb102c394 Check if swap exists before determining how much is free
Signed-off-by: Richard Hughes <richard@hughsie.com>
2009-12-16 16:29:29 +00:00
Richard Hughes
0348f788d9 Fix segfault in the history code. Fixes fd#25632 2009-12-14 22:19:35 +00:00
Richard Hughes
39b472708d trivial: post release version bump 2009-12-07 09:50:14 +00:00
Richard Hughes
5f8e205003 Released DeviceKit-power 013 2009-12-07 09:49:20 +00:00
Richard Hughes
99e9925654 Make some small cleanups in prep for the release 2009-12-01 08:55:04 +00:00
Byron Clark
1dbe1c87c5 Use a gdouble for percentage.
The percentage field of the device object is a gdouble.  Low battery
calculations should read this field as a gdouble instead of a guint to
get the correct value.   This fixes the case where clients see
on-low-battery possibly changing with every percentage of battery
discharge.

Signed-off-by: Byron Clark <byron@theclarkfamily.name>
2009-11-25 21:13:15 +00:00
Richard Hughes
a0cac7f1ca Update some common egg code for better debugging support 2009-11-23 14:24:00 +00:00
Richard Hughes
7482af780b Some batteries give out massive rate values when nearly empty 2009-11-23 14:04:45 +00:00
Richard Hughes
a1783bbf2d When the internal battery is in the unknown state, we can't make a decision whether the system is on battery power 2009-11-22 15:59:58 +00:00
Arnaud Quette
c289ef6791 Update the list of HID UPS 2009-11-20 09:31:52 +00:00
Richard Hughes
99ab6b00c0 Some vendors fill the NVRAM full of junk. Don't crash the daemon if the battery is broken. Fixes rh#533654 2009-11-17 13:30:25 +00:00
Richard Hughes
9f4fae9ccc Avoid going from discharging to pending-discharge when the expansion battery is very low 2009-11-17 09:45:20 +00:00
Richard Hughes
a5551d4d04 Fix the toshiba battery recal notices by matching up the double quotes properly 2009-11-17 09:43:48 +00:00
Richard Hughes
6199e901ea When using devkit-power --monitor, print a timestamp before each message for debugging. Fixes fd#24666 2009-10-22 10:30:53 +01:00
Richard Hughes
390c5b3aeb Fix a trivial copy-paste error that broke hibernate for a lot of people 2009-10-21 09:26:48 +01:00
Martin Pitt
54f37398c0 Bug 24262 – incorrect battery recall warning for Lenovo T61
According to
http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=BATT-LENOVO

the Sony batteris are only recalled on some particular models.
2009-10-20 12:57:04 +01:00
Richard Hughes
a4dce7f43b trivial: post release version bump 2009-10-19 11:10:14 +01:00
Richard Hughes
da0ac8db45 Released DeviceKit-power 012 2009-10-19 11:09:02 +01:00