I am building a robot that uses an Intel NUC (running ArchLinux) as its main processing unit to run some machine learning and ROS programs scripts. One of the requirements for the robot is that it must fully turn off and on by a single main power switch. By doing so, it cuts power to the entire robot, including the NUC. I am worried that doing so will damage the NUC. Is there any safe way to shut down a computer without having to turn it off via software.
**One more requirement for the robot is that its electronics are sealed in in an airtight box, therefore the NUC cannot be accessed to turn off via the main power button.