I bet he not actually completely sleep inside there. Maybe he just in dream mode, able to sense & know everything happens only can't move like paralysed.
So perhaps he basically activated his Sage Mode this whole 10years & able to evolve Sage Mode even further that surpassing 1st Hokage or Hagemoro themselves.