People trying to get warm.
People are sleeping.
The people cannot simultaneously be sleeping and trying to get warm
People are either actively trying to get warm, or sleeping.
People do not consciously try to get warm while sleeping.