ShareShortcuts

Ultra Low Power

This is a shortcut that makes your phone use the smallest amount of power possible

fkawilliams
Bifurcar “Ultra Low Power”

¿Creaste algo nuevo a partir de este atajo? Compártelo como bifurcación: se convierte en un atajo tuyo, que tú administras, y ambas páginas se enlazan entre sí para que fkawilliams reciba el crédito.

  1. 1Obtén el atajo y modifícalo en la app Atajos. Ponle un nombre propio.
  2. 2Compártelo desde la app Atajos y copia el enlace de iCloud.
  3. 3Vuelve aquí, pega el enlace y describe qué es diferente, p. ej., “Se añadió un paso que usa Apple Intelligence para personalizar el texto”.
Descargas
40K
Guardado
1
Acciones
80
Categoría
API
Versión
1.0
Idioma
EN

This is a shortcut that makes your phone use the smallest amount of power possible. This should also help charge your phone faster. To use: There is a short first time setup. Once that is done all you need to do is click the shortcut once to turn “Ultra Low Power” mode on and another click will turn it off.

What “Ultra Low Power” mode does:

Turns wifi off

Turns Bluetooth off

Turns mobile data off

Turns aeroplane mode on

Turns low power mode on

Turns volume down

Turns brightness down

Turns do not disturb on

Lowers white point

Turns torch off (if it is on)

Switches appearance to dark mode

Novedades

Versión 1.0

First release

Historial de versiones
1.0 26 de jul. de 2022

First release

Qué hace

80 acciones
  1. Text
  2. Set Variable
    Wifi
  3. Text
  4. Set Variable
    Bluetooth
  5. Text
  6. Set Variable
    Data
  7. Text
  8. Set Variable
    DND
  9. Text
  10. Set Variable
    Color
  11. Get File
  12. Set Variable
    Config
  13. Count
  14. If
  15. Create Folder
  16. Text
  17. Save File
  18. Set Variable
    Config
  19. If
  20. Get File
  21. Set Variable
    State
  22. Count
  23. If
  24. Text
  25. Save File
  26. Set Variable
    State
  27. If
  28. Get File
  29. Get Text from Input
  30. If
  31. Set Wi-Fi
  32. Set Bluetooth
  33. Set Cellular Data
  34. Set Brightness
  35. Set Volume
  36. Set Low Power Mode
  37. Set Airplane Mode
  38. Set Appearance
  39. Set Flashlight
  40. Set Focus
  41. Toggle White Point
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  42. Text
  43. Save File
  44. If
  45. If
  46. Get File
  47. Get Text from Input
  48. Split Text
  49. Get Item from List
  50. Set Variable
    WifiPref
  51. Get Item from List
  52. Set Variable
    BluetoothPref
  53. Get Item from List
  54. Set Variable
    DataPref
  55. Get Item from List
  56. Set Variable
    DNDPref
  57. Get Item from List
  58. Set Variable
    ColorPref
  59. Set Brightness
  60. Set Low Power Mode
  61. Set Airplane Mode
  62. Toggle White Point
    com.apple.AccessibilityUtilities.AXSettingsShortcuts
  63. If
  64. Set Wi-Fi
  65. If
  66. If
  67. Set Bluetooth
  68. If
  69. If
  70. Set Cellular Data
  71. If
  72. If
  73. Set Focus
  74. If
  75. If
  76. Set Appearance
  77. If
  78. Text
  79. Save File
  80. If

Ver como código
Beta

Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.

#define mac false
#include 'actions/text'
#include 'actions/documents'
#define color green
#define glyph battery

@Wifi = "On"
@Bluetooth = "On"
@Data = "On"
@DND = "Off"
@Color = "Light"
getFileFromFolder(, "UltraLowPower/config.txt", false)
@Config
const Count = count(@Config)

if Count == 0 {
	createFolder("UltraLowPower")
	const Text = "{@Wifi}\n{@Bluetooth}\n{@Data}\n{@DND}\n{@Color}"
	saveFile("/UltraLowPower/config.txt", Text, true)
	@Config
} else {
}
getFile("/UltraLowPower/state.txt", false)
@State
const Count1 = count(@State)

if Count1 == 0 {
	const Text1 = "0"
	saveFile("/UltraLowPower/state.txt", Text1, true)
	@State
} else {
}
const File = getFile("/UltraLowPower/state.txt")
const Text2 = getText(File)

if Text2 contains "0" {
	setWifi(0)
	setBluetooth(0)
	setCellularData(0)
	setBrightness(0)
	setVolume(0)
	setLowPowerMode(1)
	setAirplaneMode(false)
	darkMode()
	toggleFlashlight(0.5)
	setFocusMode()
	setWhitePoint(false)
	const Text3 = "1"
	saveFile("/UltraLowPower/state.txt", Text3, true)
} else {
	if Text2 contains "1" {
		const File1 = getFile("/UltraLowPower/config.txt")
		const Text4 = getText(File1)
		const SplitText = splitText(Text4, "
")
		getFirstItem(SplitText)
		@WifiPref
		getListItem(SplitText, 2)
		@BluetoothPref
		getListItem(SplitText, 3)
		@DataPref
		getListItem(SplitText, 4)
		@DNDPref
		getListItem(SplitText, 5)
		@ColorPref
		setBrightness(0.34730538725852966)
		setLowPowerMode(0)
		setAirplaneMode(0)
		setWhitePoint(0)
		if @WifiPref == "On" {
			setWifi(false)
		} else {
		}
		if @BluetoothPref == "On" {
			setBluetooth(false)
		} else {
		}
		if @DataPref == "On" {
			setCellularData(false)
		} else {
		}
		if @DNDPref == "Off" {
			toggleFocusMode()
		} else {
		}
		if @ColorPref == "Light" {
			darkMode()
		} else {
		}
		const Text5 = "0"
		saveFile("/UltraLowPower/state.txt", Text5, true)
	} else {
	}
}
Abrir en Cherri Playground Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.

Valoraciones y reseñas

Escribe una reseña
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!

Publicidad

Más de fkawilliams

Ver todo

También te puede gustar

Ver todo
Publicidad