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

Other Languages

Personal tools