Emergency Shutdown Code

July 26, 2024, 04:31

pipsqueeeek

so I'm starting this project where I will use my raspberry pi 4b outside and leave it for 2 weeks minimum running on a solar panel. what bothers me the most is that if the battery suddenly runs out of power and improperly shutdown my raspberry pi it has a high chance of corrupting my raspberry pi. does anyone have suggestions on how I might make this work?

oops.se

In the faq section there is an topic about "Power off buttons" that should get you started with adding a circuit that trigger the "Power off" if the power iss running out.

pipsqueeeek

thank you so much bruvv, u'r a life saver!

pipsqueeeek

<@796000224690307072> is it ok if I reach put to ypu on DM?

oops.se

No, I believe in "Sharing is caring" and DM is the oposite1

pipsqueeeek

u r totally right, thanks