Via the HEX ezCAN (BMW)
MotorcycleThe HEX ezCAN provides switched outputs that turn off with the ignition – the vehicle battery is never drained. The Pi gets its own channel with 12 V and a 5 A fuse directly to the UPS; camera chargers and battery packs are connected to the USB-C sockets in the tank bag and at the rear. That way everything charges during the day for the evening, and replugging a charger doesn't disturb the Pi.
Keep the run-on time in the ezCAN short (about 10 s) – the UPS takes over immediately when power is cut.