Skip to content

Suggestion: Implement GPU mode switch on AC (dis)connect #244

Description

@Pelochus

Summary

Add an optional automatic GPU mode switch based on AC power state.

When AC power is connected, automatically switch to Hybrid/dGPU mode. When AC power is disconnected, automatically switch back to Integrated (iGPU) mode.

This would be useful for laptops where users want maximum GPU performance while plugged in, while automatically prioritizing battery life when running on battery.

Proposed behavior

  • AC connected: switch to Hybrid/dGPU mode
  • AC disconnected: switch to Integrated (iGPU) mode

The automatic switching should be optional and disabled by default.

Configuration

Allow users to enable/configure this behavior through both CLI and GUI.
For example, the CLI could provide an option such as:

cardwire gpu auto-power-mode enable
cardwire gpu auto-power-mode disable

I have moderate knowledge of Rust and SW development and willing to help developing this if owners approve.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions