Re: [systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping

2021-08-13 Thread George Avrunin
On Fri, 13 Aug 2021 18:43:40 +0300, Andrei Borzenkov wrote:

> > I don't think any actual person was logged in, but gdm was running.
> > And apparently gdm starts gsd-power, the gnome-settings power demon.  I
> > haven't yet been able to find where gsd-power gets its settings, but
> > maybe it's that, together with treating network activity as "activity"
> > for the purposes of deciding when to sleep.  Does anyone here know?
> >   
> 
> https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/22

Thanks, that link is very helpful!



pgpLlOty3cJ6a.pgp
Description: OpenPGP digital signature


Re: [systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping

2021-08-13 Thread Andrei Borzenkov
On 13.08.2021 15:13, George Avrunin wrote:
> On Fri, 13 Aug 2021 08:05:29 +0200, Ulrich Windl wrote:
> 
>>> I suppose that's possible, though I haven't been able to find anywhere
>>> that's configured.  (I'll ask again on the Fedora list to be sure.)  In
>>> the places where I know I've manually configured it (e.g., in the KDE
>>> power settings), it's not supposed to sleep at all when it's on AC
>>> power.   
>>
>> Amazingly in my Leap 15 system it's GNOME that triggers it: If I'm not
>> logged in, no suspend happens, but when I have a GNOME session suspend
>> happens.
> 
> I don't think any actual person was logged in, but gdm was running.  And
> apparently gdm starts gsd-power, the gnome-settings power demon.  I
> haven't yet been able to find where gsd-power gets its settings, but maybe
> it's that, together with treating network activity as "activity" for the
> purposes of deciding when to sleep.  Does anyone here know?
> 

https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/22

> If it was gsd-power that was putting the machine to sleep, it wasn't
> putting anything in the log saying that.
> 



Re: [systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping

2021-08-13 Thread George Avrunin
On Fri, 13 Aug 2021 08:05:29 +0200, Ulrich Windl wrote:

> > I suppose that's possible, though I haven't been able to find anywhere
> > that's configured.  (I'll ask again on the Fedora list to be sure.)  In
> > the places where I know I've manually configured it (e.g., in the KDE
> > power settings), it's not supposed to sleep at all when it's on AC
> > power.   
> 
> Amazingly in my Leap 15 system it's GNOME that triggers it: If I'm not
> logged in, no suspend happens, but when I have a GNOME session suspend
> happens.

I don't think any actual person was logged in, but gdm was running.  And
apparently gdm starts gsd-power, the gnome-settings power demon.  I
haven't yet been able to find where gsd-power gets its settings, but maybe
it's that, together with treating network activity as "activity" for the
purposes of deciding when to sleep.  Does anyone here know?

If it was gsd-power that was putting the machine to sleep, it wasn't
putting anything in the log saying that.



pgpiIbpwaxibC.pgp
Description: OpenPGP digital signature