sdl3/sdl_power library

Functions

sdlGetPowerInfo(Pointer<Int32> seconds, Pointer<Int32> percent) → int power
Get the current power supply details.
sdlxGetPowerInfo() → ({int percent, int seconds, int state}) power
Get the current power supply details.