https://tech.iprock.com/archives/11306
Link: Automate your Computer Power Off with KShutdown