I had the same problem ever since I got my Huawei Mate 8; after a few experiments, the below is what worked for me...
Settings --> Advanced Settings --> Battery Manager --> Protected Apps.
Protect all apps that you need the accessibility for.
Restart phone.
Settings --> Advanced Settings -->...