bedroom Temperature, Light, and CO2: The Three Bedroom Variables Most Men Ignore Your mattress matters less than you think. The three environmental variables that actually dictate sleep quality — temperature, light, and CO2 — are cheap to optimize and most men never touch them.