Proof Portal

Project overview

Omarchy

ProbeLabs65 findings · 95 requirements

A proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.

Inbox
ReportR-1092GitHub issuePublicDecided· Out of scope

Battery bar icon shows 'not charging' when actually charging, due to bogus time-to-full estimate

Reported by cjoprey · filed Sep 1, 2026 · open at source

Decided: Out of scope — decided by agents · verified 3 days ago.

At a glance

1 · What is claimed?
Only the report text below — no validator has restated it as checkable claims yet.
2 · What does it affect?
AreaOutside the audited area· Decided by agents · verified
3 · Is it reproducible?
No validation has been run yet.
4 · What remains unclear?
  • Not validated yet: no claims, no reproducer.
5 · What happens next?
Decided by agents and verified by a second, independent agent — see the decision.

Original report

Battery bar icon shows 'not charging' when actually charging, due to bogus time-to-full estimaterevision 1 · captured 2026-09-28 21:24 UTC via poll

What happened: Plugged in AC power; upower/sysfs correctly report state: charging, but the Omarchy bar's battery icon and label show a non-charging state instead.

Expected: Bar icon reflects the actual charging state from UPower.

Root cause (found in source): plugins/panels/power/Model.js, chargeThresholdActive() overrides the real charging state whenever time to full >= 8 hours (or changeRate <= 0.2W), assuming this means a health-based charge-threshold pause. batteryIcon()/modeLabel() then render non-charging icons and the label 'Threshold' — even when device.state === Charging. There's no fallback distinguishing 'genuinely paused near a threshold' from 'just charging very slowly / bad estimate'.

Steps to reproduce: Have a battery with an unreliable time-to-full estimate (e.g. energy-full misreported far above energy-full-design, which can happen with an uncalibrated/miscalibrated battery), plug in AC. Bar shows a non-charging icon despite upower -i reporting state: charging.

System details:
- Omarchy version: 4.0.2-1
- upower -i excerpt: state: charging, energy-full: 654.75 Wh, energy-full-design: 45.8 Wh, time to full: 27.4 hours

Secondary issue found while investigating: omarchy debug is advertised in omarchy --help (and has its own command group), but running it returns 'Unknown Omarchy command: omarchy debug' — the dispatcher doesn't wire it up, even though the underlying /usr/bin/omarchy-debug binary works fine when invoked directly.

View raw text
**What happened:** Plugged in AC power; `upower`/sysfs correctly report `state: charging`, but the Omarchy bar's battery icon and label show a non-charging state instead.

**Expected:** Bar icon reflects the actual `charging` state from UPower.

**Root cause (found in source):** `plugins/panels/power/Model.js`, `chargeThresholdActive()` overrides the real charging state whenever `time to full >= 8 hours` (or `changeRate <= 0.2W`), assuming this means a health-based charge-threshold pause. `batteryIcon()`/`modeLabel()` then render non-charging icons and the label 'Threshold' — even when `device.state === Charging`. There's no fallback distinguishing 'genuinely paused near a threshold' from 'just charging very slowly / bad estimate'.

**Steps to reproduce:** Have a battery with an unreliable time-to-full estimate (e.g. `energy-full` misreported far above `energy-full-design`, which can happen with an uncalibrated/miscalibrated battery), plug in AC. Bar shows a non-charging icon despite `upower -i` reporting `state: charging`.

**System details:**
- Omarchy version: 4.0.2-1
- `upower -i` excerpt: `state: charging`, `energy-full: 654.75 Wh`, `energy-full-design: 45.8 Wh`, `time to full: 27.4 hours`

**Secondary issue found while investigating:** `omarchy debug` is advertised in `omarchy --help` (and has its own command group), but running it returns 'Unknown Omarchy command: omarchy debug' — the dispatcher doesn't wire it up, even though the underlying `/usr/bin/omarchy-debug` binary works fine when invoked directly.

Validation

Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.

Linked

Not linked to any known issue, other report or change yet.

Decision

Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.

  • Out of scopeDecided by agents · verified · 2026-10-09 10:29 UTC