First, check if this shortcut was run from an Automation that passed an action word input to it.
Update checking actions. Note that update checks will only run if the device is connected to WiFi and if the shortcut was not run from an Automation.
If version published on Shortcuty is greater than the version on your local device, start update actions.
Open Shortcuty page of the new updated shortcut.
This Shortcut includes a feature that lets you choose whether or not to enable a Focus mode each time it is run. Please type the name of your preferred Focus mode to associate with this shortcut. Note that capitalization and spelling must match exactly.
Start of this shortcut’s main actions.
Enable Extend Battery with an Automation, with one tap, or if the shortcut was run with Siri, with one voice response.
List of available options to enable/disable.
These are the actions that return all settings back to normal when Extend Battery is turned off.