means that
If you have a clear conscience, you are calm and peaceful and nothing can distract your sleep.
Although rumors about the missing funds were spreading, she slept soundly because her accounts were completely honest. A quiet conscience sleeps in thunder.