Skip to content

Only shutdown if there is no external power.#10

Merged
suptronics merged 3 commits into
suptronics:mainfrom
ArjenR:main
Jan 16, 2025
Merged

Only shutdown if there is no external power.#10
suptronics merged 3 commits into
suptronics:mainfrom
ArjenR:main

Conversation

@ArjenR
Copy link
Copy Markdown
Contributor

@ArjenR ArjenR commented Jan 15, 2025

I rearranged the if statements so that the threshold is only reached when there actually is no AC power for 3 minutes and either or both the critical capacity levels are met within 3 minutes or less.

Otherwise (and this happened to me) the system will shutdown while there is AC power but it is charging from below 20% and or below 3.20 v for 3 minutes or less.

@suptronics suptronics merged commit 37db92a into suptronics:main Jan 16, 2025
@suptronics
Copy link
Copy Markdown
Owner

Merged. Thank you! @ArjenR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants