yearjinheng 发表于 2017-8-1 13:29

ACPI-Battery-Driver 全版本分享-更新至v1.81.4

本帖最后由 yearjinheng 于 2017-11-1 16:50 编辑

偶尔会有些朋友问我,你到底用哪个个版本的ACPIBatteryManager.kext?是不是低版本的更适合于我?高版本貌似会出现小叉,完全不能显示电量 还有些朋友问为啥我的电池一会正常一会不正常呢?来自个地方朋友问的问题其实归根到底还是一句话:补丁整的不完整导致的。在我未发布电池补丁教程之前,估计这些问题一直困扰着各地用笔记本装黑苹果的用户。以下我来发布全部版本的ACPIBatteryManager.kext,不过我建议用最新版本,因为最新版本修复了很多bug!

在笔记本黑苹果途中小伙伴们对电池补丁感兴趣的话,可以参考我之前发布的教程!


以下是电池驱动的版本更新记录:

Change Log:2017-10-01 v1.81.4
[*]add kernel flag "abm_firstpolldelay" to allow override of FirstPollDelay with simple kernel flag entry (config.plist/Boot/Arguments). For example, to set FirstPollDelay to 16000 (16 seconds), use abm_firstpolldelay=16000
2017-09-01 v1.81.3
[*]Revert more 10.13 changes when running 10.12 and earlier (runtime checks). These changes are an attempt to solve issue #22
2017-04-28 v1.70.3
[*]Add quick polling for the first 10 seconds of startup for the case the EC/ACPI does not respond correctly at startup. This quick poll will be cancelled once a battery status is succesfully acquired, or after the 10 seconds.
2016-11-18 v1.70.2
[*]Fix problem where incorrect _BST code returns status of "discharging" when at full charge, AC adapter still plugged in.
2016-06-28 v1.70.1
[*]Fix bug involving BatterySerialNumber (always showing -Unknown)
[*]Handle ACPI returning a blank string for serial# in _BIF (use "Unknown" in that case)
[*]no longer setting Temperature when it is not available from ACPI
[*]misc cleanup
2016-05-31 v1.70.0
[*]added SSDT-BATC.dsl which allows multiple batteries to be dealt with as a single ACPI battery
[*]changed the code that responds to battery notifications so it is not sensitive to incorrect remove/add flags
[*]misc cleanup
2015-12-30 v1.60.5
[*]Fixed bug with zero length dictionary (ACPI-based configuration)
[*]correct capacities only if non-zero
[*]change StartupDelay to 0ms
2015-11-09 v1.60.4
[*]added configurable StartupDelay
[*]changed default StartupDelay from 500ms to 50ms
2015-10-29 v1.60.3
[*]Add correction for capacities that don't conform to OS X expectations (CurrentCapacity<=MaxCapacity<=DesignCapacity)'
2015-09-30 v1.60
[*]Add CurrentDischargeRateMax configuration key as a way to cap the discharge rate against bad data from ACPI _BST
[*]Add ACPI method for overriding configuration data in Info.plist. See config_override.txt for more info
2015-01-23 v1.55
[*]Add 500ms delay before polling initial battery state (_STA) to account for battery devices at are not ready early in the boot process. This avoids dimming the display when booting on battery, as the system doesn't detect it as a battery present->battery removed transition.
[*]some minor fixes for watts when CurrentRate is ACPI_UNKNOWN
[*]debug messages are now in decimal
2014-10-16 v1.53
[*]added debug output for _BIX
2014-02-07 v1.52
[*]Fix deadlock caused by changes made for multiple batteries. See issue #3.
[*]When determining if other batteries are discharging, ignore batteries that are not connected. See issue #2.
[*]To provide AC status changes quicker after an AC change, poll battery objects more often after such a change. See issue #4.
2014-01-21 v1.51
[*]Some fixes related to multiple batteries. Work in progress.
2013-12-04 v1.50
[*]Added ACPIACAdapter implementation, which implemeents an ACPI compliant object to track status changes of the AC adapter. As the status change, the battery objects are notified.
prior fixes:
[*]I didn't really track a change log prior to now. Read the threads linked or the commit log in git.
[*]
[*]
[*]
[*]
[*]
[*]
[*]
[*]
[*]
[*]
[*]
[*]
[*]

wandy1029 发表于 2017-8-1 15:36

支持楼主,定制一个看看

晓庄 发表于 2017-8-1 15:48

支持楼主,晚上回去替换试试。
我现在的电量就是显示0%的,不知咋回事

huoxiangdong19 发表于 2017-8-1 16:02

谢谢风向!!!

huoxiangdong19 发表于 2017-8-1 16:03

谢谢分享!!!

东骧神骏 发表于 2017-8-1 17:01

谢谢楼主的分享。。。

灵之守护 发表于 2017-8-1 17:14

好贴。谢谢楼主分享

gufannj 发表于 2017-8-1 20:02

下来看看,攒个积分{:5_264:}

wyangstudio 发表于 2017-8-2 07:50

感谢楼主分享   我的满电显示低电警告 电池显示半格只有插上电源才显示满电求解析

yearjinheng 发表于 2017-8-2 08:24

wyangstudio 发表于 2017-8-2 07:50 https://www.pcbeta.com/static/image/common/back.gif
感谢楼主分享   我的满电显示低电警告 电池显示半格只有插上电源才显示满电求解析

打开IOREG,搜索Battery,然后截图给我

yearjinheng 发表于 2017-8-2 08:25

wyangstudio 发表于 2017-8-2 07:50 https://www.pcbeta.com/static/image/common/back.gif
感谢楼主分享   我的满电显示低电警告 电池显示半格只有插上电源才显示满电求解析

或者打开ioreg,保存一个文件发给我也行。qq734378699,验证信息随便填

allegro 发表于 2017-8-2 09:02

楼主赶快发个教程造福大家吧

yearjinheng 发表于 2017-8-2 09:04

allegro 发表于 2017-8-2 09:02 https://www.pcbeta.com/static/image/common/back.gif
楼主赶快发个教程造福大家吧

早就发了,你可以去看看我的帖子。。。

wyangstudio 发表于 2017-8-2 12:35

yearjinheng 发表于 2017-8-2 08:25 https://www.pcbeta.com/static/image/common/back.gif
或者打开ioreg,保存一个文件发给我也行。qq734378699,验证信息随便填

感谢楼主热心恢复用度娘搜索ioreg都是win版 没有Mac版我的电脑安装单系统原版进不了pc这个DarwinDumper软件检测的硬件信息可以用吗?谢谢

yearjinheng 发表于 2017-8-2 13:02

wyangstudio 发表于 2017-8-2 12:35 https://www.pcbeta.com/static/image/common/back.gif
感谢楼主热心恢复用度娘搜索ioreg都是win版 没有Mac版我的电脑安装单系统原版进不了pc这个DarwinDu ...

我发你一个,

wyangstudio 发表于 2017-8-2 13:45

yearjinheng 发表于 2017-8-2 13:02 https://www.pcbeta.com/static/image/common/back.gif
我发你一个,

再次说声感谢已把我的IOREG文件发到你的qq邮箱了劳烦不忙时研究一下

yearjinheng 发表于 2017-8-2 14:04

wyangstudio 发表于 2017-8-2 13:45 https://www.pcbeta.com/static/image/common/back.gif
再次说声感谢已把我的IOREG文件发到你的qq邮箱了劳烦不忙时研究一下

已经看了,机型不对。笔记本不应该选择iMac 17.1,应该选择MacBookPro13,1

yearjinheng 发表于 2017-8-2 14:05

wyangstudio 发表于 2017-8-2 13:45 https://www.pcbeta.com/static/image/common/back.gif
再次说声感谢已把我的IOREG文件发到你的qq邮箱了劳烦不忙时研究一下

下载最新的电池补丁,同时发我修改好的dsdt&ssdt 和未修改过的dsdt&ssdt

yearjinheng 发表于 2017-8-2 14:06

wyangstudio 发表于 2017-8-2 13:45 https://www.pcbeta.com/static/image/common/back.gif
再次说声感谢已把我的IOREG文件发到你的qq邮箱了劳烦不忙时研究一下
dsdt最好在Linux下提取,

pxx808 发表于 2017-8-2 16:28


支持楼主,定制一个看看
页: [1] 2 3 4 5
查看完整版本: ACPI-Battery-Driver 全版本分享-更新至v1.81.4