Ecological and non intrusive user activity detector to keep smartphone screen on