Meditation and being aware in your sleep while dreaming
This is Lucid Dreaming and (AFAIK) it isn't typical practice in most schools of Buddhism, nor should it be used as a gauge for how your meditation practice is going.

With that said, there are some connections.


Dream Yoga.  A set of practices in Tibetan Buddhism for using dreaming (including Lucid Dreaming) to further the path.
Using your improved concentration (thanks to meditation) to enter the hypnagonic state intentionally and from there initiate a Lucid Dream.