Skip to content

Investigate supporting power management in arduino-esp32 (DFS + tickless idle) #6563

Open
@igrr

Description

@igrr

Related area

Power management

Hardware specification

All ESP32 series chips

Is your feature request related to a problem?

Recently a community member has mentioned that the current consumption of ESP32 connected to Wi-Fi is too high. While it is possible to reduce current consumption with ESP-IDF, this option is not accessible to Arduino users.

Describe the solution you'd like

To reduce current consumption in Wi-Fi connected state, several things are required:

  • Power management should be enabled (CONFIG_PM_ENABLE).
    • Investigate what are the downsides enabling it if it is not turned on at run time.
  • FreeRTOS tickless idle should be enabled (CONFIG_FREERTOS_USE_TICKLESS_IDLE).
    • Investigate what are the downsides enabling it if the DFS and automatic light sleep are not enabled at runtime.
  • Enabling DFS and automatic light sleep at run time via some API.
  • An easy-to-understand example showing how to achieve lower current consumption when Wi-Fi is connected.
  • Documentation explaining the caveats (mostly related to peripherals and timers) of enabling the above mentioned features.

Describe alternatives you've considered

Keep not supporting DFS and tickless idle in Arduino. But then everyone keeps thinking that it's not possible to have Wi-Fi connection with lower average current.

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.

Metadata

Metadata

Assignees

Labels

Area: BT&WifiBT & Wifi related issuesType: DocumentationIssue pertains to Documentation of Arduino ESP32Type: ExampleIssue is related to specific example.Type: Feature requestFeature request for Arduino ESP32

Type

No type

Projects

Status

Under investigation

Relationships

None yet

Development

No branches or pull requests

Issue actions