Let me re-phase my observation again.
https://docs.microsoft.com/en-us/answers/questions/431350/surface-pro-x-shutdown-randomly-after-disable-hibe.html#answer-431370
Initially, the surface pro X tablet will hibernate after turning on for a few seconds, I was wondering if a sensor exists to turn off the device automatically. a previous reply below from Chamblis mentioned something about this sensor.
https://answers.microsoft.com/en-us/surface/forum/all/why-does-surface-randomly-go-onto-sleep-mode-while/2ff79410-e362-485b-8cc0-31dd2505133d
From this youtube link below, you can know what I was experiencing at that moment.
By referring to another thread below, I am able to stop the tablet from hibernate immediately (powercfg -h off), but it still randomly shutdown.
https://answers.microsoft.com/en-us/surface/forum/surfacepro-surfver_surfpro5-surftop_battery/surface-pro-latest-edition-turning-off-randomly/12e99f9b-f486-45d2-a121-f8b5eff832be
I use "powercfg /sleepstudy" command to record down what I see.
1. The shutdown is related with "Battery Count Changed" and "Kernel API", "AC/DC display burst" as the log file shows from sleepstudy.


status of Power source change/Battery count change is continuously swapped though the AC power is always on

Abnormal shutdown is reported after Battery County change.


Windows 10 Pro battery panel will sometimes show me that no battery is detected

After a few seconds, the battery status will be normal.

Still, I don't know why this device continuously shutdown by itself in a random base, if someone can help to have a look, it will be really appreciated.
I have the V2 log collector results presented here
https://1drv.ms/u/s!ArbVpeDKYDFtgoV7mb5EEZ13cfjKAQ?e=xBGk2Z

