Type Alias: AutoStopOptions
AutoStopOptions =
object
Defined in: index.ts:129
Properties
airplaneMode?
optionalairplaneMode?:boolean
Defined in: index.ts:131
Auto stop binary if device is on airplane mode
batteryLevelBelow?
optionalbatteryLevelBelow?:number
Defined in: index.ts:138
Auto stop binary if battery level is below provided level/percentage.
Default: 10 (=10%)
batteryNotCharging?
optionalbatteryNotCharging?:boolean
Defined in: index.ts:141
Auto stop binary if battery is not in charging state
metered?
optionalmetered?:boolean
Defined in: index.ts:144
Auto stop binary if network is metered. Default: false
networkTypes?
optionalnetworkTypes?:DeviceNetworkType[]
Defined in: index.ts:151
Auto stop if matches any of the network types provided
Default: ['cellular']
powerSaveMode?
optionalpowerSaveMode?:boolean
Defined in: index.ts:154
Auto stop binary if device is on power save mode