Skip to content

Long time to wake up from battery #206

@jonasdiemer

Description

@jonasdiemer

Affected Version

0.11.2

Describe the Bug

It currently takes ca 1s to wake up from deep sleep when battery powered: millis() at the beginning of setup() returns ca 950ms. When USB-powered, this time reduces to ~65ms (could be due to settling of battery power regulators or something in this direction).

This has issues:

  1. We need to adjust the calibration of the check in verifyWakeupLongPress() to not wait even longer. I'll look into this.
  2. We can't go below this 1s until the device comes up. Not sure this behavior can be changed.

Steps to Reproduce

  1. Set up short power button press
  2. Unplug USB
  3. Boot the device.

Expected Behavior

Device boots quickly after pressing the power button

Relevant Log Output/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageBug to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions