rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
|
Power state functions and enums. More...
Classes | |
struct | Status |
System power status snapshot. More... | |
Enumerations | |
enum | State { onBattery, noBattery, charging, charged, unknown } |
Indicates battery status a.k.a. the system power state. More... | |
Functions | |
Status | status () noexcept |
Get a system power status snapshot. | |
Power state functions and enums.
|
strong |
Indicates battery status a.k.a. the system power state.