Module fermium::power [−][src]
Lets you get power info about the system.
Structs
SDL_PowerState | The basic state for the system’s power supply. |
Constants
SDL_POWERSTATE_CHARGED | Plugged in, battery charged. |
SDL_POWERSTATE_CHARGING | Plugged in, charging battery. |
SDL_POWERSTATE_NO_BATTERY | Plugged in, no battery available. |
SDL_POWERSTATE_ON_BATTERY | Not plugged in, running on the battery. |
SDL_POWERSTATE_UNKNOWN | Cannot determine power status. |
Functions
SDL_GetPowerInfo⚠ | Get the current power supply details. |