how does a battery backup sump pump work