Sonar stopped working after upgrading to Android 11

If you get completely flat graphs with automatic tracking with sonar sensor after upgrading to Android 11, make sure the app has permission Draw over other apps, Display over other apps or Appear on top (Samsung).
This permission is necessary for accessing the microphone from the background.

  1. System settings → Apps → Sleep → Appear on top / Display over other apps

  2. System settings → Apps → More options (⁝) > Special access > Appear
    on top
    / Display over other apps


Tags: tracking, sonar