iroylearner111 I am on budgie and it seems to work properly
What flavor are you using maybe thats it.
After searching net and reading it appears that uptime doesnt count suspend as shutting down.
(If what I read is true)
Ran across this if a person wanted to set it up and make it work it seems to list shutdowns.
https://github.com/rfmoz/tuptime
This is prob the easiest tho
last -x -F reboot
Each entry in the output shows two timestamps where the first timestamp is for the system startup and the second is for the system shutdown. (You can prob correlate and see if its shutting down)
Note Did learn something from this command tho (That I am having shutdown crashes)
Interesting.
Am always amused at linux commands seems there is always one for something if you just know it..lol
Note: Not sure how above command acts with suspend so one would have to see in suspend what it reports.
It appears if it doesnt shutdown will show still running so that should help
Hope some of this is of use.