design and construction of a power resumption alarm