> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/shark-jack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/shark-jack/writing-payloads/the-battery-command.md).

# The BATTERY Command

`BATTERY` is a Ducky Script command which will output the current battery state.

| State         | Note                       |
| ------------- | -------------------------- |
| `discharging` | The battery is discharging |
| `full`        | The battery is full        |
| `charging`    | The battery is charging    |

{% hint style="info" %}
The `BATTERY` command is specific to the original Shark Jack and is not applicable for the Shark Jack Cable variant as it does not include a built-in battery.
{% endhint %}
