Go to previous topic
Go to next topic
Last Post 23 Nov 2015 04:46 PM by  Alex Johnson
Detecting Power Loss
 1 Replies
Author Messages
Alex Johnson
New Member
New Member
Posts:5


--
23 Nov 2015 01:57 PM
    Hey, I am currently working on implementing a kernel module that will be able to react to a sudden power-loss on the system, and quickly perform necessary "housekeeping" functions in order to cleanly shut down the OS before the few seconds of backup power is depleted. Is there a simple way to detect a loss of power to the Torpedo that I can utilize? I'm going through the documentation, but so far I've been coming up empty. Thanks!
    Alex Johnson
    New Member
    New Member
    Posts:5


    --
    23 Nov 2015 04:46 PM
    Update:

    I have resolved this issue by polling on GPIO 156, which can be used for power fail detection.


    ---