Disable power management on the Google Laptop platform correctly
This commit is contained in:
parent
2ffdd1c44c
commit
682942e5fd
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue