ShareShortcuts

Ultra Low Power

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

fkawilliams
„Ultra Low Power“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit fkawilliams die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
40K
Gesichert
1
Aktionen
80
Kategorie
API
Version
1.0
Sprache
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

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 26. Jul 2022

First release

Was er macht

80 Aktionen
  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

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#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 {
	}
}
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von fkawilliams

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung