alert on power loss - refined functions