DoujinStars
Oga
Oga

patreon


🔋Framework Hub Devlog - January 13, 2025 🔧

=====================================

Today’s main focus has been on enhancing power plan management and adding user customization options for PowerCFG in the Framework Control Center. Below is a summary of the latest developments:

--------------------------------------------------

✨ New Features

--------------------------------------------------

• Created a dedicated “PowerCFG Settings” tab in the application’s settings, look at the images attached (based on the community vote on Discord 👍 ) .

• Introduced three custom power plans (while preserving the default Windows “Balanced” plan)(Power plans can be fully customized for usage while plugged or on battery, for you FelyBriyl  🙂):

  1. Framework-Eco: Power-saving oriented, with specific AC/DC customizations.

  2. Framework-Balanced: Balanced performance and efficiency, with AC/DC customizations.

  3. Framework-Boost: Maximum performance mode, with AC/DC customizations.

  Note: Be cautious with the Maximum Performance State—setting it under 40-50% can seriously degrade performance.

--------------------------------------------------

🪛 Optimizations & User Experience

--------------------------------------------------

1. AMD Dynamic Graphics Mode Implementation:

   • Added proper value mapping for AMD Dynamic Graphics settings (for AMD users).

   • Included validation to ensure values remain within acceptable ranges.

   • Applied these settings for both AC and DC power states.

2. Power Plan Settings Fixes:

   • Corrected the processor boost time window parameter:

       – Applied the fix for both AC and DC power states.

       – Eliminated settings causing errors in powercfg.

       – Cleaned up related code for improved stability.

3. Error Handling & Logging:

   • Implemented detailed error logging for powercfg operations.

   • Enhanced error messages for unsupported settings.

   • Added validation checks before applying power settings.

   • Improved logging for power plan creation and modification.

4. Code Structure Improvements:

   • Reorganized how power plan settings are applied.

   • Defined constants for specific power setting values.

   • Enhanced code readability and maintainability.

   • Added comments for clearer documentation.

--------------------------------------------------

📝 Notes

--------------------------------------------------

• All changes have been tested on an AMD Ryzen 7840HS laptop with dGPU
( Not on Intel yet ).

• Settings are properly preserved across system reboots on the "Framework-X" power plans

• Users can fully remove the custom power plans via:

  `Powercfg /restoredefaultschemes` (in an elevated command prompt).

• If the custom power plans are deleted by mistake, they will be automatically recreated at the next application launch.
• I'll add more customization options later when I have times

• I'll add a customizable switch to set what profile you want to be applied when on Battery/Plugged

• I'll do a other poll on Discord for more options later

Thanks to everyone for your support ❤️ 

🔋Framework Hub Devlog - January 13, 2025 🔧 🔋Framework Hub Devlog - January 13, 2025 🔧 🔋Framework Hub Devlog - January 13, 2025 🔧 🔋Framework Hub Devlog - January 13, 2025 🔧

Comments

Wow, I'm really amazed by the quick work you've done right after the feedback! Thanks for the note on Powercfg /restoredefaultschemes by the way, I was actually trying to see if there's a way to reset it as it was overwritten by CC v1.0 Nice work on retaining the default windows 'Balanced' profile, while still allowing the CC customization! - I think this is a great decision (:

FelyBriyl


More Creators