Skip to content

Recording: keep the display awake while a recording runs #935

Description

@EtienneLescot

Part of #920 (rank 28). Effort S, risk none.

Problem

  • Nothing keeps the display or the system awake while a recording runs (no powerSaveBlocker anywhere in electron/ or src/).
  • A long passive take (a webinar, a demo left running) can reach the display sleep timeout: the capture goes black, or the machine sleeps mid-take. Hypothesis, not observed yet.

Proposal

  • powerSaveBlocker.start("prevent-display-sleep") when a recording starts, stop when it stops, pauses included, on every platform and backend.

Verify

  • A unit test with Electron mocked: started once on record, stopped on stop and on every error path, never leaked.
  • On a real machine: a 20 min passive take with a 5 min display timeout.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststatus: fixed in mainWork is merged into main but may not be in a downloadable release yet.status: pending releaseMerged change is waiting for a packaged desktop release.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions