question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Power Scheme issue

See original GitHub issue

I’ve installed a fresh Windows 11 build on ASUS ROG SCAR 17 G732LXS, so the system is clean of ASUS bloatware. After installing ‘ASUS System Control Interface v3’ AND DELETING ALL the unnecessary services and drivers except the ‘ATKWMIACPI Driver’. I’ve noticed an issue. The 0.49 version of the app works fine, the fans do what you tell them to, however the Power Schemes are not getting applied.

After glancing at the code, I’ve noticed where the issue lies - my system doesn’t have these power plans with these GUIDS. Furthermore, I’ve exported the available Silent, Performance and Turbo power plans from ASUS Armoury Crate on my other OS, however their GUIDS are always different when I import them back…

public static void SetPowerScheme(int mode)
    {
        switch (mode)
        {
            case 0: // balanced
                PowerSetActiveOverlayScheme(new Guid("00000000-0000-0000-0000-000000000000"));
                break;
            case 1: // turbo
                PowerSetActiveOverlayScheme(new Guid("ded574b5-45a0-4f42-8737-46345c09c238"));
                break;
            case 2: //silent
                PowerSetActiveOverlayScheme(new Guid("961cc777-2547-4f9d-8174-7d86181b8a7a"));
                break;
        }
    }

I assume there’s an ASUS service (probably ASUSOptimization.exe) which handles these? or maybe they are default system profiles and my Windows 11 build got gimped or something after messing with it. Regardless, I think the app needs a more robust way of handling power schemes other than just simply hit-or-miss solution like what we have now.

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
seergecommented, Apr 11, 2023

Then I will push it live in 0.50

1reaction
manciuszzcommented, Apr 11, 2023

Awesome. Works as intended. <video src='https://user-images.githubusercontent.com/2539661/231236773-72aed32f-381e-491f-a5a2-6832273d6b9f.mp4' width=480 />

Read more comments on GitHub >

github_iconTop Results From Across the Web

Corrupt windows power plans
I tried to create a new power plan but I get the error: "Your power plan information isn't available." Then i click next,...
Read more >
Power Plan Keeps Changing in Windows 10 FIX - YouTube
Power Plan Keeps Changing in Windows 10 FIX. Command Used: powercfg -restoredefaultschemes Usually, the system will change your power plan ...
Read more >
How to Fix Windows Keeps Changing the Power Plan?
To fix this issue, access your Power Plan settings and restore the settings to the default.
Read more >
[FIXED] “There Are Currently No Power Options Available” ...
Have you been wondering why you no longer have access to power options in Windows 10? Usually, the issue comes from system file...
Read more >
Power Plan keeps changing in Windows 11/10
If your Windows 11/10 Power Plan keeps changing, maybe after every reboot or after you installed Updates, the here's what you need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found