Enum sdl2_sys::SDL_PowerState [−][src]
#[repr(u32)]
pub enum SDL_PowerState {
SDL_POWERSTATE_UNKNOWN,
SDL_POWERSTATE_ON_BATTERY,
SDL_POWERSTATE_NO_BATTERY,
SDL_POWERSTATE_CHARGING,
SDL_POWERSTATE_CHARGED,
}
Expand description
\brief The basic state for the system’s power supply.
Variants
< cannot determine power status
< Not plugged in, running on the battery
< Plugged in, no battery available
< Plugged in, charging battery
< Plugged in, battery charged