Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@StollD
Copy link
Member

@StollD StollD commented Sep 24, 2019

On Surface Book 2, it is not possible to archive stable S0ix while bluetooth is enabled, but no device is connected. Either S0ix fails completely, or the residency is pretty bad. When bluetooth is disabled, or a device (like the pen) is connected to it, S0ix works file and residency is great.

By disabling bluetooth when no device is connected before suspending, we get working S0ix in all situations. And since no device is connected, the reset won't really matter.

Note: There is the case where you disabled bluetooth through the DE before suspending. While the code might look like it would always reenable bluetooth in that case, that doesn't happen. The DE disables bluetooth but doesn't power down the adapter, making bluetoothctl power on a NOP.

On Surface Book 2 it is not possible to archive stable S0ix while bluetooth is
enabled but no device is connected. Either S0ix fails completely, or the
residency is pretty bad. When bluetooth is disabled, or a device such as the pen
is connected, S0ix works fine and residency is great again.

By disabling bluetooth when no device is connected, we get proper S0ix in all
situations. And since no device is connected, the reset won't really matter.

Signed-off-by: Dorian Stoll <[email protected]>
@qzed
Copy link
Member

qzed commented Sep 24, 2019

Thanks!

Sorry that I'm currently not more involved with the other issues, I'm trying to get some older stuff done and out of the way. As always, your work is much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants