An arduino reads MPU6050 sensor data, looks for a transition from flat to straight up then triggers a sequence on some WS2812B "neopixel" lights. Powered by a salvaged 18650 Li-ion battery fed into an XL6009 buck-boost convertor. The battery gets charged via usb with a TP4056 charging board, accessible after unscrewing the pommel.
The XL6009 output is also routed back to a female USB-A socket for on the go cellphone charging, but I've found that the power fails while both the arduino setup and my cellphone are connected. I'm probably over-drawing and will need a toggle of some kind to cut power to the arduino/neopixels when a USB device is connected