Skip to content

pi-caffeinate: quiet mode still shows status bar output #214

Description

@atimofeev

Summary

quiet: true suppresses notifications, but pi-caffeinate still shows status bar output when active.

Previous context: #194 added quiet mode, but current behavior is still not fully quiet.

Current behavior

With config:

{
  "mode": "display",
  "quiet": true
}

pi-caffeinate still updates Pi status bar once active.

Expected behavior

quiet: true should mean full user-visible silence:

  • no notifications
  • no status bar item/icon/text
  • no normal lifecycle UI output

The extension should still keep the machine awake, but not render anything in UI.

Suggested fix

Gate status updates behind !quiet, or clear status when quiet mode is enabled.

Intent:

if (state.quiet || state.disabled) {
  ctx.ui.setStatus("caffeinate", undefined)
  return
}

Rationale

Status bar output is still output. Users enabling quiet likely want pi-caffeinate behavior without any UI noise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions