fix problem when the endRec happends at the same time that battery depleted (the endRec will force a call to the battery