# Getting the PiPAD 7" screen case power button to work.

**URL:** <https://forums.balena.io/t/getting-the-pipad-7-screen-case-power-button-to-work/364699>\
**Category:** Project help\
**Tags:** raspberrypi3\
**Created:** [October 12, 2022, 11:41pm UTC](https://forums.balena.io/t/getting-the-pipad-7-screen-case-power-button-to-work/364699 "2022-10-12T23:41:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamMidd](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@SamMidd](https://forums.balena.io/u/SamMidd)\
**Post date:** [October 12, 2022, 11:41pm UTC](https://forums.balena.io/t/getting-the-pipad-7-screen-case-power-button-to-work/364699/1 "2022-10-12T23:41:31Z")

</div>

Hi, I have a PiPAD case for the Pi and 7" screen which has a power button on the back.  
It comes with these instructions for making the button work on raspbian:

 ![IMG_20221013_113232159](https://global.discourse-cdn.com/balena/original/2X/b/b6b69b0d3ec9d86001a4432b32d1168f32bd53ea.jpeg)  
Can I get some help getting it to work in my balena project?  
I am running a version of [x11-window-manager](https://www.balena.io/blog/running-a-desktop-manager-with-balena/) updated to `balenalib/raspberrypi3-64:bullseye`.  
Thanks.

---

<div class="post-metadata">

**Author:** ![rahul-thakoor](https://avatars.discourse-cdn.com/v4/letter/r/9de053/32.png) [@rahul-thakoor](https://forums.balena.io/u/rahul-thakoor)\
**Post date:** [October 13, 2022, 12:22am UTC](https://forums.balena.io/t/getting-the-pipad-7-screen-case-power-button-to-work/364699/3 "2022-10-13T00:22:56Z")

</div>

Hi

According to the instructions you shared, you need to set the correct dtoverlay for your peripheral

You can find out how to do this [here](https://www.balena.io/docs/reference/OS/advanced/#setting-device-tree-overlays-dtoverlay-and-parameters-dtparam)

Note that since you have 2 entries for the dtoverlay, You would need to set the value to

```auto
"gpio-poweroff,gpiopin=18,active_low=0","gpio-shutdown,gpio_pin=17,active_low=1,gpio_pull=up"

```

Hope this helps

Thanks
