Why does my HP laptop shut down everyday?

At least once a day I get a blue screen and it says that it is shutting down and collecting my information so I don't lose it and then it shows the percentage it is collecting and shuts down. Does anyone know what is happening here?
This site is dedicated to ios products. You would be better served by contacting HP to solve your issue.
We are an Apple products based forum. You would be better assisted in our sister forum Windows Central. Thanks!

Original thread: https://forums.imore.com/threads/why-does-my-hp-laptop-shut-down-everyday.379003/