Your battery may be perfectly fine.
Check, clean, and tighten connections on battery, starter, starter solenoid.
For whatever reason, your motor is drawing enough power away from the battery to allow available voltage to drop below that required to run the sonar.
If you find nothing wrong, run...