Skip to content

ElectronPowerSaveBlocker.isStarted method

ElectronPowerSaveBlocker › isStarted

Unofficial

Whether the corresponding powerSaveBlocker has started.

Signature:

isStarted(id: number): boolean

Parameters:

Parameter Type Description
id number The power save blocker id returned by start.

Returns: booleantrue if the power save blocker with the given id is currently active.