# [Project] Framework Hub - A C# Control Center for Framework Laptops 16 & 13 🚀

Framework Hub - Advanced Power Management for Framework Laptops

I’m excited to share Framework Hub (formerly Framework Control Center), a comprehensive power management and monitoring solution specifically designed for Framework laptops running Windows.

Why I Made This? :thinking:

I created Framework Hub to provide Framework laptop users with a powerful yet user-friendly tool for optimizing their system’s performance and battery life. The goal was to create a solution that would work seamlessly with both Intel and AMD processors while maintaining a clean, modern interface.

Key Features :sparkles:

Advanced Power Management

  • Customizable Power Profiles
    • Framework-Eco: Optimized for battery life
    • Framework-Balanced: Perfect for everyday use
    • Framework-Boost: Maximum performance
  • Intel Core Ultra Support
    • Direct PL1 power limit control (PL2 locked by firmware with secure boot enabled)
    • Temperature limit management
  • AMD Ryzen Support
    • STAPM power limit control
    • Fast/Slow PPT limits
    • Temperature and VRM current limits

Hardware Monitoring

  • Real-time System Stats
    • CPU usage & temperature
    • iGPU(all models)/dGPU monitoring (Framework 16)
    • RAM utilization
    • Dynamic hardware detection
  • Advanced Error Handling
    • Robust sensor detection
    • Automatic recovery from monitoring errors
    • Detailed logging system

Power Optimization

  • Windows Power Plans
    • Custom-tailored power schemes
    • Separate AC/DC configurations
    • USB power management
  • Thermal Management
    • Adaptive cooling policies
    • Temperature-based throttling
    • Fan control optimization

User Experience

  • Modern UI
    • Built with Avalonia UI
    • Windows 11 design language
    • Windows 11 color theme support
  • Convenience Features
    • Start with Windows option
    • Minimize to tray
    • Global hotkeys

Technical Details :wrench:

  • Written in C# with Avalonia UI
  • Uses WinRing0 for Intel CPU management
  • Uses RyzenAdj for AMD power management
  • Requires admin privileges
  • Settings saved in JSON format
  • Fully open source

Installation

Two options:

  1. Download the installer from Patreon
  2. Build from source:
    git clone https://github.com/Oganoth/Framework-Control-center
    cd Framework-Hub
    dotnet build -c Release
    

Links

Credits

Special thanks to:

  • The Framework community for testing and feedback
  • All our amazing Patreon supporters
  • The Avalonia UI team
  • LibreHardwareMonitor contributors

Feel free to try it out and let me know what you think! Pull requests and feature suggestions are always welcome :blush:

PS: Currently looking for feedback on power profiles for both Intel and AMD laptops. If you notice any issues or have suggestions for improvements, please let me know!

17 Likes

This is awesome! We’d love to help out however we can. Are there any interfaces missing that would enable functionality that you wanted to enable?

11 Likes

Hi,

Thank you so much for your kind words and for offering to help! I truly appreciate your support—it means a lot to me !

One feature that would be incredibly helpful is an API to access hardware data, such as fan speeds or system temperatures, and to customize certain fan or BIOS parameters directly. Currently, there are some solutions available for Windows, but they often require enabling unsigned drivers, which I’m hesitant to implement due to potential security risks.

Additionally, having an API to manage firmware or BIOS updates programmatically would be a game-changer. This could make it much easier to automate and streamline updates, especially for advanced users and developers working on custom integrations.

Having official APIs for these functionalities would not only enhance the versatility of Framework laptops but also ensure a secure and reliable way to integrate them into projects like mine.

Thanks again for considering this, and for everything you’re doing to empower users like me. Please let me know if I can provide any additional details or help test such features!

Best regards,

5 Likes

Just checked out the app. Still have to benchmark the different modes, are they tied to windows’ power profiles?
Moreover, I could help you translating the interface in Italian if needed. Feel free to PM me :wink:

3 Likes

Very awesome, and you beat me to the punch. Although I was going for a C++ variant that targeted only Windows as well. Linux already has all of this.

