Previously when I wouldn’t shut down my mac or just close the lid; and come back even after a day and lift the lid; it would straight away show the lock screen.
Now even if lid is down for like 5-10 min; it shuts down entirely. Also; when the lid is up but is left unattended for 5-10 sec; mac switches off and shuts down.
This is irritating and wastes a good chunk of time. This problem just came. Can anybody please provide me a solution.
**Addition 1 **
I am using Mac M1 Pro.
This happens both time when the cable is plugged in and also while on battery. This problem arose just yesternight and not before that ever.
Addition 2
The log to pmset -g log was actually really huge so I am only posting some relevant information from it.
Below is the output to
pmset -g
pmset -g assertions
The below image is the ouput to
pmset -g log | grep -E "(Sleep|Wake|DarkWake)" | tail -20
pmset -g log | grep -i "fail\|error\|timeout" | tail -10
Addition 3
Below is the response to the following cmd: log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h








