Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::power_source_info Struct Reference

Information about a power source. More...

#include <power_collector.h>

Collaboration diagram for kcenon::monitoring::power_source_info:
Collaboration graph

Public Attributes

std::string id
 Unique source identifier.
 
std::string name
 Human-readable source name.
 
std::string path
 Platform-specific path (e.g., /sys/class/power_supply/BAT0)
 
power_source_type type {power_source_type::unknown}
 Power source type classification.
 

Detailed Description

Information about a power source.

Definition at line 86 of file power_collector.h.

Member Data Documentation

◆ id

std::string kcenon::monitoring::power_source_info::id

Unique source identifier.

Definition at line 87 of file power_collector.h.

◆ name

std::string kcenon::monitoring::power_source_info::name

Human-readable source name.

Definition at line 88 of file power_collector.h.

◆ path

std::string kcenon::monitoring::power_source_info::path

Platform-specific path (e.g., /sys/class/power_supply/BAT0)

Definition at line 89 of file power_collector.h.

◆ type

power_source_type kcenon::monitoring::power_source_info::type {power_source_type::unknown}

Power source type classification.

Definition at line 90 of file power_collector.h.


The documentation for this struct was generated from the following file: