That old Android in your drawer can do one genuinely useful thing: notice the instant your power goes out — and tell you.