Honestly I have no idea what's happening. I rebooted after posting the video and the shutdown script isn't working.
When I launch the monitor manually via the below:
Code: Select all
python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py
I'm not presented with anything at the prompt (is that correct?). If I power off whilst in this state there's a half second delay or so and then it just cuts power. If I stop the script via ctrl + c I get the attached message. Is that expected?

- gbz.jpg (99.11 KiB) Viewed 9764 times
This is the code used to add it to the startup process:
Code: Select all
echo "@reboot /usr/bin/nice -n 19 /usr/bin/python ~/GBZ-Power-Monitor_PB/gbz_power_monitor.py" >> mycron; crontab mycron;rm mycron
I just don't know at this point if it's the script that's not running or if it's not being added to the startup process correctly.