That is a very good question, it did not cross my mind that i will need a separate circuit to detect a power failure