How to use batteries to power dual power supplies