Files
SDL/examples/misc/01-power/README.txt
T

5 lines
218 B
Plaintext

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 unsupported, but this may change later!