Created
February 7, 2022 16:26
-
-
Save giggio/a1627bd276c7b23be9a991f0fa9c3bf0 to your computer and use it in GitHub Desktop.
Macrodroid script to block your phone if connected or disconnected from charger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"localVariables": [], | |
"m_GUID": -8771842219708162749, | |
"m_actionList": [ | |
{ | |
"m_pieLockScreen": true, | |
"m_screenOff": true, | |
"m_screenOffNoLock": false, | |
"m_screenOnAlternative": false, | |
"m_SIGUID": -6648599151749269592, | |
"m_classType": "ScreenOnAction", | |
"m_constraintList": [], | |
"m_isDisabled": false, | |
"m_isOrCondition": false | |
} | |
], | |
"m_category": "Segurança", | |
"m_constraintList": [ | |
{ | |
"m_SSIDList": [ | |
"Rede 1", | |
"Rede 2" | |
], | |
"m_wifiState": 3, | |
"m_SIGUID": -5449556599058705356, | |
"m_classType": "WifiConstraint", | |
"m_constraintList": [], | |
"m_isDisabled": false, | |
"m_isOrCondition": false | |
} | |
], | |
"m_description": "", | |
"m_descriptionOpen": false, | |
"m_enabled": true, | |
"m_excludeLog": false, | |
"m_headingColor": 0, | |
"m_isOrCondition": false, | |
"m_name": "Bloqueia quando carregador (des)conecta", | |
"m_triggerList": [ | |
{ | |
"m_hasSetNewPowerConnectedOptions": false, | |
"m_hasSetUSBOption": false, | |
"m_powerConnected": false, | |
"m_powerConnectedOptions": [ | |
true, | |
true, | |
true | |
], | |
"m_SIGUID": -9183609775845613750, | |
"m_classType": "ExternalPowerTrigger", | |
"m_constraintList": [], | |
"m_isDisabled": false, | |
"m_isOrCondition": false | |
}, | |
{ | |
"m_hasSetNewPowerConnectedOptions": true, | |
"m_hasSetUSBOption": true, | |
"m_powerConnected": true, | |
"m_powerConnectedOptions": [ | |
true, | |
true, | |
true | |
], | |
"m_SIGUID": -7931993494098629834, | |
"m_classType": "ExternalPowerTrigger", | |
"m_constraintList": [], | |
"m_isDisabled": false, | |
"m_isOrCondition": false | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment