In case the problem should return you have two options to collect a logcat.
- https://doc.e.foundation/support-topics/create-a-log.html
- [HOWTO] Create a log (a bug report) easily without computer
It is quite a good idea to practice collecting a log when there is no problem.
Should you chose to use the PC method, the output of one simple command
adb logcat -d > logcat.txt
will be very long.
For your purposes a suggested method would be to shutdown the phone.
Start the phone and find the earliest point you can launch the logcat.
Turn to the phone and do a task like start Files app and select a folder.
A moment after the Files operation has completed fully, close the logcat on the PC with ^C
.
Use the help below to start to learn to read your output, search for E for Error, when you know there is no fault you will start to learn the sequence of an “all clear log”.
The larger part of the log will be the awakening. Try to get the hang of the time stamps to help you find any “event” that was recorded, like your opening of Files app.
Help
adb logcat --help
and https://developer.android.com/tools/logcat