If an iPhone’s battery is empty, then it is impossible for anyone—including law enforcement—to physically track the device. However, if you have the Find My app active, then your phone will ping Apple’s servers shortly before it powers down, meaning that anyone with access to the device’s Apple ID account can view the device’s last known location.