一个好问题的格式

前言

沟通是有成本的,若能在提出问题的过程将对方所需的信息传达出去,那么沟通的成本就降低了很多,省去了大量的时间,而拥有一个好的格式,是提出好问题非常重要的一个部分。

一个很好的问题格式

下班后,我一般使用WIN+L来lock我的windows,但我并不期望lock之后windows自动sleep,而我又没有找到相关设置,于是查到了如下网页:
How do I stop Windows 10 going to sleep after locking with Win+L key

I’ve got a Dell XPS 13 (9360) with Windows 10 Home.

Steps to reproduce:

  • Open power options (Win-X, O)
  • Click change plan settings next to the current plan (“Dell” in my case)
  • Set both “on battery” and “plugged in” change “Put the computer to sleep” to something high or “Never” (I have 15 mins for battery, 1 hour for plugged in, tried “Never” for both too)
  • Click save changes
  • Open screen saver settings (Win-S, Change screen saver)
  • Ensure screen saver is off (None)
  • Ensure “On resume, display logon screen” is off
  • Click OK
  • Lock computer with Win-L
  • Wait…

Expected behaviour:

  • Screen switches off after a short delay (~30 secs).
  • Computer stays on, crunching whatever data you’ve left it to do.

Actual behaviour:

  • Screen switches off after a short delay (~30 secs).
  • Computer goes to sleep after a further ~15 seconds.

I would’ve thought this was a simple problem, but I’ve spent over two hours Googling etc for a solution. The closest I could find to my problem was this, which is similar but not the same, and the solution doesn’t work for me:

这个题主的问题格式让我见识到了什么是好的问题:

  1. 运行环境
  2. 重现过程
  3. 期望行为
  4. 实际行为

清晰明确地让人理解他的困惑所在,也可以在重现过程的阶段,轻松地排除掉他本身的行为存在隐患的可能。

当我见到这个问题,按照他的步骤遇到了同样的问题,很好地激发了我想要解决这个问题的意愿。

注:

这个问题的解决方案:

  1. 打开注册表(WIN+R:regedit)找到如下Key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
  1. 将Attributes DWORD的值设置为2
  2. 打开控制面板->电源选项->高级设置->Sleep->System unattended sleep timeout->0
    在这里插入图片描述
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值