Skip to content

Use GTK4's "suspended" state to stop updating the GUI graphs, vumeters, etc. when window is not visible #327

@nekohayo

Description

@nekohayo

From looking at https://github.com/search?q=repo%3Aryonakano%2Freco%20suspended&type=code it does not seem like you use GTK4's "suspended" state.

There is great power saving potential by connecting to GTK4's "suspended" state signal and freezing everything non-essential when the user can't actually see the window.

Less CPU/GPU usage, less heat/noise, more battery life, etc.

Same issue as nokyan/resources#480, which has more details/explanations and examples.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions