Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 applescript 获取电池状态/电量?
可能吗?
任何人都可以提供代码片段吗?
我的电池 kext 不工作,所以我需要一些来自硬件的直接信息。
您无法直接从 BIOS 获取电池信息。
有不同的方法:
也请看一下MSDN