Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[epic] Low Power State Story #8

Open
kammce opened this issue Jun 24, 2024 · 0 comments
Open

[epic] Low Power State Story #8

kammce opened this issue Jun 24, 2024 · 0 comments
Assignees
Labels
📖 documentation Improvements or additions to documentation

Comments

@kammce
Copy link
Member

kammce commented Jun 24, 2024

libhal does not have a low power story which means that libhal cannot provide a consistent pattern for putting devices into low power. This should be investigated to determine the categories of low power states and how those could be applied to libhal libraries. I could imagine that there are the following low power categories:

  • low_power(): Put the device into an idle mode that requires very little work to reactivate
  • deep_sleep(): Like low power but a bit deeper and may require some startup time before the APIs resolve themselves.
  • shutdown(): Completely turn off the device. The assumption is that the device loses all state in this mode and would need to be reinitialized to allow APIs to work.

Note

If you are interested in helping build this story, comment and I can add you as an assignee.

@kammce kammce added the 📖 documentation Improvements or additions to documentation label Jun 24, 2024
@kammce kammce self-assigned this Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant