黑苹果睡眠间隔唤醒 AppleACPIPlatformPower Wake reason: RTC

通过终端命令查询最近1天内的唤醒情况log show --last 1d | grep "Wake reason"可以清晰的看到主要唤醒原因是kernel: (AppleACPIPlatform) AppleACPIPlatformPower Wake reason: RTC (Alarm) 这也是网上比较常见的异常唤醒原因,网上搜索之后得出解决方法,就是往引导配置里面添加一下补丁。

需要用到OpenCore Configurator根据对应的opencore版本下载对应的版本即可。

根据图片中的位置将以下补丁代码一一对应添加即可

Base: __ZN8AppleRTC18setupDateTimeAlarmEPK11RTCDateTime
Comment: Disable RTC wake scheduling
Count: 1
Enabled: True
Identifier: com.apple.driver.AppleRTC
Replace: C3

或者直接把下面的代码复制粘贴到config.plist文件中

<key>Patch</key>
<array>
	<dict>
		<key>Arch</key>
		<string>Any</string>
		<key>Base</key>
		<string>__ZN8AppleRTC18setupDateTimeAlarmEPK11RTCDateTime</string>
		<key>Comment</key>
		<string>Disable RTC wake scheduling</string>
		<key>Count</key>
		<integer>1</integer>
		<key>Enabled</key>
		<true/>
		<key>Find</key>
		<data></data>
		<key>Identifier</key>
		<string>com.apple.driver.AppleRTC</string>
		<key>Limit</key>
		<integer>0</integer>
		<key>Mask</key>
		<data></data>
		<key>MaxKernel</key>
		<string></string>
		<key>MinKernel</key>
		<string>19.0.0</string>
		<key>Replace</key>
		<data>ww==</data>
		<key>ReplaceMask</key>
		<data></data>
		<key>Skip</key>
		<integer>0</integer>
	</dict>
</array>

保存配置文件重启观察一天之后日志中的唤醒记录是否已经正常

Comments: 0

「人生在世,留句话给我吧」

提交评论