[systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping
Andrei Borzenkov
arvidjaar at gmail.com
Fri Aug 13 15:43:40 UTC 2021
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.
>
More information about the systemd-devel
mailing list