Skip to content

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

Open
@unlogisch04

Description

@unlogisch04

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: IMU SupportSupporting new IMUs or improving existing supportPriority: LowLess important right nowType: EnhancementAdds or improves a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions