Repository navigation
Battery notification says Fully charged and leaves out readings it doesn't have - #16272
Conversation
…esn't have Co-Authored-By: Claude Opus 5.5 <[email protected]>
[Low impact] The PR appears safe to merge; the signed discharge display issue is fixed. SummaryBattery notifications now say “Fully charged” and leave out unavailable time and capacity readings.
The previous finding is fixed. No new actionable issues were found in the changes since the last review. Tests were inspected but not run. Reviews (2) · Last reviewed commit: "Treat a negative power reading as a live..." · Reviewed by Greptile |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Reviewed at 6efbfa8, after this had merged. On a worker built from the Omarchy ISO, Second opinion from Codex Medium and muse-spark-1.3-contributor (thinking high) found one defect: the AC-at-100% fallback ( #16278 waits on the maintainer. |
quattro's omacom#16272 added full-battery and sparse-reading tests at the same spot in battery-status-test.sh; both blocks are kept, quattro's first, since the sysfs-failure block builds its own fixtures in fail_dir. Co-Authored-By: Claude Opus 5.5 <[email protected]>
omacom#16272 added full and sparse status-line cases at the same spot in battery-status-test.sh. The unreadable-attribute case runs first and then removes the directories it put in place of power_now and current_now, since the cases after it write power_now as a file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A full battery showed
Battery 100% · left · ↓0W / 53Wh: the time-left branch ran with no time to count, and the 0W idle draw was printed anyway.fully-charged, or on AC at 100%) now readsBattery 100% · Fully charged · 53Whbattery.fullyChargedadded to everycli.json, reusing each language's existingpower.fullyChargedwording from the panel--shelloutput for the power panel is unchangedTests:
battery-status-test.shcovers the full battery and a battery missing its time and capacity readings.🤖 Generated with Claude Code