mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-13 10:14:45 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -79,7 +79,9 @@ typedef enum SDL_PowerState
|
|||||||
* It's possible a platform can only report battery percentage or time left
|
* It's possible a platform can only report battery percentage or time left
|
||||||
* but not both.
|
* but not both.
|
||||||
*
|
*
|
||||||
* On some platforms, retrieving power supply details might be expensive. If you want to display continuous status you could call this function every minute or so.
|
* On some platforms, retrieving power supply details might be expensive. If
|
||||||
|
* you want to display continuous status you could call this function every
|
||||||
|
* minute or so.
|
||||||
*
|
*
|
||||||
* \param seconds a pointer filled in with the seconds of battery life left,
|
* \param seconds a pointer filled in with the seconds of battery life left,
|
||||||
* or NULL to ignore. This will be filled in with -1 if we
|
* or NULL to ignore. This will be filled in with -1 if we
|
||||||
|
|||||||
Reference in New Issue
Block a user