Power Supply (Win)
Plugin: windows.plugin Module: GetPowerSupply
Overview
This collector monitors power supply statistics on Windows systems.
It uses Windows Internal API to retrieve available data.
This collector is only supported on the following platforms:
- windows
This collector only supports collecting metrics from a single instance of this integration.
Default Behavior
Auto-Detection
The collector automatically detects all of the metrics, no further configuration is required.
Performance Impact
The default configuration for this integration is not expected to impose a significant performance impact on the system.
Setup
Prerequisites
No action required.
Configuration
Options
| Option | Description | Default | Required |
|---|---|---|---|
| update every | Data collection frequency. | 1 | no |
via File
The configuration file name for this integration is netdata.conf.
Configuration for this specific integration is located in the [plugin:windows:GetPowerSupply] section within that file.
The file format is a modified INI syntax. The general structure is:
[section1]
option1 = some value
option2 = some other value
[section2]
option3 = some third value
You can edit the configuration file using the edit-config script from the
Netdata config directory.
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config netdata.conf
Examples
There are no configuration examples.
Alerts
The following alerts are available:
| Alert name | On metric | Description |
|---|---|---|
| power_supply_capacity | powersupply.capacity | Percentage of remaining power supply capacity |
Metrics
Metrics grouped by scope.
The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
Per Power Supply
These metrics refer to Power Supply device.
Labels:
| Label | Description |
|---|---|
| device | Device name delivered as a Windows path. |
Metrics:
| Metric | Description | Dimensions | Unit |
|---|---|---|---|
| powersupply.capacity | Battery capacity | capacity | percentage |
| powersupply.voltage | Power supply voltage | now | V |
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.