I installed my new drivers from amd and the laptop closes in 2-3 minutes and before that the laptop closed in 20 seconds.
https://community.amd.com/thread/196209