OSSingleton.getPowerState

Returns the current state of the device regarding battery and power. See POWERSTATE_* constants.

struct OSSingleton
@nogc nothrow
getPowerState
()

Meta