Events during sleep

This suggestion has been merged into another suggestion:

Reworking of the sleeping process