Since this is just targeting the AMD platform on the 16 I will still keep working on it, but great work!

I’m currently updating it to support all Framework Laptop :grin:

3 Likes

That is awesome to hear! I’ll slow my roll then, and just focus my project on the project I have going on, as it will have needs outside of the Framework line.

Awesome work!

What are you referring to?

Linux doesn’t have a single tool that does all of this, BUT all of those things are accessible, and you have commands in terminal that you can run to affect most of it. Something that kind of puts it all together and into a GUI would be helpful, but Linux already has a leg up on it, thanks to the more exposed underpinnings.

Will you be expanding this to the Intel lineup as well? (11th, 12th, 13th, and Core Ultra)

Thanks for sharing. I gave it a run, and here are my impressions and suggestions for v1.1:

  • The language defaults to french without any hint about where you can change the language. At least for the first run it would be nice to have a dialogue asking or a guide pointing to the preferences, or at least English as the default (I know, that’s a sore spot for french ppl).
    As a TODO: set the default language to the user’s system language and have it default to English, if not available (yet).
  • The power profile defaults to “Performance”. If you can’t read the current power profile, “Balanced” would be a better default, imho.
    As a TODO: add a customizable “Custom” power profile in future releases.
  • The text colors used in the themes lack contrast and should have better default values.
    You could also think about allowing color custimization in the preferences in future releases:
    • In the Light Theme, a light grey text color is being used on a white background, e.g. for the specs
    • In the Dark Theme, in the “Settings” and “Performance” pages the headlines have an even lighter grey on a white background (this isn’t really dark mode yet, is it?) and the red text color for the power profile settings on the main page is kind of hard to read on a dark background, too.

All in all, a nice work in progress. :+1:

1 Like

A linux gui tool would be nice to have. Sadly, I’m currently busy with a few other projects, otherwise I’d give it a try.

1 Like

[Update 1.2] Framework Hub Mini - Power Management Tool for Framework AMD Laptops :rocket:

After so many feedback of the Framework community, i changed a lot of things to make the hub more “practical”. ( a lot is still in WIP like translations )

Thanks a lot to everyone for helping me with this project !

:dart: What it does

  • Smart Power Profiles that actually make sense:
    • Framework 13: Silent (15W) / Balanced (30W) / Boost (60W)
    • Framework 16: Silent (30W) / Balanced (95W) / Boost (120W)
  • Display Control: Auto-switching refresh rates (60/120Hz for 13", 60/165Hz for 16")
  • Battery Life Optimizer: Custom charge limits (60-100%)
  • Real-time Monitoring: CPU, temps, ram, power consumption (GPU is deactivated WIP)
  • Zero Bloat: Just the features you need, nothing more

r/framework - [Project] Framework Laptop Hub PY Edition - A Python-based Control Center for Framework Laptops

r/framework - [Project] Framework Laptop Hub PY Edition - A Python-based Control Center for Framework Laptops

:computer: Supported Models

  • Framework 13 (Ryzen 7 7840U / Ryzen 5 7640U)
  • Framework 16 (Ryzen 7 7840HS / Ryzen 9 7940HS)

:hammer_and_wrench: Quick Setup

  1. Download latest release
  2. Run as admin
  3. Press F12 or use system tray
  4. That’s it! (Model auto-detected but you can still choose witch one you have if you want)

:inbox_tray: Requirements

  • Windows 11 (22H2+)
  • 4GB RAM
  • Admin rights
  • .NET 4.8
  • VC++ 2015-2022

:mag: More Details

Check out the GitHub repo for full documentation, source code, and latest releases.

Github

Releases

Patreon, if you want to support me or my cats


*Inspired by JamesCJ60’s work and powered by RyzenADJ

Let me know what you think! Happy to answer any questions or take feature requests. :slightly_smiling_face:

6 Likes

I don’t have a Intel Laptop so it’ll be hard to test but i think it’s possible with Intel XTU or Throttlestop i’m not sure, i need to learn more on intel cpu :sweat_smile:

