@vitorxlima Easy! Put a diode in series with the non-rechargeable battery to allow the battery to dis-charge and run the board but not allow the USB to pass current to it.