-
CommentStreams:44baf6ea431a371d102d8693148c03c2
Jump to navigation
Jump to search
I am using the x1201 - I set the bat.py file to run as a service automatically on bootup. I also appended the if statement: if readVoltage(bus) < 3.20:
[bootdown]
to: if readVoltage(bus) < 3.20 or readCapacity(bus) < 50:
[bootdown]
This works great, but the Pi is not booting back up when I restore power. Also I took the liberty of making bat.py a system service. I need the Pi to be booted back up automatically when power is restored - any ideas?