microsoft / microsoft/PowerToys
PowerNap, A quick sleep feature
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Description of the new feature / enhancement
The behavior is a simple key combination/System tray icon that quickly puts the system to sleep/hibernate (if enabled). Like sleep could be activated by using for example: Ctrl + Windows + S or right clicking a system tray icon. There are ways for quick sleep on some machines like a different key combination or typing "sleep" in PowerToys Run, or the start menu and so on. But this would be a great way to standardize the way people quickly people put their machines asleep on desktops. Also, this would be a great companion to Awake. Windows + X + U + S exists for some but it is very cumbersome and for me, it doesn't even work.
Existing Workarounds exist but they are inefficient, or they require modding rundll32.exe.
### Scenario when this would be used?
If you need to quickly put your PC/Desktop to sleep/hibernate without all the step,s and multiple clicks, or convoluted key combinations that some machines have, this would be a great way to standardize the way people quickly sleep their PC's. For me this would be a lifesaver for extra time, When I need to sleep a PC going to start of the alt + f4 menu takes all the more time.
### Supporting information
Here are some links of people who also have the same request:
https://learn.microsoft.com/en-us/answers/questions/2739245/windows-sleep-shortcut?page=1#answer-4175287
https://www.reddit.com/r/windows/comments/193g23k/sleep_mode_shortcut_that_is_only_1_button_push/
https://techcommunity.microsoft.com/discussions/windows11/sleep-keyboard-shortcut-no-longer-functional/4200254
Contributor guide
Research direction
Start by reviewing the existing Awake utility and the PowerToys Run and system-tray entry points mentioned in the request. Confirm how the feature should handle sleep versus hibernate and the requested shortcut. Done means users can trigger the selected power action through a standardized shortcut or tray action when hibernate is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100