Battery power switching circuit explanation