Logging for beautiful sleep by Android