If you want to save some wear and tear on your 3DS' power button, just run this and it'll automatically turn off your 3DS. It uses ns:s::ShutdownAsync (the same function the Home Menu uses) to accomplish the feat. It works like
@AlbertoSONIC's Quick Reboot: if
any button is held, it'll just exit, so it can serve as yet another dummy application to exit Smash Bros., MH4U, or RetroArch (the cores that reboot the O3DS).
To use the regular version:
1. Just run the application (
if you're using the HB Launcher, you don't need the CIA files).
2. If
any button is held, the shutdown is cancelled.
3. If no button is held, the 3DS will shutdown.
To use the "-Always" version (
note that the always version ignores buttons; use this if you want to shutdown regardless):
1. Just run it, and the 3DS will shutdown (
if you're using the HB Launcher, you don't need the CIA files).
If your 3DS "hangs" while running this, you're probably not waiting long enough. It can take up to 14 seconds before the 3DS shuts down. The 3DS runs an OS in the background, and it needs that time to shut down cleanly and properly.
Banner and icon are by
@JJTapia19. Thanks to
@smealum and #3dsdev for adding info about ns:s::ShutdownAsync, and
@cpasjuste for the original shutdown code.
Source:
https://github.com/thedax/3DS_Quick_Shutdown