I solved it, it was not a monitor side issue. The gsettings on Ubuntu were not working properly. It was not until I used the implementation in gnome-tweaks "suspend when lid is closed" They use a python script with glib library for future references.
Hi, Whenever I switch between my work laptop (Ubuntu) to my personal desktop (Windows), the laptop enters suspend mode. I initially assumed it is something wrong with Linux, but the options for suspension on lid closed are blank whenever connected to either ac or external monitor. Tried other solutions on Linux but at my wits end here. Does someone know a solution?
U2722DE, laptop suspending on USB-C/TB when using KVM