For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/integrations/battery.md.
A documentation index is available at /llms.txt.
This check monitors battery health on MacOS and Windows laptops.
Minimum Agent version: 7.75.0
Setup
Installation
The Battery check is included in the Datadog Agent package.
No additional installation is needed on your server.
Configuration
The configuration is located in the battery.d/conf.yaml file in the conf.d/ folder at the root of your Agent’s configuration directory. See the sample battery.d/conf.yaml for all available configuration options. When you are done editing the configuration file, restart the Agent to load the new configuration.