Unfortunately, if the battery in your AirPods case is dead, the app might not be able to detect it. In this case, you'll need to rely on retracing your steps and checking places where you might have left it.