First define "longer period" ? Display should turn off when inserted to pocket, but it should wake up when proximity is cleared - does this work with "shorter periods" in your pocket? Do you have leather pants? Noticed that the proximity sensor has difficulties to detect black leather... Have you tried to systemctl restart toholed.service ? Can you provide me some journals via email ?