Try using these 3rd apps I found in Google Play store: - Smart Cover Lite (link)- Flip Cover Control (link)
Hope that helps!
I have flip cover of xperia E3 but without open case it is not functioning