Sensor to tell me when something looses power

Thanks for the suggestions. I guess it looks like there is not really an easy buyable solution to this problem.