Edit : For clarification, the issue is EOS not shutting down (both restart and shut down stay hanging with a black screen and no possible interaction). Following is the original question with the hardware details :
I have EOS installed on a huawei matebook D (Ryzen 2500U CPU, no graphics card), the OS is up to date. I have noticed the battery drains to zero in a day or so when the laptop is not in use. This doesn't happen with Windows or Solus. This is probably damaging the battery and I hope somebody has a solution.
The battery life is actually ok when in use since I installed tlp with the default configuration (the displayed battery life is 9 hours when in light usage, same as Windows 10). Has anyone encountered something similar and come up with a solution?
Edit : I suspect this is because elementary doesn't shut down properly on my computer most of the time, the screen is black but still lit and the computer is unresponsive and must be shut down with the power button. Edit2 : I added the "nomodeset" to the grub options and shutdown/reboot works fine now. However I can't resume from hibernation anymore : I get a black screen and I can't even open a tty session.