Adaptive sleep within ratbreeder