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

fix: device PMU shutdown (part 2) #3596

Merged
merged 3 commits into from
Apr 12, 2024
Merged

fix: device PMU shutdown (part 2) #3596

merged 3 commits into from
Apr 12, 2024

Conversation

mverch67
Copy link
Collaborator

@mverch67 mverch67 commented Apr 11, 2024

The shutdown for devices with PMU (tbeam, T-Watch) seems broken. E.g. a shutdown tbeam still consumes around 10mA and since #3162 the screen even stays on (showing "Shutdown...") when shutdown.

This PR fixes Power::shutdown() and redirects the PMU shutdown into the deep sleep branch to switch off all uneccesary peripherals before the pmu shutdown.

The tbeam v1.1 deep sleep power consumption (when using the Lilygo 1.3" display) dropped from 10mA to 1mA.

Copy link
Contributor

🤖 Pull request artifacts

empty string

file commit
firmware-2.3.5.30b2665.zip 30b2665

thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 11, 2024
@mverch67 mverch67 marked this pull request as ready for review April 11, 2024 21:15
@thebentern thebentern merged commit 927d07e into master Apr 12, 2024
71 checks passed
mverch67 added a commit that referenced this pull request Apr 13, 2024
thebentern added a commit that referenced this pull request Apr 14, 2024
* fix: device TFT powersave (part 3)

* trunk fmt

* trunk fmt

* undo bluetooth deinit from #3596

* revert code for heltec tracker

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
@mverch67 mverch67 deleted the fix-sleep-2 branch April 27, 2024 19:02
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.

2 participants