Diesel subs at 30 meters become nearly invisible. They're hell to find. And if they stop, they're really, truly silent. The best way to find one is don't lose it in the first place. Track it from base it's entire trip.
Watched countries argue a bit over diesel vs nuclear submarines and this is where I've been imprinted with the idea that nuclear subs are the only actual true stealth subs you can build. I may be wrong here, but the evidence seems overwhelming based on usage. Diesel subs are for homeland defense purposes and don't worry about the enemy knowing their whereabouts, nuclear subs go silent for months and everyone is completely clueless as to where they actually are.
https://www.popularmechanics.com/military/navy-ships/a281849...
AIP technology means non-nuclear subs still have lots of uses. They can get closer in shore to gather signals intelligence or drop off/pick up SF.