Skip to content

fix: device PMU shutdown (part 2) - #3596

Merged
thebentern merged 3 commits into
masterfrom
fix-sleep-2
Apr 12, 2024
Merged

fix: device PMU shutdown (part 2)#3596
thebentern merged 3 commits into
masterfrom
fix-sleep-2

Conversation

@mverch67

@mverch67 mverch67 commented Apr 11, 2024

Copy link
Copy Markdown
Collaborator

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.

@github-actions

Copy link
Copy Markdown
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
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
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
* fix: device PMU shutdown (part 2)

* fix error + enable nimble deinit
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
* fix: device TFT powersave (part 3)

* trunk fmt

* trunk fmt

* undo bluetooth deinit from meshtastic#3596

* revert code for heltec tracker

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
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