Skip to content

Optimize and document slave MCU power consumption (EHM-67) #64

Open
@johnboiles

Description

@johnboiles

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate.
  • Described the feature in detail and justified the reason for the request.
  • Provided specific use cases and examples.

Feature description

I'm trying to optimize power consumption for a battery powered device that uses BLE (and occasional WiFi) using a ESP32-P4 + ESP32-C6 as the esp-hosted slave.

I've been experimenting with menuconfig settings. I enabled a few settings that seemed to save 10-20mW while BLE is connected.

CONFIG_BT_LE_SLEEP_ENABLE=y
CONFIG_ESP_SLEEP_POWER_DOWN_FLASH=y
CONFIG_ESP_PHY_MAC_BB_PD=y
CONFIG_PM_ENABLE=y
CONFIG_PM_DFS_INIT_AUTO=y

I'm opening this issue to discuss if these should be the default or if there's any drawback to these. I'm also curious if there are other settings I should experiment with to decrease power consumption. I don't have a great way to measure the C6 power consumption (separately from the P4) but I can probably rig that up if necessary.

It would also be really helpful to have approximate benchmarks of power consumption in various states in the docs.

Use cases

Longer battery life and better documentation!

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions