diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2016-02-10 16:46:34 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2016-02-16 00:18:06 +0100 |
commit | 10b222288e686f0e37eaf148a8d99100d75a178b (patch) | |
tree | 5448e51c595762bf56f54b4dd32cbe76d255b6ad /libnm | |
parent | 0f5c5ad44692d029eec60cdc7d8783b51ede59bb (diff) | |
download | NetworkManager-10b222288e686f0e37eaf148a8d99100d75a178b.tar.gz |
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
Diffstat (limited to 'libnm')
-rw-r--r-- | libnm/libnm.ver | 1 |
1 files changed, 1 insertions, 0 deletions
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; |