Disable power management on the Google Laptop platform correctly

This commit is contained in:
Scott Wallace 2019-02-26 09:57:13 +00:00
parent 2ffdd1c44c
commit 682942e5fd

View file

@ -10,8 +10,8 @@
become: true become: true
- name: 'Platform: Google Laptop: Disable wireless power management' - name: 'Platform: Google Laptop: Disable wireless power management'
copy: lineinfile:
dest: /etc/pm/sleep.d/wifi_pwr_off path: /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
content: '/sbin/iwconfig wlp1s0 power off' regexp: '^wifi.powersave ='
mode: '0500' line: 'wifi.powersave = 2'
become: true become: true