Instructions to wake ubuntu from suspend using only bluetooth and/or USB. TODO: confirm these steps work on a fresh installation.
#!/bin/bash
echo enabled > /sys/bus/usb/devices/usb3/power/wakeup
but pay attention to the usb3, check at lsusb I guess (https://jolahde.kapsi.fi/2018/02/05/enabling-usb-keyboard-and-mouse-to-wake-up-ubuntu-from-suspension/)
Change the /etc/default/grub
file and add the following line
GRUB_CMDLINE_LINUX="usbcore.autosuspend=-1"
then sudo update-grub