Files
pke/thirdparty/SDL3-3.4.0/examples/misc/01-power
2026-02-12 11:46:06 +03:00
..
2026-02-12 11:46:06 +03:00
2026-02-12 11:46:06 +03:00
2026-02-12 11:46:06 +03:00
2026-02-12 11:46:06 +03:00

This example code reports power status (plugged in, battery level, etc).

Note that only Chrome-based browsers support this API currently. Firefox and
Safari will report this as unknown, but this may change later!