Battery master switch in Power supply