I have a small device operated by four NiMH batteries in series. The device also has a USB plug with boost-circuit to charge the batteries in the device, without need to remove them.
My goal is to replace the NiMH battery pack and operate the device using a permanent power supply because I do not operate the device mobile.
Is it safe to replace the NiMH battery pack by a 5.5V DC power supply with a (Schottky) diode in series (to prevent the charging circuit to feed back the charging voltage into the power supply) or do I have to consider something else?