SDL_PowerState
The basic state for the system's power supply.
Definition: SDL_power.h:43
@ SDL_POWERSTATE_NO_BATTERY
Definition: SDL_power.h:46
@ SDL_POWERSTATE_CHARGING
Definition: SDL_power.h:47
@ SDL_POWERSTATE_CHARGED
Definition: SDL_power.h:48
@ SDL_POWERSTATE_UNKNOWN
Definition: SDL_power.h:44
@ SDL_POWERSTATE_ON_BATTERY
Definition: SDL_power.h:45
DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct)
Get the current power supply details.