mac无法休眠

首先检查是不是在播放啥音乐,再检查下面的情况:

pmset -g查看哪些进程会阻止休眠

情况1:

runningboardd阻止休眠

分析: pmset -g assertions可以看到 pid 159(runningboardd): [0x0000001d00018217] 08:23:05 PreventUserIdleSystemSleep named: "xpcservice<com.apple.findmy.FindMyWidgetPeople([osservice<com.apple.notificationcenterui.agent(501)>:427])(501)>159-427-155:[findmy.FindMyWidgetPeople-D6A1FE1BD479]"阻止mac进入休眠,

解决办法:

进入查找我的应用,将 除了自己的id之外的所有用户全部删除,重启再次pmset -g assertions查看就不会发现阻止休眠了(我的情况是我的apple id加入了apple家庭,所以存在其他用户,正常情况下应该是没有的)

mac 休眠掉电严重

查看全部参数

pmset -g custom 设置休眠后断网防止掉电(有副作用 可能影响查找 power nap 等功能) sudo pmset -b tcpkeepalive 0

修复 macOS 卡死

pkill imklaunchagent

来源 https://x.com/luvletter_moe/status/1705608329366835598

感谢 @Lalala_yes

也可以设置cron

1
crontab -e
1
0 */2 * * * kill -9 $(pgrep SCIM)

两小时自动杀一次 啥都不用管

iPhone/iPad 系统数据存储过大

亲测 更改 iMessage 保存期限有效

TestFlight couldn't connect to App Store Connect. Try again.

如果挂了代理把代理关了即可