-

CommentStreams:01d47aa0c9bf844b71ee3ec16af41d6d

From Geekworm Wiki
< X728-Software
Revision as of 14:08, 2 May 2022 by 104.251.66.141 (talk) (Migrated comment #2519)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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