Advanced power management plugin for handheld gaming devices and Steam Deck.
PowerDeck provides comprehensive power management for Steam Deck and similar handheld gaming devices. The plugin automatically adjusts thermal design power (TDP), CPU performance, and GPU frequencies based on whether your device is running on AC power or battery. Individual games can have their own power profiles, ensuring optimal performance for each title while maximizing battery life.
The plugin operates seamlessly in the background, detecting power source changes and applying appropriate settings without user intervention. Profile changes are immediate and persistent across device restarts.
PowerDeck running on the AYANEO Flip:
- Real-time detection of AC adapter connection and removal
- Instant switching between AC and battery power profiles
- Per-game profiles with separate AC and battery configurations
- Automatic profile inheritance for games without custom settings
- Thermal Design Power (TDP) adjustment within safe hardware limits
- CPU boost enable/disable for performance versus battery optimization
- CPU core count management for power efficiency
- CPU frequency governor selection
- CPU Energy Performance Preference (EPP) control
- Integrated GPU frequency control for Intel and AMD processors
- Minimum and maximum frequency range configuration
- Fixed frequency mode for consistent performance
- Hardware-appropriate stepping for Intel GPU compatibility
- CPU simultaneous multithreading (SMT) control
- PCIe Active State Power Management configuration
- USB device power management
- System governor and power profile selection
- Individual profiles stored as JSON files
- Base profiles for general AC and battery use
- Game-specific profiles override base settings
- Profile settings survive device restarts and plugin updates
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for complete terms.
- AYANEO handheld devices (2S, Air Pro, Flip KB, and others)
- ASUS ROG Ally and ROG Ally X
- Various generic AMD handheld devices with supported processors
- Various Intel-based handheld devices with integrated graphics
AMD Processors:
- AMD Ryzen Z1 and Z1 Extreme
- AMD Ryzen Z2 and Z2 Extreme
- AMD Phoenix series (7840U, 7640U, 7540U, 7440U)
- Steam Deck custom APU
- Additional AMD processors with integrated graphics
Intel Processors:
- 8th Generation Intel Core processors with integrated graphics
- 9th through 12th Generation Intel Core processors
- Intel Iris Xe graphics support
- Various Intel processors with frequency control capabilities
- SteamOS 3.0 or later
- Linux distributions with sysfs interface support
- Decky Loader plugin framework installed
- Handheld gaming device with supported AMD or Intel processor
- Integrated graphics (AMD RDNA/RDNA2 or Intel Iris Xe)
- At least 10MB available storage space
- Decky Loader plugin system
- Python 3.8 or later
- RyzenAdj utility for AMD TDP control (automatically installed)
- Linux kernel with sysfs power management interface
- Secure Boot must be disabled for TDP control functionality
- Root access required (plugin operates with elevated privileges)
- Administrative permissions for hardware control
The simplest installation method uses the automated installer script:
curl -L https://raw.githubusercontent.com/fewtarius/PowerDeck/main/install.sh | shAfter running the installer:
- Restart the Decky Loader service:
sudo systemctl restart plugin_loader - Reboot your device to ensure all components are loaded
- Access PowerDeck through the Decky Loader overlay
If you prefer manual installation or the automatic method fails:
-
Download the latest release:
wget https://github.com/fewtarius/PowerDeck/releases/latest/download/PowerDeck.zip
-
Extract to the plugins directory:
sudo unzip PowerDeck.zip -d $HOME/homebrew/plugins/PowerDeck sudo chown -R deck:deck $HOME/homebrew/plugins/PowerDeck
-
Restart services:
sudo systemctl restart plugin_loader sudo reboot
After installation, verify PowerDeck is working:
- Open the Decky Loader overlay (Quick Access menu)
- Look for PowerDeck in the plugins list
- The plugin should display your device information and current power settings
- Test AC power detection by plugging or unplugging your AC adapter
Plugin not appearing in Decky Loader:
- Verify Decky Loader is installed and running
- Check that plugin files are in the correct directory
- Restart the plugin loader service
TDP control not working:
- Ensure Secure Boot is disabled in BIOS/UEFI settings
- Verify RyzenAdj is installed and accessible
- Check that the plugin has root privileges
Profile changes not persisting:
- Confirm write permissions to the configuration directory
- Verify sufficient disk space for profile storage
To remove PowerDeck:
-
Stop the plugin loader:
sudo systemctl stop plugin_loader
-
Remove plugin files:
sudo rm -rf $HOME/homebrew/plugins/PowerDeck -
Remove configuration data (optional):
rm -rf ~/.config/powerdeck sudo rm -rf /root/.config/powerdeck -
Restart the plugin loader:
sudo systemctl start plugin_loader
The uninstallation is complete. Your device will return to default power management behavior after the next reboot.


