diff -Nru sleepd-2.05/debian/changelog sleepd-2.06/debian/changelog --- sleepd-2.05/debian/changelog 2014-05-27 22:06:38.000000000 +0200 +++ sleepd-2.06/debian/changelog 2014-07-16 15:40:49.000000000 +0200 @@ -1,3 +1,10 @@ +sleepd (2.06) UNRELEASED; urgency=medium + + * QA upload. + * upower.c: remove sync call to enumerate devices. + + -- Andreas Henriksson Wed, 16 Jul 2014 15:36:14 +0200 + sleepd (2.05) unstable; urgency=low [ Joey Hess ] diff -Nru sleepd-2.05/upower.c sleepd-2.06/upower.c --- sleepd-2.05/upower.c 2014-05-27 22:06:23.000000000 +0200 +++ sleepd-2.06/upower.c 2014-07-16 15:38:33.000000000 +0200 @@ -67,8 +67,10 @@ return 0; } +#if !UP_CHECK_VERSION(0, 99, 0) /* Allow a battery that was not present before to appear. */ up_client_enumerate_devices_sync(up, NULL, NULL); +#endif devices = up_client_get_devices(up);