-
CommentStreams:01d47aa0c9bf844b71ee3ec16af41d6d
Jump to navigation
Jump to search
I have a PI 4B with an x728 V2.1. With my application I really want the x728 to shutdown a short period of time after A/C power loss. I figure I can accomplish this by setting the shutdown voltage higher.
When when I run python3 /home/pi/x728/x728v2-asd.py & I only get the battery voltage and percent charge repeating constantly. I see no way to change the shutdown voltage running this command.
I edited the shutdown voltage in x728v2-asd.py and run it and the x728 shutdown at my desired voltage. However after reboot the x728 didn't shutdown until it got down to 3 volts.
My question is how do I change to shutdown voltage in the script that get run by crontab, so it is permanent?
TIA, Larry