The computer goes to sleep just fine, I can see this from the syslogs recording sleep. It's a ThinkPad T570, so I can also see the red light on the lid glowing indicating sleep mode. However, when I open the lid within 1 second the power button goes dark. The power button never gets out of its glowing pattern indicating sleep mode nor does the keyboard backlight come on or the screen light up.
-I have tried installing a fresh copy of 18.04.1 on /dev/sda3
to dual-boot with 18.04.2 on /dev/sda2
.
-I have tried boot repair with a purge of grub that actually did work for me to be able to boot into 18.04.2 and then put it to sleep once and wake successfully (or at least I think it did). After this I removed 18.04.1 and did the same boot repair process and all was lost; waking from sleep no longer worked.
-I tried once again to install 18.04.1 on /dev/sda3
and run boot repair as before but to no avail.
-I have tried launching 18.04.2 with different kernel versions from the grub menu.
I'm not quite sure what could be causing this at this point. /var/log/syslog
shows no logs at all for the waking up process when it fails. All I see are suspending logs and then logs for when I boot up the computer from scratch after the abrupt shutdown.
This was not always the case. I successfully ran 18.04 on its own for months without this issue, and it only presented itself at least 2 weeks ago.
EDIT: My /var/log/pm-suspend.log
file: http://paste.ubuntu.com/p/mdb5ZCq6Zb/
EDIT2: Upgrading to kernel 4.20 seemed to fix the problem at which point I deleted the /dev/sda3
partition with 18.04.1 and ran boot repair. Now the problem persists. 5.0.7, 4.20, 4.15, 4.12 work as kernel versions just not with resuming Ubuntu.
dmesg
output after a failed 5.0.7 resume: http://paste.ubuntu.com/p/RXQNZzZg8P/
EDIT3: There appears to be no pattern to when it successfully resumes or not. At this point I have gone as far as reinstalling 18.04.2 from scratch without proprietary drivers to no avail. Out of 50 attempts, the computer has resumed successfully maybe 4 times in total across multiple installs and configurations of my machine.
/dev/sda3
and reinstalled grub to update the list of operating systems. Now I have the same issue again but with the updated kernel.