RADLib
RADical C++ application framework
RADPower::PowerSupplyInfo Struct Reference

Power supply snapshot. More...

#include <RADPower.h>

Public Attributes

std::string name
 Supply name. More...
 
std::string type
 Supply type. More...
 
std::string status
 Charging/discharging status. More...
 
int capacityPercent = -1
 Capacity percent, or -1 when unknown. More...
 

Detailed Description

Power supply snapshot.

Member Data Documentation

◆ capacityPercent

int RADPower::PowerSupplyInfo::capacityPercent = -1

Capacity percent, or -1 when unknown.

◆ name

std::string RADPower::PowerSupplyInfo::name

Supply name.

◆ status

std::string RADPower::PowerSupplyInfo::status

Charging/discharging status.

◆ type

std::string RADPower::PowerSupplyInfo::type

Supply type.


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