SenseCAP Indicator: Shutdown button reboots device

Open Beginner friendly
#283 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
c
Domain
backend

Research direction

Search the codebase for the Reboot/Shutdown settings handler, likely in a power management module. Find the Shutdown button callback and change it to trigger ESP32 deep sleep instead of a reboot. Build and flash the firmware to a SenseCAP Indicator D1L to verify the device powers down correctly.

Written by the indexing model from the issue text.

Description

Describe the bug
Shutdown button behaviour is the same as Reboot button - device reboots.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Reboot/Shutdown'
  3. Press 'Shutdown'
  4. See error

Expected behaviour
You would expect ESP32 to go to deep sleep after pressing the Shutdown button.

Device (please complete the following information):

  • Type: SenseCAP Indicator D1L
  • Exact version: 2.7.15
  • Firmware download source: web-flasher
Dominant language
C
Stars
499
Forks
125
Avg merge
1d 5h
Merged PRs (30d)
38

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

  • No Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshtastic/device-ui

All issues in meshtastic/device-ui

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.