Not going to Sleep after set time

Hi

After the last few osx updates I have noticed that my machine does not go to sleep if left along for the set time of 10 minutes. I am currently on 13.6.1 (22G313).

When I run

sudo systemsetup -getcomputersleep

I get

Computer Sleep: after 10 minutes

Screen goes blank after a set time but machine never goes to sleep, putting it to sleep manually works fine.

Any suggestion on what I need to check.

Thank you