Skip to content

Type Alias: AutoStopOptions ​

AutoStopOptions = object

Defined in: index.ts:129

Properties ​

airplaneMode? ​

optional airplaneMode?: boolean

Defined in: index.ts:131

Auto stop binary if device is on airplane mode


batteryLevelBelow? ​

optional batteryLevelBelow?: number

Defined in: index.ts:138

Auto stop binary if battery level is below provided level/percentage.

Default: 10 (=10%)


batteryNotCharging? ​

optional batteryNotCharging?: boolean

Defined in: index.ts:141

Auto stop binary if battery is not in charging state


metered? ​

optional metered?: boolean

Defined in: index.ts:144

Auto stop binary if network is metered. Default: false


networkTypes? ​

optional networkTypes?: DeviceNetworkType[]

Defined in: index.ts:151

Auto stop if matches any of the network types provided

Default: ['cellular']


powerSaveMode? ​

optional powerSaveMode?: boolean

Defined in: index.ts:154

Auto stop binary if device is on power save mode