My device is a rooted one.
I know that for rebooting device we use shell command "su -c reboot". In some other posts I see people posting shutdown command as "su -c shutdown", but this does not work and also there is a permission called ACTION_SHUTDOWN but those permissions are used for system applications.
Is there any command which shut downs the device?