<Top posting intentionally> There was a recent thread where the symptom, in one sense, was somewhat similar--on a two CPU system, one CPU was using 100% of one CPU with the lid closed. IIUC, the problem was due to lightdm-gt (or some sub-program).
Here are the headers from the last message in that thread: Re: Debian 9.2 amd64 Xfce lock screen -> 100 %CPU by lightdm-gt+ From: David Christensen <dpchr...@holgerdanske.com> (resent from debian- u...@lists.debian.org) To: debian-user@lists.debian.org Date: Thu Oct 12 12:41:46 2017 Maybe it is worth looking at that thread. On Saturday, October 14, 2017 08:41:18 PM Glen B wrote: > (If this message already arrived I apologize, I'm struggling with this > mailing list thing a little bit.) > > Hi everyone, > > It's been a while since I've run my system, but since starting it up > yesterday and downloading updates, I've noticed a new problem. This > machine typically runs as a server, even though it's a laptop. That > means I usually leave the lid closed so the screen turns off, but the > system remains active and does not suspend. When the lid is closed, > systemd-logind will being consuming nearly 50% CPU on my single core > system. A few other processes jump up the list too, including > dbus-daemon, systemd, and systemd-journal. Please see attached for a > sample top output while this is happening. Please also see attached for > a log of package changes made to my system when I turned it on > yesterday, in case it may be related to something else. > > > uname -a > > Linux gateway-server 4.9.0-4-686-pae #1 SMP Debian 4.9.51-1 > > (2017-09-28) i686 GNU/Linux > > Hardware is a Gateway 400SD4. > > If any other information is required please let me know. > > Glen