Public overview - Microsoft Learn
Awake is a PowerToys utility designed to keep your computer awake without permanently modifying system power settings. It prevents the computer from sleeping and can keep the monitor on, providing a convenient alternative to changing system power configurations.
- Temporarily override system sleep settings
- Keep monitor on (prevent display from turning off)
- Set time intervals for keeping the system awake
- One-time setup with no need to revert power settings afterward
- Convenience: Easy UI for quick toggling of sleep prevention
- Flexibility: Support for different time intervals (indefinitely, for specific duration)
- Non-persistent: Changes are temporary and don't require manual reversion
- Quick Access: Available directly from the system tray
- System Tray UI: Provides user interface for controlling Awake settings
- Backend Threads: Manages the power state prevention functionality
- Command Line Interface: Supports various commands for controlling Awake functionality programmatically
Awake works by preventing system sleep through Windows power management APIs. The module runs as a background process that interfaces with the Windows power management system to keep the device awake according to user preferences.
Users can access Awake through the PowerToys system tray icon. From there, they can:
- Toggle Awake on/off
- Set a specific duration for keeping the system awake
- Choose whether to keep the display on or allow it to turn off
- Access additional configuration options
Awake includes command-line functionality for power users and automation scenarios, allowing programmatic control of the utility's features.