When MacBook runs out of battery after restart message problem detected occurs For some months I have the following problem: After a restart (when my MacBook Pro 2017) runs out of battery, and after having logged in, a message that the computer was shut down unexpectedly occurs. Is this behavior normal?

Does anyone has a similar problem? Do you need more information regarding this problem from me?

With best greetings,
Leon
I think it's normal, because before exhausting the battery completely (around 3-5%) it goes into a sleep mode. But if it is completely exhausted, the message it mentions is displayed and allows you to restore what you had previously opened or restart the startup.