A user interface shows the battery level in the top-right corner by default, unless the developer specifies a different placement or explicitly does not want it. Read it from bsp_battery_soc() (and bsp_battery_mv() where useful), render it as a small battery indicator or percentage in the reserved top-right area, and degrade gracefully when the reading is -1 (unavailable) instead of drawing a number. Documented in agent-guide (runtime invariants) and coding-conventions in both languages.
a8d415ad15
·
2026-08-27 18:19:54 +08:00
History
简体中文 · English
Development Guidelines
This directory contains AI Passport engineering rules and reusable workflows. Rules should identify their trigger, required action, prohibited action, validation, and exceptions. Hardware facts belong in docs/hardware-design/; automatable requirements must also be enforced by tooling or CI.
Documents
- agent-guide.md: AI-assisted development workflow.
- build-and-test.md: ESP-IDF build and validation.
- coding-conventions.md: source-code and resource conventions.
- CI-validation.md: pull-request and main-branch checks.
- CI-build-and-release.md: tagged firmware builds and releases.
- CI-sync-main.md: upstream synchronization for forks.
- publish-to-community.md: publishing firmware to the AI Passport community market.
- after-release.md: post-release follow-up for suggestions and experience.
- file-issues.md: filing a suggestion as an upstream GitHub issue.
- experience-notes.md: index of development experience entries under
docs/experiences/.