PowerState

Available since LÖVE 0.9.0
This enum is not supported in earlier versions.

The basic state of the system's power supply.

Constants

unknown
Cannot determine power status.
battery
Not plugged in, running on a battery.
nobattery
Plugged in, no battery available.
charging
Plugged in, charging battery.
charged
Plugged in, battery is fully charged.

See Also

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/PowerState