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

Implement s2idle low power state #35

Open
alice-sowerby opened this issue Nov 21, 2024 · 1 comment
Open

Implement s2idle low power state #35

alice-sowerby opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@alice-sowerby
Copy link
Member

alice-sowerby commented Nov 21, 2024

User Story

As a laptop user I want to be able to save battery while not actively working so that the laptop can be used longer between charging.

Implementation Notes

Forward-porting and patching the s2idle work that was done . Put into review/test with Kostik, John B... Aim to have this existing patch into the tree by end Dec.

We have a few goals with s2idle/s0ix:

s2idle -- not particularly useful by itself, but a dependency of further work
as a replacement for no-longer-available S3 -- "traditional" suspend, where the user explicitly stops working (closes the lid, types zzz etc.) and the laptop resumes later on
to support better power management while in use (e.g. while a user is just reading a web page much of the computer is idle, and unused components could be put into lower power states)

Notes on S2Idle
Source
State: Suspend-To-Idle
ACPI state: S0 (shallowest of 4 levels)
Label: "s2idle" ("freeze")

This state is a generic, pure software, light-weight, system sleep state.
It allows more energy to be saved relative to runtime idle by freezing user space and putting all I/O devices into low-power states (possibly lower-power than available at run time), such that the processors can
spend more time in their idle states.

Acceptance Criteria

  • [ ]
@emaste
Copy link
Member

emaste commented Nov 21, 2024

We have a few goals with s2idle/s0ix:

  1. s2idle -- not particularly useful by itself, but a dependency of further work
  2. as a replacement for no-longer-available S3 -- "traditional" suspend, where the user explicitly stops working (closes the lid, types zzz etc.) and the laptop resumes later on
  3. to support better power management while in use (e.g. while a user is just reading a web page much of the computer is idle, and unused components could be put into lower power states)

@alice-sowerby alice-sowerby changed the title Add s2idle support Implement s2idle low power state Nov 21, 2024
@alice-sowerby alice-sowerby moved this from Backlog to In progress in Laptop Project Board Dec 5, 2024
@alice-sowerby alice-sowerby added this to the Q1 - 2025 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In progress
Development

No branches or pull requests

3 participants