Battery power input protection