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
- name: 'Platform: Google Laptop: Disable wireless power management'
copy:
dest: /etc/pm/sleep.d/wifi_pwr_off
content: '/sbin/iwconfig wlp1s0 power off'
mode: '0500'
lineinfile:
path: /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
regexp: '^wifi.powersave ='
line: 'wifi.powersave = 2'
become: true