[P8lite General] brunolee:
Your file is missing some lines, strange...

My file /system/etc/xml/hw_easywakeupmotion_config.xml it is like this:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<!--
This is the config about EasyWakeUp in cust
Here when the flag more than 20 the EasyWakeUpMotion is only a power on_off
eg:
<EasyWakeUpMotion name="Flick" support="1" value="1" flag="30"/>
The power on_off about Flick

<EasyWakeUpMotion name="Draw" support="1" value="1" flag="29"/>
The power on_off about Draw

here the support is no used

if the flag less than 20
eg:
<EasyWakeUpMotion name="Cover_Screen" support="1" value="1" flag="10"/>
support means the feature support
value means the default value
flag means the support flag

-->
<HwEasyWakeUpMotion>
<EasyWakeUpMotion name="Cover_Screen" support="[COLOR="red"]1[/COLOR]" value="[COLOR="red"]1[/COLOR]" flag="11" keycode="142" />
<EasyWakeUpMotion name="Double_Touch" support="1" value="[COLOR="red"]1[/COLOR]" flag="0" keycode="131" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_ALL" support="0" value="0" flag="14" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_Right" support="0" value="0" flag="1" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_left" support="0" value="0" flag="2" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_Down" support="0" value="0" flag="3" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_Up" support="0" value="0" flag="4" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_ALL" support="1" value="0" flag="13" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_O" support="0" value="0" flag="5" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_C" support="1" value="1" flag="7" keycode="138" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_E" support="1" value="1" flag="8" keycode="139" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_M" support="1" value="1" flag="9" keycode="140" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_W" support="1" value="1" flag="10" keycode="141" />
[COLOR="Red"]<EasyWakeUpMotionPkg name="EasyWakeUp_Letter_E" value="com.android.chrome;com.google.android.apps.chrome.Main" />[/COLOR]
<MaxKeyCode name="MaxKeyCode" value="142" />
<MinKeyCode name="MinKeyCode" value="131" />
<DriverFileLength name="DriverFileLength" value="16" />
<DriverPostionPath name="DriverPostionPath" value="/sys/touchscreen/easy_wakeup_position" />
<DriverGesturePath name="DriverGesturePath" value="/sys/touchscreen/easy_wakeup_gesture" />
<DriverControlPath name="DriverControlPath" value="/sys/touchscreen/easy_wakeup_control" />
<SensorNear name="SensorNear" value="0" />
<SensorFar name="SensorFar" value="5" />
[COLOR="red"]<SensorWatchTime name="SensorWatchTime" support="120" />[/COLOR]
</HwEasyWakeUpMotion>

Try that, and if not work on first time restart your phone and try again.

Works fine for me!

My default file

It is like this:

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<!--
This is the config about EasyWakeUp in cust
Here when the flag more than 20 the EasyWakeUpMotion is only a power on_off
eg:
<EasyWakeUpMotion name="Flick" support="1" value="1" flag="30"/>
The power on_off about Flick

<EasyWakeUpMotion name="Draw" support="1" value="1" flag="29"/>
The power on_off about Draw

here the support is no used

if the flag less than 20
eg:
<EasyWakeUpMotion name="Cover_Screen" support="1" value="1" flag="10"/>
support means the feature support
value means the default value
flag means the support flag

-->
<HwEasyWakeUpMotion>
<EasyWakeUpMotion name="Cover_Screen" support="[COLOR="red"]0[/COLOR]" value="[COLOR="red"]0[/COLOR]" flag="11" keycode="[COLOR="red"]-1[/COLOR]" />
<EasyWakeUpMotion name="Double_Touch" support="1" value="[COLOR="red"]0[/COLOR]" flag="0" keycode="131" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_ALL" support="0" value="0" flag="14" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_Right" support="0" value="0" flag="1" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_left" support="0" value="0" flag="2" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_Down" support="0" value="0" flag="3" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Flick_Up" support="0" value="0" flag="4" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_ALL" support="1" value="0" flag="13" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_O" support="0" value="0" flag="5" keycode="-1" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_C" support="1" value="1" flag="7" keycode="138" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_E" support="1" value="1" flag="8" keycode="139" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_M" support="1" value="1" flag="9" keycode="140" />
<EasyWakeUpMotion name="EasyWakeUp_Letter_W" support="1" value="1" flag="10" keycode="141" />
<EasyWakeUpMotionPkg name="EasyWakeUp_Letter_E" value="com.android.chrome;com.google.android.apps.chrome.Main" />
<MaxKeyCode name="MaxKeyCode" value="[COLOR="Red"]141[/COLOR]" />
<MinKeyCode name="MinKeyCode" value="131" />
<DriverFileLength name="DriverFileLength" value="16" />
<DriverPostionPath name="DriverPostionPath" value="/sys/touchscreen/easy_wakeup_position" />
<DriverGesturePath name="DriverGesturePath" value="/sys/touchscreen/easy_wakeup_gesture" />
<DriverControlPath name="DriverControlPath" value="/sys/touchscreen/easy_wakeup_control" />
<SensorNear name="SensorNear" value="0" />
<SensorFar name="SensorFar" value="5" />
<SensorWatchTime name="SensorWatchTime" support="120" />
</HwEasyWakeUpMotion>