Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Show a battery runtime or percentage figure on the Status screen

Đang mở
#650 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
raspberry-pi
Lĩnh vực
embedded-iot, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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."

Ngôn ngữ chính
Jupyter Notebook
Star
253
Fork
63
Merge trung bình
11 giờ 55 phút
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của brickbots/PiFinder

Tất cả issue của brickbots/PiFinder

Issue tương tự

Thêm issue về Embedded & IoT

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.