But being always online will drain the battery. And when the user uses Internet once or twice a day - I guess it's useless to have the WiFi always on. Is it possible to trigger a script whenever the device has connected to a network? On desktop we have the NetworkManager dispatcher