I am building a WiFI solution for a DSLR camera; so after connecting you can view the image via a webbrowser.
For this I gutted a so called battery 'grip', which has buttons with which normally you can take a picture, use the scroll button for ISO etc. See picture

The buttons arre connected to a RPI and I use these to control the image shown in the browser via websockets, this works perfectly.
THe problem is: i want the hard on/off switch (so it is in ON OR OFF postion) to shutdown and startup the RPI.
I have a 3cell li-ion battery (15000mah) connected to a chinese buck converter with 5v in, 5v out and batt out.
So my first idead was: 5v out -> switch -> diode -> capacitor -> rpi.

With this i should get a reading before the diode to GPIO pin to see if the switch is toggled, BUT the diode gives a voltage drop, so this does not work.
There are a lot of examples, but they only use momentary switches AND/OR relays, which i don;t wan't because of the current draw.
So have any one of you any idea on how to solve this?
Thanks in advance!!