OpenDevicePartnership / OpenDevicePartnership/embedded-services
power-policy: Move chargers over to deferred IPC channel
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.