Photon losts its credentials!

This is related to this:

Maybe if we could make a small circuit that can cut-off power when the voltage is low and opens the valve again when the voltage reaches a threshold.. It would fix this issue.

The problem is that with he current battery management solutions out there (Both sparkfun and particle's) theres nothing keeping an underpower battery from supplying power to the Photon.

This will be very important specially for remote deployments.