Framework 12 not turning off screen

Hello! I recently got my framework 12, currently I’m running arch on it. For some reason the laptop does not suspend when the lid is shut, and the screen stays on sometimes. I figured out if I open and close the laptop within like a minute or so, it does not suspend, but if I am using it a bit, it suspends correctly and the screen turns off. Thanks!