OpenDevicePartnership / OpenDevicePartnership/embedded-services

battery-service: Improve mocks

Open
#801 0 comments 0 reactions 1 assignee View on GitHub

@kurtjd is already working on this.

Since Apr 17, 2026.

enhancement
Dominant language
Rust
Stars
23
Forks
53
Avg merge
2d 20h
Merged PRs (30d)
13

Description

The battery mocks contain static arbitrary values that don't really capture how a battery might operate. Want to improve these so they change dynamically and show how a battery might actually look, specifically for the WinHEC demo video.

FYI @tullom if you have any specific ideas, otherwise I'm likely just going to implement a mock that simulates the battery slowly draining then slowly recharging in a loop.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.