commands and scripts used:
1) to see all the devices that control wakeup
cat /proc/acpi/wakeup | grep enabled
2) script to disable devices
https://askubuntu.com/questions/1395148/pc-wakes-up-immediately-after-suspend
Visit this article to get the script.
Credits: https://askubuntu.com/questions/1395148/pc-wakes-up-immediately-after-suspend