     if (!fona.getBattVoltage(&vbat))
     {
         Serial.println(F("Failed to read Batt"));
-        HALT();
+        delay(1000);
+        return;
     }
     else
     {

uint16_t vbat;
uint8_t rssi;
uint8_t motion;
//float gsmlat;
//float gsmlon;
float temp;
char gpsbuffer[70];
char *longp=0;


    while (read_network_status() == 2)	//searching
    {
        Serial.println(F("network_status: searching"));
        delay(1000);
        tone(PIN_SPEAKER, 500, 10);
    }

    // read the network/cellular status
    uint8_t n = fona.getNetworkStatus();
