AFAIK this wi-fi on even when it's meant to be off is not a bug, but a "feature" introduced by google in kitkat. It is always left on regardless of user will in order to get better precision in the determination of location, in google maps and similar apps.
I also dislike this "feature", that was draining all the battery of my Galaxy S2 with Cyanfox 2.0.2 (based on 4.4.2), but the good thing is that it can be disabled very easily:
Go to Wi-Fi Settings, then into the "Advanced" page. You'll find an option saying something like "Scanning always available for Google apps". Well, simply untick this option and voilà, wi-fi will regularly turn off.
And bye bye battery drain
|Thread Tools||Search this Thread|