Usually, to power down an Android device, you do this via the power button of course.
You can also do adb shell
and reboot -p
.
But in Android Things, I don't see a way to shut down the device.
If it is no problem, I'd love to just cut the power of my Raspberry Pi for this, but is that acceptable? Could it corrupt the SD-card?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…