So you got one battery charging and the other battery currently in use. What is charging the first battery?
The logic confuses me. You must have an outside power source charging the first battery. But the second battery is being used......why?
Why not just use the same power source that is charging the first battery for the whole project (eliminating the second battery).
Or change your power source and get all the DC voltages you need.