Hi Norman,
now I got time to try what you proposed:
const UPowerGlib = imports.gi.UPowerGlib; # in the declaration part of
the extension.js
this._upClient = new UPowerGlib.Client();
this._sigSleep = this._upClient.connect('notify_sleep',
Lang.bind(this, function()
{
log("SLEEP
Hello Bazon,
I found I had not clearly understood the sequence of events.
I re-read your earlier post of your need to restart the
extension after resume.
The reason the SLEEP... and RESUME... log messages did not
appear is the disconnect of the signals when the extension
was disabled. If you don