How to add a power swith for on/off to nanopi-m1?

I like to use nanopi-m1 in my mobile robot, and like to use a power bank
battery charger as supply(nanopi will work by mini-USB port). but I don't
know how to add a power switch that user can turn oon or off the robot?

Hello, we have not done this, you need to study the hardware.