Skip to content

Commit 088ad66

Browse files
Update include/SDL3/SDL_power.h
Co-authored-by: Sam Lantinga <[email protected]>
1 parent 032d696 commit 088ad66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/SDL3/SDL_power.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ typedef enum SDL_PowerState
7979
* It's possible a platform can only report battery percentage or time left
8080
* but not both.
8181
*
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.
8483
*
8584
* \param seconds a pointer filled in with the seconds of battery life left,
8685
* or NULL to ignore. This will be filled in with -1 if we

0 commit comments

Comments
 (0)