Show a battery runtime or percentage figure on the Status screen

オープン
#650 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
raspberry-pi

調査の方向性

Start by locating the Status screen and the title-bar battery glyph that already provides the runtime estimate. Check how the fuel gauge and charging state are exposed so the new figure can use the same source, and review the different power boards for v3 and rev4. Done means the Status screen shows a clearly labeled percentage or hours remaining, with defined behavior while connected to external power.

索引モデルが issue の本文から書いたものです。

説明

enhancement

The title-bar battery glyph is the only battery display. It estimates remaining runtime rather than charge, empties in coarse steps, and reads as a bolt while charging. A customer asked for a percentage in the menus (2026-09-22); the honest answer today is that there is none.

Add a more specific runtime estimate to the Status screen: a percentage, or hours remaining, from the same source the glyph uses. Keep the glyph as it is; this is a row on Status for someone who wants the number.

Things to settle in the design:

  • Whether the figure is charge (from the fuel gauge) or estimated runtime (what the glyph shows). The glyph deliberately errs cautious; a number should say which it is.
  • What to show while on external power, where the glyph shows "charging" and a runtime figure is meaningless.
  • Hardware coverage: v3 and rev4 have different power boards.

From a customer reply: "I'll think about adding a more specific % runtime estimate to the status page."

主要言語
Jupyter Notebook
スター
253
フォーク
63
平均マージ
11時間 55分
マージ済み PR(30日)
8

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

brickbots/PiFinder のほかの issue

brickbots/PiFinder の issue をすべて見る

似ている issue

Embedded & IoT の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。