microsoft / microsoft/WSL

Lifting the Dilemma between Hybrid Sleep and Hyper-V

Open
#9,695 8 comments 13 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

**Is your feature request related to a problem? Please describe.**
To enable WSL, we need a specific Windows feature, namely "Virtual Machine Platform." However, with this enabled, Hybrid Sleep for laptops will no longer be possible, as "The hypervisor does not support this standby state." Hence, users are forced to choose between longer battery life and WSL, which is entirely unreasonable.

**Describe the solution you'd like**
It would be nice if the WSL team could pass this message to or work with the Hyper-V team to prevent this kind of dilemma.

**Describe alternatives you've considered**
I understand the problem may come more from the Hyper-V team standpoint than WSL. From what I understand, Hyper-V comes from Windows Server, which is reasonable to assume that the machine will never be put in S4 (hibernation) power state. Yet, this is not reasonable for laptop users, as battery life matters significantly to users like me.

Contributor guide

Open the contributing guide

Research direction

The issue concerns WSL, Virtual Machine Platform, Hyper-V, and Hybrid Sleep on Windows laptops. Start by investigating the stated interaction between enabling Virtual Machine Platform and the unavailable standby state; done would require a concrete, agreed change or coordination outcome, which the issue does not specify.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.