# Badger 2040 W - alternative key to return to menu

**URL:** <https://forums.pimoroni.com/t/badger-2040-w-alternative-key-to-return-to-menu/21688>\
**Category:** Support\
**Created:** [March 12, 2023, 2:08pm UTC](https://forums.pimoroni.com/t/badger-2040-w-alternative-key-to-return-to-menu/21688 "2023-03-12T14:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bjoern](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Bjoern](https://forums.pimoroni.com/u/Bjoern)\
**Post date:** [March 12, 2023, 2:08pm UTC](https://forums.pimoroni.com/t/badger-2040-w-alternative-key-to-return-to-menu/21688/1 "2023-03-12T14:08:40Z")

</div>

Hello,

I find the A+C combination a little unreliable. Given that (e.g.) key A doesn’t do much in the badge or QR codes, what would I need to do to set key A to return to the menu? I.e., suppose qrgen.py is running - how do I set badger2040.BUTTON\_A to return to the menu?

I tried to add `badger2040.pressed_to_wake(badger2040.BUTTON_A)` to `qrgen.py` and `launcher.py`, but didn’t work.

Could somebody let me know how to do this?

---

<div class="post-metadata">

**Author:** ![Bjoern](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Bjoern](https://forums.pimoroni.com/u/Bjoern)\
**Post date:** [March 15, 2023, 4:22pm UTC](https://forums.pimoroni.com/t/badger-2040-w-alternative-key-to-return-to-menu/21688/2 "2023-03-15T16:22:55Z")

</div>

It turns out that the A+C combination is only unreliable on battery power. See referenced issue. Also raised here: [Erratic performance of badger OS when using battery · Issue #6 · pimoroni/badger2040 · GitHub](https://github.com/pimoroni/badger2040/issues/6)
