Skip to content
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

When on low Voltage also Shutdown IMU before going to deepSleep #373

Open
unlogisch04 opened this issue Jan 3, 2025 · 0 comments
Open
Labels
Area: IMU Support Supporting new IMUs or improving existing support Priority: Low Less important right now Type: Enhancement Adds or improves a feature

Comments

@unlogisch04
Copy link
Contributor

Don't think this feature is used often but i found that we should power down all components before going to deep sleep.

#if defined(BATTERY_LOW_VOLTAGE_DEEP_SLEEP) && BATTERY_LOW_VOLTAGE_DEEP_SLEEP
ESP.deepSleep(0);
#else
statusManager.setStatus(SlimeVR::Status::LOW_BATTERY, true);
#endif

@unlogisch04 unlogisch04 added Type: Enhancement Adds or improves a feature Area: IMU Support Supporting new IMUs or improving existing support Priority: Low Less important right now labels Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: IMU Support Supporting new IMUs or improving existing support Priority: Low Less important right now Type: Enhancement Adds or improves a feature
Projects
None yet
Development

No branches or pull requests

1 participant