Monitor & Fix USB Power Issues
USB Guardian is a Windows application that monitors USB and audio device connections in real-time, detects power-related issues, and provides automatic fixes.
- Real-time USB Monitoring - Instantly detect device connections and disconnections
- Power Analysis - View power consumption for each USB device
- Audio Device Tracking - Monitor audio device state changes (including VoiceMeeter)
- Intelligent Problem Detection - Automatic detection of:
- High power consumers (>500mA)
- Hub overload conditions
- Frequent disconnection patterns
- Automatic Fixes - One-click solutions for common issues:
- Disable USB Selective Suspend
- Disable USB Power Management
- System Tray - Runs in background, minimizes to tray
- Modern UI - Dark gaming theme with real-time updates
Many users experience random USB device disconnections, especially with:
- RGB peripherals (keyboards, mice, LED strips)
- Audio interfaces and microphones
- Webcams
- Gaming headsets
These issues are often caused by:
- Power management - Windows aggressively suspends USB devices
- Power overload - Too many high-power devices on one hub
- Driver issues - Outdated or conflicting drivers
USB Guardian helps identify and fix these issues automatically.
Download the latest release from Releases.
Requirements:
- Windows 10/11
- Visual Studio 2022 (or Build Tools)
- CMake 3.15+
- Windows SDK
git clone https://github.com/yourusername/usb-guardian.git
cd usb-guardian
mkdir build && cd build
cmake ..
cmake --build . --config Release- Launch
USBGuardian.exe - The app will scan all USB and audio devices
- Review the Power Overview for total consumption
- Check Alerts for detected issues
- Apply recommended Solutions with one click
USB Guardian can start automatically with Windows and run in the system tray. Configure this in Settings.
- Power overview with consumption bar
- USB device list with power readings
- Live event feed
- One-click fixes
- Minimizes to tray on close
- Double-click to restore
- Right-click for menu
- All USB devices via Windows SetupAPI
- Audio endpoints via Windows MMDevice API
- Power consumption from USB descriptors
| Fix | Method |
|---|---|
| Disable Selective Suspend | Power scheme modification |
| Disable Power Management | Registry modification |
| Auto-start | Registry (HKCU\Run) |
Contributions are welcome! Please feel free to submit issues and pull requests.
MIT License - see LICENSE file.
- Dear ImGui - Immediate mode GUI
- DirectX 11 - Rendering backend
If USB Guardian helped you fix your USB issues, consider:
- Starring this repo
- Sharing with others who have similar problems
- Contributing improvements
Made with frustration after too many USB disconnections.