Skip to content

picow: Turn off wifi co-processor regulator when entering deep sleep #7050

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

Merged
merged 1 commit into from
Oct 14, 2022

Conversation

jepler
Copy link

@jepler jepler commented Oct 14, 2022

This reduces power consumption during true deep sleep.

In my measurements with ppk2 and a program that irrevocably entered deep sleep (no time alarm or pin alarm), power usage as measured on a ppk2 decreased from ~10mA to ~1mA.

Closes: #7047 (or at least improves on the status quo)

ppk graph, before (right hand side represents deep sleep):
image
zoomed in on the right:
image

after, zoomed in on deep sleep:
image

Using pin alarms or time alarms still incurs a power cost. Light sleep and fake deep sleep are not improved/changed by this PR.

This reduces power consumption during true deep sleep.

In my measurements with ppk2 and a program that _irrevocably_ entered
deep sleep (no time alarm or pin alarm), power usage as measured on a
ppk2 decreased from ~10mA to ~1mA.
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

@dhalbert dhalbert merged commit 062d63e into adafruit:main Oct 14, 2022
@dhalbert
Copy link
Collaborator

Failed build was a CI problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

picow: increased power-consumption during light-sleep and deep-sleep
2 participants