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.
To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.
To initiate an exception request to enable this integration for your organization, email support@ddog-gov.com.
Overview
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.