mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 weeks ago | |
---|---|---|
.. | ||
README.txt | 2 weeks ago | |
onmouseover.webp | ||
power.c | 2 weeks ago | |
thumbnail.png |
README.txt
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!