I didn't test it back then, it was only much later I made the connection when I started getting the same headaches from university, where I got proper sleep, enjoyed the coursework etc.
A co2 monitor confirmed my suspicion. The problem with co2 monitors, is that it's really impractical to pull one out to check. I'm actually in the process of building one myself that instead sends descrete notifications to my phone if the co2 ppm gets too high.