RobinEmley's voltage failure detector example