Set Wifi As Metered Connection

I'm running on Ubuntu 15.10(KDE). I have enabled automatic updates on many applications.I'm now connected to Wifi Hotspot from my phone so don't want Ubuntu to auto update apps and save my bandwidth to reduce usage as much as possible.In windows there is an option to set a Wifi as metered connection and windows wouldn't auto update the applications similarly how to do it in Ubuntu?


In Ubuntu 20.04 They added metered connection option.

GUI:

In Wifi setting click on the gear icon next to your wifi ssid. At the bottom you will see the checkbox for metered connection.

Terminal:

Turn on:

nmcli connection modify YOUR_WIFI_SSID connection.metered yes

Show current status:

nmcli -f connection.metered connection show YOUR_WIFI_SSID

This feature is not implemented yet. It is drafted in the wiki, to not check for updates when a connection is detected as a mobile broadband connection.

For now, you should disable auto-updates or check for updates, if you use your mobile connection too often, to save bandwitdh, then re-enable it when you connect to wifi.