OpenDevicePartnership / OpenDevicePartnership/embedded-services

power-policy: Move chargers over to deferred IPC channel

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

@tullom is already working on this.

Since May 16, 2025.

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

Description

The charger Device currently uses an IPC channel implemented as two embassy channels. This implementation is susceptible to concurrency bugs, migrate to use the deferred IPC channel introduced in https://github.com/OpenDevicePartnership/embedded-services/commit/e3e454d87ab96178ef3de8d75e33fb01a2d66390. Also check that executing charger commands from the power policy has a timeout.

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.