This message was posted on behalf of Intel Corporation
Thank you for interest in the Intel® Edison Breakout Board.
Have you checked this thread https://communities.intel.com/thread/94196? In it, community members Vicenze and shopen provide a couple of suggestions on how to detect a power-off and safely shutting down the Edison board.
Please let me know if you find that information useful.
I’ll be waiting for your response.
There is some good stuff on that thread with a couple of ideas that I can work on.