-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
force deep-sleep state if battery falls below 15% full #133
Comments
axp192 already has this built in for t-beam, rather than deep sleep it cuts off power to esp32, lora, gps, and probably display? There is a configurable cut off voltage. I think I mentioned before that it is somewhat on the low side for protecting the battery. I'll have a look into it, It'll be a matter of setting it at initialisation then it should take care of it automatically and turn back on when you charge. |
ooh that sounds even better - I had forgotten that. If you could do that then at would be great. yes - to do this we would just need to trigger a (new to define (LOWBATTERY in the list of triggers and then have that irq handler send that trigger event. Then PowerFSM.cpp could have a new transition added that goes into deep sleep any time that event occurs. |
Telemetry rework 3
To prevent battery damage, if we ever see battery voltage getting below 3.7Vish (see https://blog.ampow.com/lipo-voltage-chart/) we should have PowerFSM.cpp transition the device to deep-sleep state.
The text was updated successfully, but these errors were encountered: