# On Off Shim with Zero Lipo

**URL:** <https://forums.pimoroni.com/t/on-off-shim-with-zero-lipo/4892>\
**Category:** Support\
**Created:** [May 25, 2017, 6:33pm UTC](https://forums.pimoroni.com/t/on-off-shim-with-zero-lipo/4892 "2017-05-25T18:33:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [May 26, 2017, 1:53pm UTC](https://forums.pimoroni.com/t/on-off-shim-with-zero-lipo/4892/2 "2017-05-26T13:53:08Z")

</div>

Zero LiPo will assert BCM 4 when the battery starts to run low- you can use this to trigger a soft shutdown, there’s no need for OnOff SHIM.

OnOff SHIM is designed to cut the power from an external microUSB supply, and wouldn’t bring much to the table in this case.

After soft-shutdown your Pi will fire up again when you reconnect your charged battery.

Our Clean Shutdown script supports Zero LiPo: [https://github.com/pimoroni/clean-shutdown](https://github.com/pimoroni/clean-shutdown)

This is set up automatically when you install Zero LiPo via: `curl https://get.pimoroni.com/zerolipo | bash`

---

_[View the full topic](https://forums.pimoroni.com/t/on-off-shim-with-zero-lipo/4892)._
