Implement the power saving sleep: when there is nothing to do
we just sleep (deep power down). It seems to work, but it needs more
testing.