Understandably waking up is annoying in this case but if you had an external monitor and keyboard plugged in then waking up on mouse movement would be the right thing to do.
To block USB from waking the system up I would try: sudo sh -c "echo XHCI > /proc/acpi/wakeup" ** Package changed: xorg (Ubuntu) => gnome-settings-daemon (Ubuntu) ** Changed in: gnome-settings-daemon (Ubuntu) Status: New => Opinion -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1998964 Title: Laptop wakes up from sleep when lid is closed if mouse is moved To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1998964/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs