upower "Resuming" signal is not emitted or seen
Antoine Martin
antoine at nagafix.co.uk
Sun Mar 16 07:54:03 PDT 2014
On 16/03/14 21:28, Michael Biebl wrote:
>
> Newer upower versions no longer emit that signal since this handled by
> systemd.
>
OK, I hope there a new signal I can listen for?
It might be a good idea to document the fact that this signal is no
longer emitted, and if possible point to its replacement.
I don't understand the point of this upower.service file if it doesn't
do anything.
> Am 16.03.2014 14:59 schrieb "Antoine Martin" <antoine at nagafix.co.uk
> <mailto:antoine at nagafix.co.uk>>:
>
> Hi,
>
> My application needs to know when the machine has just resumed from
> suspended state.
> So, it seems that what is needed is just this UPower "Resuming" signal
> that I should be able to receive via dbus:
> http://upower.freedesktop.org/docs/UPower.html#UPower::Resuming
>
> It does seem to work on some distributions (it is quite a bit
> harder to
> test with VirtualBox since it does its own suspend-resume..)
> Unfortunately, on Fedora 20 nothing happens, no signal is emitted
> (that
> I can see), neither automatically nor by firing this script by hand:
>
> /usr/lib/systemd/system/upower.service
>
>
> I have already reported this bug in RedHat's bugzilla for Fedora 20:
> https://bugzilla.redhat.com/show_bug.cgi?id=1064906
> But since there is no activity here, I thought I might ask here
> instead.
> Any ideas?
>
> Cheers
> Antoine
> _______________________________________________
> devkit-devel mailing list
> devkit-devel at lists.freedesktop.org
> <mailto:devkit-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/mailman/listinfo/devkit-devel
>
>
>
> _______________________________________________
> devkit-devel mailing list
> devkit-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/devkit-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20140316/ea0bb3e1/attachment.html>
More information about the devkit-devel
mailing list