Wi-Fi has two functions:
1) It identifies location: through local networks, without knowing their passwords, our app receives location coordinates.
Our app is able to acquire location from password protected Wi-Fi networks, thus always keep Wi-Fi connection enabled.
After acquiring location coordinates from password protected Wi-Fi networks, the app needs to send this data to the server. For this, a working mobile Internet connection (data plan: 3G, GPRS, EDGE, UMTS, WCDMA, HSDPA, HSUPA, HSPA, HSPA+, LTE) is required.
Accuracy of location acquired via Wi-Fi is about 20 meters.
2) It provides Internet connection: through networks with known password, the app sends information about phone location and its battery level to the servers.
Mobile Internet (data plan) is not used then.