# Onoff SHIM : No led, power on but does not shutdown

**URL:** <https://forums.pimoroni.com/t/onoff-shim-no-led-power-on-but-does-not-shutdown/10221>\
**Category:** Support\
**Created:** [March 21, 2019, 9:42pm UTC](https://forums.pimoroni.com/t/onoff-shim-no-led-power-on-but-does-not-shutdown/10221 "2019-03-21T21:42:29Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [March 23, 2019, 8:47pm UTC](https://forums.pimoroni.com/t/onoff-shim-no-led-power-on-but-does-not-shutdown/10221/8 "2019-03-23T20:47:29Z")

</div>

Have a look at this, might be relevant.

> [@Button Shim hold issue](https://forums.pimoroni.com/t/button-shim-hold-issue/10157/6):
>
> Looks like the code behind Button SHIM is some kind of eldritch horror that I’ve left in my wake. It makes no effort to differentiate between a “hold” and a “press”. Probably intentionally, but it’s very confusing to distill this behaviour into something that works. Button presses consist of three parts- the Press, the Hold and the Release. They always happen in this order, and you cannot easily make something triggered by the “Press” contingent on whether or not you do something during the “Ho…

---

_[View the full topic](https://forums.pimoroni.com/t/onoff-shim-no-led-power-on-but-does-not-shutdown/10221)._
