When JuiceBox Zero sees the battery voltage reach 3.2V the “LOW BATTERY” LED lights up and causes GPIO16 to go HIGH. In order to perform a safe shutdown, do the following: Type: sudo nano LowBatteryShutdown.py This will create a python file in your current folder for the safe shutdown code. Copy and paste the following code into LowBatteryShutdown.py and save …