What is the simplest way to detect a power outage?

And then you can also just monitor the status of an always-on LAN device with no additional hardware required whatsoever. However, this method does rely on your home network...