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

Reduce Power Consumption #3

Closed
mwood77 opened this issue Feb 12, 2023 · 3 comments
Closed

Reduce Power Consumption #3

mwood77 opened this issue Feb 12, 2023 · 3 comments
Assignees

Comments

@mwood77
Copy link
Owner

mwood77 commented Feb 12, 2023

  • Under clock processor to 80 MHz
  • Enable Light Sleep (double check applicable)
@mwood77
Copy link
Owner Author

mwood77 commented Feb 12, 2023

setCpuFrequencyMhz(80)

@mwood77 mwood77 self-assigned this Feb 12, 2023
@mwood77
Copy link
Owner Author

mwood77 commented Feb 12, 2023

f3d84c5

...
  // Reduce power consumption
  // We set the CPU & modem power levels here, as we 
  // must wait for wifi to initialize via WiFi Manager
  setCpuFrequencyMhz(80);
  esp_wifi_set_ps(WIFI_PS_MAX_MODEM);
...

Low effort, but should make an impact

mwood77 added a commit that referenced this issue Feb 12, 2023
@mwood77 mwood77 closed this as completed Feb 12, 2023
@mwood77
Copy link
Owner Author

mwood77 commented Feb 12, 2023

5e6e527 - rolled back.

esp_wifi_set_ps(WIFI_PS_MAX_MODEM); causes poor user experience because of delay during boot + waiting for beacon (30+ seconds unavailable).

Also see:
Screen Shot 2023-02-12 at 23 11 54

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

No branches or pull requests

1 participant