diff --git a/power/Power.cpp b/power/Power.cpp index b8418f1..adc11a5 100644 --- a/power/Power.cpp +++ b/power/Power.cpp @@ -137,11 +137,9 @@ Return Power::setFeature(Feature feature __unused, bool activate __unused) initialize(); } -#ifdef TAP_TO_WAKE_NODE if (feature == Feature::POWER_FEATURE_DOUBLE_TAP_TO_WAKE) { - set(TAP_TO_WAKE_NODE, activate ? "1" : "0"); + set("/sys/class/sec/tsp/cmd", activate ? "aot_enable,1" : "aot_enable,0"); } -#endif return Void(); } diff --git a/power/include/samsung_power.h b/power/include/samsung_power.h index c85b650..e04eaa3 100644 --- a/power/include/samsung_power.h +++ b/power/include/samsung_power.h @@ -36,7 +36,4 @@ static const std::vector cpuInteractivePaths = { "/sys/devices/system/cpu/cpu4/cpufreq/interactive" }; -/* double tap to wake node */ -//#define TAP_TO_WAKE_NODE "/sys/class/sec/tsp/dt2w_enable" - #endif // SAMSUNG_POWER_H