Good morning everyone. I'm a electronics repair professional with years of experience on fixing broken electronics but never designed a circuit from scratch before. My boss tasked me to figure out a simple switch to turn on and off a device that is normally always on when not plugged up to a charger. It is a vibrating notification device, kind of like those things they give you at restaurants that let you know your table is ready, except used for a more industrial purpose and important that it stays on. I believe he is wanting just a simple toggle switch, but thing is that a regular toggle switch could be turned off without the person knowing by accident. So I decided to try my hand at a design that I've seen used regularly in things like cellphones and in the eevblog video . What I would like the switch to do, is be a pushbutton latching power switch that has a delay; so when pressed briefly, nothing happens. But when pressed for 3 to 5 seconds it toggles either on or off. It seems like i need to add a capacitor to slowly charge when the button is pressed that will eventually get to a high enough voltage to activate the gate of either the mosfet or transistor but that's where my lack of EE experience catches up with me. Any advice on where I should put a capacitor and how to properly calculate the RC time constant to get a good enough delay. Any advice would help a lot. This is kind of intimidating for me being one of the first "from scratch" designs I've tried doing.