RADLib
RADical C++ application framework
RADPower Namespace Reference

Classes

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

Enumerations

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

Enumeration Type Documentation

◆ PowerAction

enum RADPower::PowerAction
strong

Guarded system power action.

Enumerator
Suspend 

Suspend the system.

Reboot 

Reboot the system.

Shutdown 

Shut down the system.