You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: include/SDL3/SDL_power.h
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,7 @@ typedef enum SDL_PowerState
79
79
* It's possible a platform can only report battery percentage or time left
80
80
* but not both.
81
81
*
82
-
* On some platforms, retrieving power supply details might be expensive. It
83
-
* is not recommended to invoke this function every frame.
82
+
* 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.
84
83
*
85
84
* \param seconds a pointer filled in with the seconds of battery life left,
86
85
* or NULL to ignore. This will be filled in with -1 if we
0 commit comments