BatteryControl command protection
Reviews BatteryControl commands that change charging policy, force discharge, or remove the privileged daemon.
Reviews BatteryControl commands that change charging policy, discharge state, or the privileged daemon installation, while keeping read-only status, diagnostics, and help output automatic.
command.batterycontrol · v1.0.0 · Other extensions
- Protection rules
- 5
- Permission checks
- 5
- Mapped commands
- 5
Overview
What this coverage does
Reviews BatteryControl commands that change charging policy, discharge state, or the privileged daemon installation, while keeping read-only status, diagnostics, and help output automatic.
Key facts
- Catalog ID
command.batterycontrol- Version
- v1.0.0
- Kind
- Command coverage
- Category
- Other extensions
- Protection rules
- 5
- Permission checks
- 5
- Mapped commands
- 5
- Maintainer
- Community contributor(community, provenance recorded)
- Source commit
- e2593fe
- Protection model
- External · opt-in
External coverage. It must be enabled through Guard controls; this page does not activate it.
Stated limits
- Coverage is limited to the reviewed operations and the surrounding Guard policy.
- A maintainer profile is not a security certification or an official upstream endorsement.
Command mapping
Every command this extension recognizes, with the catalog default floor Guard applies before workspace policy. Search the table, then open an operation for safe variants and the permission ID.
5 operations · 5 reviewed by default These are catalog defaults, not your workspace policy.
Showing 5 of 5 operations
- Reviewed Guard intercepts the command for review before it runs.Critical
batterycontrol discharge start 10 --allow-below-floor
BatteryControl below-floor forced discharge
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies `batterycontrol discharge start --allow-below-floor`, which consents to draining below the 20% safety floor. Upstream documents this as deliberate battery wear and the daemon enforces its own consent check.
- Permission ID
- command.batterycontrol.permission.discharge-below-floor
- Reviewed Guard intercepts the command for review before it runs.High
batterycontrol discharge start 60
BatteryControl forced discharge start
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies `batterycontrol discharge start`, which cuts adapter input and runs the Mac on battery down to a target while plugged in.
- Documented safe variants
batterycontrol discharge start command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.batterycontrol.permission.discharge-start
- Reviewed Guard intercepts the command for review before it runs.High
batterycontrol limit off --confirm
BatteryControl charge limit removal
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies `batterycontrol limit off`, which removes an active charge-limit policy and hands charging back to macOS. Upstream requires `--confirm` while a limit is active so unattended callers cannot silently drop the protection.
- Documented safe variants
batterycontrol limit off command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.batterycontrol.permission.limit-off
- Reviewed Guard intercepts the command for review before it runs.High
batterycontrol uninstall --confirm
BatteryControl privileged daemon uninstall
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies `batterycontrol uninstall`, which removes the root LaunchDaemon, the privileged helper, and the CLI after restoring normal charging.
- Documented safe variants
batterycontrol uninstall command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.batterycontrol.permission.uninstall
- Reviewed Guard intercepts the command for review before it runs.Medium
batterycontrol limit set 80
BatteryControl charge limit change
- Default floor
- Reviewed by default. Guard intercepts the command for review before it runs.
- Detector mode
- review
- What it matches
- Identifies `batterycontrol limit set`, which installs a daemon-owned charge-limit policy that changes when the battery charges and pauses until it is removed.
- Documented safe variants
batterycontrol limit set command helpskip this operation when they are the documented preview or help form.- Permission ID
- command.batterycontrol.permission.limit-set
Tool state mapping
No per-tool overrides are declared. Command defaults above resolve through the workspace Guard policy unless a later policy layer changes them.
Runtime identity
- Catalog ID
- command.batterycontrol
- Guard enforcement ID
- command.batterycontrol
- Source path
- contributions/extensions/command.batterycontrol.json
- Contribution digest
sha256…94917c
Action classes
batterycontrol charging policy commandbatterycontrol privileged maintenance commandTechnical profile
No independent profile published
This extension has no current independent technical profile. Catalog facts and any legacy launch remain separate and are not presented as profile evidence.
FAQ
Frequently asked questions
Reviews BatteryControl commands that change charging policy, discharge state, or the privileged daemon installation, while keeping read-only status, diagnostics, and help output automatic. The listing declares 5 rules and 5 permission checks. 5 operations · 5 reviewed by default. Coverage is limited to these reviewed operations and the surrounding Guard policy.
External · opt-in: External coverage. It must be enabled through Guard controls; this page does not activate it. Enabling state is always controlled through Guard policy, never from this directory.
This listing entered the catalog as a community contribution through a public pull request with recorded provenance, with public credit to @Ednk-1312, and 1 GitHub maintainer is recorded on the listing. Credit is attribution only. A verified publisher profile and the claim flow verify authority separately; neither is an upstream endorsement or a HOL safety certification.
No. Every listing documents source, activation model, maintainer identity, and stated limitations so you can evaluate coverage before enabling it. Review the stated limitations and the exact source tree before relying on any single control.
5 operations · 5 reviewed by default. Examples: batterycontrol discharge start 10 --allow-below-floor (reviewed by default); batterycontrol discharge start 60 (reviewed by default); batterycontrol limit off --confirm (reviewed by default); batterycontrol uninstall --confirm (reviewed by default); batterycontrol limit set 80 (reviewed by default). These are catalog defaults, not your workspace policy.
External coverage. It must be enabled through Guard controls; this page does not activate it. Enablement is managed through your workspace's Guard policy and controls — never from this directory. Open the install guidance for the setup flow, then adjust the command coverage for command.batterycontrol in Guard's policy surface.
The matching action is stopped at Guard's pre-action boundary before it executes, and the decision is recorded with evidence your workspace can review. Exact behavior follows your Guard policy combined with this entry's 5 rules and 5 permission checks.
No. Guard is local-first: interception, decisions, and evidence stay on your machine unless your workspace explicitly configures cloud features. This page is documentation only — it never executes a command or changes protection state.
Guard runs locally alongside the major AI coding agents and MCP-capable harnesses, so this coverage applies wherever Guard intercepts actions. See the supported harness guides at https://hol.org/guard/harnesses for per-tool approval behavior and limitations.
Guard has a free local tier that includes command interception, evidence, and the policy controls this listing documents. Team plans add shared policy, review queues, and audit surfaces. Current plans: https://hol.org/guard/pricing
Open an issue or pull request against the hol-guard repository, where the canonical catalog lives: https://github.com/hashgraph-online/hol-guard Listings are corrected through the same public review process that adds them.
Yes. Community extensions are merged through public pull requests with recorded provenance, and you can claim the publisher page for a contribution you maintain through the Publisher Studio.
The command mapping table is the audit trail for covered commands and catalog default floors. Pair it with the reviewed rule and permission counts, the per-tool state mapping, and the exact source tree linked from View exact source at the reviewed commit. Guard records enforcement decisions with evidence locally, so what ships matches what you reviewed.