Are you sure the charger is actually charging the battery? Could be the converter is not charging the battery but is supplying 12vdc when on shore power and this is why the detector is acting the way it is. What size battery bank do you have? How long after disconnecting from shore power does the detector go off? What else may you be running off of your battery system? RV fridge, lights, inverter, etc?