AdnanHodzic / AdnanHodzic/auto-cpufreq

change cpu settings according to battery percentage

Open
#835 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.8k
Forks
357
Avg merge
3d 8h
Merged PRs (30d)
14

Description

Is there a way to make the battery percentage a parameter to change frequencies or turn turbo boost on/off or change governor? (also in combination if on ac or on battery)
For example:
I wanted an option to do a command like this:
if AC_power = connected and Battery_percentage >70 use performance governor and force turbo boost
elif AC_power = connected and Battery_percentage < 70 use performance governor and auto turbo boost
elif AC_power = disconnected and battery_percentage >70 use power save governor and turbo boost auto
else: use power save and turbo boost disabled

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.