upower "Resuming" signal is not emitted or seen
Michael Biebl
mbiebl at gmail.com
Sun Mar 16 08:31:21 PDT 2014
Should have gone to the mailing list...
2014-03-16 16:30 GMT+01:00 Michael Biebl <mbiebl at gmail.com>:
> 2014-03-16 15:54 GMT+01:00 Antoine Martin <antoine at nagafix.co.uk>:
>> 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?
>
> http://www.freedesktop.org/wiki/Software/systemd/logind/
>
> /---------
> |Signals
> |
> |Whenever the inhibition state or idle hint changes daemon
> PropertyChanged signals are sent out to which clients can subscribe.
> |
> |<The SessionNew(), SessionRemoved(), UserNew(), UserRemoved(),
> SeatNew(), SeatRemoved() signals are sent each time a session is
> created or removed, a user logs in or out, or a seat is added or
> removed. They each contain |the ID of the object plus the object path.
> |
> |The PrepareForShutdown() resp. PrepareForSleep() signals are sent
> right before (with the argument True) and after (with the argument
> False) the system goes down for reboot/poweroff, resp.
> suspend/hibernate. This may be used by |applications for saving data
> on disk, releasing memory or doing other jobs that shall be done
> shortly before shutdown/sleep, in conjunction with delay inhibitor
> locks. After completion of this work they should release their
> inhibition |locks in order not to delay the operation any further. For
> more information see Inhibitor Locks.
> \---------
>
>
> Does that help?
>
>> It might be a good idea to document the fact that this signal is no longer
>> emitted, and if possible point to its replacement.
>
> Yeah, the NEWS/ChangeLog could certainly be improved in that regard
>
> http://cgit.freedesktop.org/upower/commit/?id=030e2c9d3633e35e8beeecc1f41f6e0ff77b57dc
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the devkit-devel
mailing list