if you want to see the next features added go take a look :slight_smile: → Sneak peek

More sneak peek available ! → Take a look

Can you tell me if Throttlestop work on Framework laptop 13? i’m tryng to use ThrottleStop CLI for intels laptop :slight_smile:

Yes it does. I haven’t had any issues with it. I just create a custom power profile though.

1 Like

It’s still WIP at the moment but later can I have your help to try a new build with Intel profiles integration ? I’ll need the logs generated,…

1 Like

Absolutely! Would love to help!

1 Like

Hey Framework Community! :star2:

I’m thrilled to share the latest developments and improvements I’ve been working on for our project. Your support and feedback have been invaluable, and I can’t wait for you to experience these enhancements. Here’s a detailed look at what’s new:

:hammer_and_wrench: Bug Fixes & Code Reorganization

  • Eliminating Freezes: I’ve dedicated significant time to identifying and fixing bugs that caused unexpected freezes. This means a smoother, more reliable experience for everyone.
  • Cleaner Codebase: By reorganizing the code, I’ve improved the overall stability and maintainability of the project, making future updates faster and more efficient.
  • Clean exit option: Now the program can be fully exited without crash using the red button.

:desktop_computer: Model Detection Overhaul

  • Smart Framework Laptop Recognition: Upon launching the program, it now intelligently detects your specific Framework Laptop model. This ensures that the appropriate settings and optimizations are applied automatically, providing a tailored experience right from the start.

:battery: Power Profiles Revamp

  • Preparing for Throttlestop Integration: I’ve revamped the power profile management to seamlessly integrate Throttlestop for Intel CPUs in future updates. This will offer more granular control over CPU performance and power usage.
  • Enhanced Settings Menu: Due to the new detection system, direct editing of power profiles in the Settings menu is temporarily disabled. This is a necessary step to ensure compatibility and prevent conflicts as I finalize the integration.

:bar_chart: Adaptive Monitor Display

  • dGPU Detection: The monitor section now accurately detects whether your system has a dedicated GPU (dGPU). Based on this detection, it dynamically adjusts the displayed statistics, showing only the relevant information and eliminating unnecessary clutter.

:gear: New Startup & Resource Options

  • System Tray Launch Option: You can now choose to have the app start minimized in the system tray. This is perfect for those who prefer a cleaner desktop experience.
  • Adjustable Monitor Refresh Interval: To cater to users who want to minimize resource usage, there’s a new option to change the update frequency of the monitor section. Lowering the refresh rate can help conserve system resources without sacrificing essential functionality.

:arrows_counterclockwise: Updates Manager: WinGet Only

  • Transitioning from Pip to WinGet: Based on your feedback, the “Updates Manager” has been completely redesigned to use WinGet exclusively. This change helps avoid package conflicts and ensures a more streamlined update process. If you’re using Pip, you can continue to manage your Python packages manually, maintaining full control over your environment.

:zap: Enhanced Windows 11 Power Plan Features

  • :mute: Silent Profile: This profile is optimized for maximum energy savings, perfect for extending battery life when you need it most.
  • :balance_scale: Balanced Profile: Strikes an ideal balance between battery life and performance, making it suitable for everyday tasks and general use.
  • :fire: Boost Profile: Maximizes performance without compromise, ideal for demanding applications and intensive tasks.

:test_tube: Final Testing & Bug Fixes

I’m currently in the final stages of testing these updates to ensure everything runs smoothly. My focus is on ironing out any remaining bugs and ensuring that the update delivers the best possible experience for all users.

:pray: Thank You for Your Support!

Your patience and support have been incredible throughout this development process. I’m committed to delivering a high-quality update that meets your needs and enhances your experience. Stay tuned for the beta and official release, and please keep your feedback coming—it’s essential for continuous improvement.

:sparkles: Together, we’re making something amazing!

— John Dupuis

  1. :link: Stay Connected:

Feel free to reach out with any questions or suggestions. Let’s continue building something great together!

7 Likes