MacTools 插件MacTools Plugin

电池充电上限Battery Charge Limit

设置电池充电上限,达到上限后停止充电;不自动恢复,由用户决定何时继续充电Set a battery charge limit and stop charging when it is reached; charging resumes only when you choose.

关于此插件About this plugin

设置电池充电上限,达到上限后停止充电;不自动恢复,由用户决定何时继续充电Set a battery charge limit and stop charging when it is reached; charging resumes only when you choose.

2.0.1版本Version4静态操作Static actions

插件信息Plugin information

使用场景Use cases

示例Examples

可发现的操作Discoverable actions

打开操作页面即可查看仅用于导航的 MacTools 链接。这些链接不会执行操作。Open an action page to view its navigation-only MacTools link. These links never run an action.

动态操作模板Dynamic action templates

安装后才会在本机发现具体条目;此页面仅展示模板。Entries are discovered locally after installation; this page shows templates only.

battery-charge-limit

充电上限Charge Limit

达到此电量后自动停止充电。Charging stops automatically at this level.

使用:Uses:目标电量Target Level

要求Requirements

开始使用Get started

  1. 安装特权辅助工具Install Privileged Helper首次使用时,MacTools 会请求管理员授权,在 /Library/PrivilegedHelperTools/cc.ggbond.mactools.battery-charge-limit.smc-helper 安装 root 所有且权限模式为 4755 的辅助工具,用于更改电池充电状态。On first use, MacTools requests administrator authorization to install a root-owned, mode-4755 helper at /Library/PrivilegedHelperTools/cc.ggbond.mactools.battery-charge-limit.smc-helper. The helper changes battery charging state.
  2. 确认电池兼容性Verify Compatible Battery需要配备内置电池,且可通过 SMC 控制充电状态的 Mac。Requires a Mac with a built-in battery whose charging state can be controlled through the SMC.

隐私Privacy