UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines (19 loc) 462 B
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction'; /** * @action Set Low Power Mode * @section Actions > Scripting > Device * @icon Battery * * Sets the device’s Low Power Mode to on or off. * * ```js * setLowPowerMode({ * value: false, * }); * ``` */ declare const setLowPowerMode: ({ value, }: { /** Enable or disable low power mode */ value?: boolean | undefined; }) => WFWorkflowAction; export default setLowPowerMode;