使用 pmset -g assertions 命令,可以看到存在 PreventUserIdleDisplaySleep 1
下边就显示的是微信
pid 38791(WeChat): [0x000a9801000590bb] 02:25:08 NoDisplaySleepAssertion named: "wechat working"
因为这台电脑基本不关机( Surge 网管用),每次都看见屏幕不会关闭很恶心啊
微信商店版本 4.1.2
1
busier 3 天前 via Android
手机一样 放微信界面就不息屏 非常恶心
|
2
darkengine 3 天前
我一般离开的时候 control+command+Q 锁上
|
3
ONEO666 OP @darkengine 这个东西阻止熄屏,锁屏依然不会熄屏
|
4
peasant 3 天前
一直用的官网下载的 4.x 版本的微信,没遇到个这种情况,到设置时间了屏幕都是正常关闭的。
|
5
alexluo1 3 天前 via iPhone
自从升级 macOS26 我遇到过好几次锁屏不熄屏的问题,但不确定是不是微信
|
6
marcolin 3 天前 via Android
我的 Intel Mac mini 上企业微信会阻止休眠,而且是用耳机播放语音后会,如果没播放过语音是正常的。微信倒是正常
|
7
Eagleyes 3 天前
@darkengine #2 试试触发角,走人的时候鼠标往触发角一甩就锁屏了,比快捷键还快
|
8
love4taylor PRO MAS 4.1.1.240 和 4.1.2.240 版都试了下,没微信的进程。
~ ❯ pmset -g assertions 2025-11-02 09:52:52 +0800 Assertion status system-wide: BackgroundTask 0 ApplePushServiceTask 0 UserIsActive 1 PreventUserIdleDisplaySleep 0 SoftwareUpdateTask 0 PreventSystemSleep 0 ExternalMedia 0 PreventUserIdleSystemSleep 1 NetworkClientActive 0 Listed by owning process: pid 727(sharingd): [0x00014038000187d6] 00:04:12 PreventUserIdleSystemSleep named: "Handoff" pid 341(powerd): [0x00013fc000018709] 00:06:11 PreventUserIdleSystemSleep named: "Powerd - Prevent sleep while display is on" pid 400(WindowServer): [0x00013fc000098704] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:1000008ea service:AppleHIDKeyboardEventDriverV2 product:Apple Internal Keyboard / Trackpad eventType:3" Timeout will fire in 120 secs Action=TimeoutActionRelease pid 589(mds_stores): [0x00014133000b8867] 00:00:01 BackgroundTask named: "com.apple.metadata.mds_stores.power" No kernel assertions. |
10
darkengine 3 天前
@Eagleyes 我只设置了一个触发角,用来显示桌面内容的。用触发角锁屏怕容易误操作了。
|
11
ONEO666 OP @love4taylor 我还没找到具体的复现流程,就是偶尔出现,看到里边有个微信
|
12
lumia1020 2 天前
用过多种设备,暂时只发现 iOS 下的微信限制熄灭屏幕,Mac 和 Windows 设备正常。听说 iOS 下不熄屏这个算个 feature ,不是 bug 。
|
14
freeair 2 天前
Unlox 可以自动检测 iPhone 距离,自动锁定 mac ,建议试试看。
|
20
wqsdfdddd 2 天前
昨晚发现微信(4.1.2)又阻止锁屏和熄屏,并且发现 whatsapp 也一样.
兄弟找到原因了么? |