How to turn off sonar and graph stuff so sleep can still be counted

I just need to count my sleep time. And the sonar graph stuff only drain my battery and the info didn’t really help that much