1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 17:07:44 +00:00

cpu: update governor override path

This commit is contained in:
NotAShelf 2025-05-16 02:20:43 +03:00
parent df5ae64c44
commit 7d28d12c1c
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -487,7 +487,7 @@ pub fn get_platform_profiles() -> Result<Vec<String>> {
}
/// Path for storing the governor override state
const GOVERNOR_OVERRIDE_PATH: &str = "/etc/superfreq/governor_override";
const GOVERNOR_OVERRIDE_PATH: &str = "/etc/xdg/superfreq/governor_override";
/// Force a specific CPU governor or reset to automatic mode
pub fn force_governor(mode: GovernorOverrideMode) -> Result<()> {