-

CommentStreams:44baf6ea431a371d102d8693148c03c2

From Geekworm Wiki
< X1201
Revision as of 12:59, 17 February 2025 by 209.184.121.79 (talk) (Migrated comment #5563)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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?