From 10b222288e686f0e37eaf148a8d99100d75a178b Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 10 Feb 2016 16:46:34 +0100 Subject: wifi: don't touch by default current powersave setting Some drivers (or things outside NM like 'powertop') may turn powersave on, so don't touch it unless explicitly configured by user. To achieve this, add new 'default' and 'ignore' options; the former can be used to fall back to a globally configured setting, while the latter tells NM not to touch the current setting. When 'default' is specified, a missing global default configuration is equivalent to 'ignore'. It is possible to enable Wi-Fi power saving for all connections by dropping a file in /etc/NetworkManager/conf.d with the following content: [connection] wifi.powersave=3 https://bugzilla.gnome.org/show_bug.cgi?id=760125 --- libnm/libnm.ver | 1 + 1 file changed, 1 insertion(+) (limited to 'libnm') diff --git a/libnm/libnm.ver b/libnm/libnm.ver index 8e01a310fb..3867c3df0e 100644 --- a/libnm/libnm.ver +++ b/libnm/libnm.ver @@ -1014,6 +1014,7 @@ global: nm_setting_wired_wake_on_lan_get_type; nm_setting_wireless_get_powersave; nm_setting_wireless_get_mac_address_randomization; + nm_setting_wireless_powersave_get_type; nm_utils_bond_mode_int_to_string; nm_utils_bond_mode_string_to_int; nm_utils_enum_from_str; -- cgit v1.2.1