RADLib
RADical C++ application framework
RADPower.h File Reference

Power supply, thermal, CPU governor, and guarded power-action helpers. More...

#include <RADCore/RADCore.h>
#include <string>
#include <vector>
+ Include dependency graph for RADPower.h:

Go to the source code of this file.

Classes

struct  RADPower::PowerPaths
 Filesystem roots used for power discovery. More...
 
struct  RADPower::PowerSupplyInfo
 Power supply snapshot. More...
 
struct  RADPower::ThermalZoneInfo
 Thermal zone snapshot. More...
 
struct  RADPower::CpuGovernorInfo
 CPU governor snapshot. More...
 
struct  RADPower::PowerActionPlan
 Prepared action result. More...
 
class  RADPower::PowerManager
 Power manager with read-only status helpers and explicit dangerous actions. More...
 

Namespaces

 RADPower
 

Enumerations

enum class  RADPower::PowerAction { RADPower::Suspend , RADPower::Reboot , RADPower::Shutdown }
 Guarded system power action. More...
 

Detailed Description

Power supply, thermal, CPU governor, and guarded power-action helpers.