Hi All, I am new to this forum and not all that skilled in the electrical department. I need help with choosing the correct diode or method to prevent the back flow of current. I have built a flashlight with an internal charging circuit that is of course pre-wired permanently. so once you see the light dimming all you need to do is plug in the charger cord and wait till the light turns green. My question here is, when the charger is not in use do i need to have something that will prevent the power from the battery going to the charging circuit? Also i noticed that the circuit tends to get really warm when i am charging, would a diode solve this heal issue as well? Thanks in advance.