Not sure if it will control wifi but the app that controls connection and stuff could also be doing this. Like wren you put it to charge it whatever event is the trigger.

Sent from my C6916 using xda app-developers app

It was Battery Guru. I just disabled manage Wi-Fi based on my usage and don't manage Wi-Fi for at last 4 hours in Advanced and it not turning on anymore. I do it manually. Very happy now. Battery life stay up longer.

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer?