Heating Issue with ryzen + nvidia

I am using Zeyphyrus G14 with Ryzen 5 and GTX1650Ti

while the laptop is on charge even when idle or minimal usage such as web browsing the cpu and gpu are being heated up quite high and thus the fans always run on high speeds. Can anyone guide me so i can either get something like power modes in windows or just idk any other way here ?

have you had a look at the wiki?