When a video instance is displayed (firefox/chromium html5 video, openshot video editor etc.), the computer does not go to sleep under any circumstances, and it is even forced to stay until the battery drops down to 0.0% power.
This happens easily when the computer is not connected to aa power source and you leave it for a longer time, for example when you fall asleep or when you are unaware that some software or browser tab contains a video. Since dropping battery power to 0.0% is harmful to the hardware, I would like to have always the normal power management behavior for low critical power state.
How can I enforce Ubuntu going to sleep on critical power?
(This could also be a bug, but Ubuntu makes it hard to report a bug without knowing the package.)