# Turn off power\_save on wifi

**URL:** https://community.openconversational.ai/t/turn-off-power-save-on-wifi/12927
**Category:** Mark II Feature Suggestions - Voting Enabled
**Created:** [December 11, 2022, 10:42pm UTC](https://community.openconversational.ai/t/turn-off-power-save-on-wifi/12927 "2022-12-11T22:42:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![randomgrace](https://community.openconversational.ai/user_avatar/community.openconversational.ai/randomgrace/32/4364_2.png) [@randomgrace](https://community.openconversational.ai/u/randomgrace)
#### Post date: [December 11, 2022, 10:42pm UTC](https://community.openconversational.ai/t/turn-off-power-save-on-wifi/12927/1 "2022-12-11T22:42:29Z")

</div>

Minor tweak - mainly because I can’t find a way to make this stick. One of the pet peeves of mine with the Raspberry Pi is that the default is to set the wi-fi in power saving mode, which means it goes to sleep on a periodic basis, and ssh connections are hung until the wifi wakes up.

Something like the following, in the aw\_connect container, might do the trick, and poking at it seems to work, but I do not know where to add it in the startup to make it stick:

/sbin/iw wlan0 set power\_save off

---

<div class="post-metadata">

### Author: ![j1nx](https://community.openconversational.ai/user_avatar/community.openconversational.ai/j1nx/32/1260_2.png) [@j1nx](https://community.openconversational.ai/u/j1nx)
#### Post date: [December 12, 2022, 7:00am UTC](https://community.openconversational.ai/t/turn-off-power-save-on-wifi/12927/2 "2022-12-12T07:00:33Z")

</div>

You can use the below systemd service file and enable it for wlan0

> <https://github.com/OpenVoiceOS/ovos-buildroot/blob/develop/buildroot-external/board/raspberrypi/rootfs-overlay/usr/lib/systemd/system/wifi_powersave%40.service>
