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

[Feature Request] Option to Configure Network Power Management #790

Open
FurqanHun opened this issue Nov 8, 2024 · 0 comments
Open

[Feature Request] Option to Configure Network Power Management #790

FurqanHun opened this issue Nov 8, 2024 · 0 comments

Comments

@FurqanHun
Copy link

FurqanHun commented Nov 8, 2024

Have you tried?


Currently, auto-cpufreq automatically disables the network connection after a period of inactivity. While this behavior can save power, it can be disruptive for users who need consistent network connectivity. Most laptops come with a dedicated network button/shortcut for users who prefer manual control, and as mentioned on Discord, Adnan has encouraged submitting feature request for it too.

  • Default behavior is fine. However, there is a need to give users options to customize it.

Current Behavior

  • Network connection is automatically disabled after a period of inactivity
  • Forces manual reconnection by clicking on the network again
  • Happens even when actively using the system (e.g., watching cached videos)

Requested Feature

Add configuration options in the auto-cpufreq config file to:

  • Disable automatic network power management completely
  • Configure the inactivity timeout period
  • Potentially add different settings for battery vs AC power

Few Use Cases

  1. Watching streamed content with buffered/cached data
  2. Waiting for background downloads or updates
  3. Applications that require constant connectivity (like chat apps)

Why This Matters

The current behavior can be disruptive for users who need consistent network connectivity, especially in scenarios where the network appears inactive but is actually needed for maintaining connection state.

Suggested Implementation Example

Add new configuration options in the config file:

[network]
# Enable/disable network power management
enable_power_saving = true

# Time in seconds before network is considered inactive
inactivity_timeout = 300

# Different settings for charger/battery
# If not specified, will use enable_power_saving value
charger_power_saving = false
battery_power_saving = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant