Using a text editor I can edit the file /sys/devices/platform/huawei_charger/enable_charger with 1 or 0 as required (note I had the file wrong above). I am trying MacroDroid script as suggested . See screenshot. I test its action. MacrDoid is given SuperUser permission but nothing changes. What...
I am running linageOS 17 (Android 10} on an unlocked Huawei MediaPad M3. Magdisk is installed and MacroDroid given Super User rights, I am planning to control the charging depending on the current charge state. I need to write either 1 or 0 to file /sys/devices/platform/huawei_charger ...
I have a macro which is triggered by a floating button.
I want a different action if I double tap the floating button. I cannot find a way to detect a double tap.
Is is possible to detect a double tap of a floating button?